1. 05 Jul, 2021 1 commit
  2. 06 May, 2021 1 commit
    • boklm's avatar
      Bug 40025: Use hard link to prepare input_files · c700693b
      boklm authored
      When using remote_exec, we collect input_files in a temporary directory,
      before copying them to the "remote" (for example a container). As we
      don't normally modify the files inside this temporary directory, it is
      safe to use hard link rather than copies of the files.
      
      When remote_exec is not used, we don't use hard links by default, but
      link_input_files can be set to 1 to use hard links.
      c700693b
  3. 27 Apr, 2021 2 commits
  4. 26 Apr, 2021 1 commit
  5. 23 Apr, 2021 2 commits
  6. 13 Apr, 2021 1 commit
  7. 08 Apr, 2021 1 commit
  8. 22 Mar, 2021 1 commit
    • boklm's avatar
      Bug 33991: Remove unused features · 777bab01
      boklm authored
      For simplification, we remove some unused features. Those features can
      still be reimplemented externally if needed.
      
      For example, the "rbm rpm" command can be replaced with
      "rbm build --step rpm" and a definition of an rpm step in rbm.conf.
      
      We remove the following options:
       - version_command
       - rpm
       - rpmbuild
       - srpm
       - rpmspec
       - rpm_rel
       - debian_create
       - deb
       - deb_src
       - use_pbuilder
       - debian_revision
      
      And the following commands:
       - rpmspec
       - rpm
       - srpm
       - deb-src
       - deb
       - pkg
       - publish
      777bab01
  9. 17 Mar, 2021 1 commit
  10. 02 Mar, 2021 1 commit
  11. 07 Jan, 2021 1 commit
  12. 05 Jan, 2021 2 commits
  13. 28 Oct, 2020 1 commit
  14. 14 Sep, 2020 1 commit
  15. 11 Sep, 2020 2 commits
  16. 10 Sep, 2020 1 commit
    • boklm's avatar
      Bug 33289: Optimize the get_target function · dab4ae35
      boklm authored
      We also change the behavior of the function: we stop looking after the
      first definition of a target. This means for example that if a target is
      defined as an array in rbm.conf, and also defined as a hash in the
      project's config, then the definition from rbm.conf will be ignored.
      dab4ae35
  17. 22 Jun, 2020 1 commit
  18. 29 May, 2020 1 commit
  19. 27 Apr, 2020 1 commit
  20. 24 Apr, 2020 1 commit
    • boklm's avatar
      Bug 33990: Initialize step in non-build commands · 18b396fb
      boklm authored
      When using the build command, step gets initialized to 'build'. However
      this was not done in some of the other non-build commands where the
      value of step was left to rbm_init.
      18b396fb
  21. 12 Feb, 2020 2 commits
  22. 30 Nov, 2019 1 commit
  23. 27 Nov, 2019 2 commits
    • boklm's avatar
      Bug 27265: fix output_dir value in sub-projects · 03d53fcb
      boklm authored
      In the build_pkg call in input_files, we were setting the output_dir
      option to the project's directory, causing this directory to be
      incorrectly used as the output directory in some cases. But there is no
      need to set output_dir at this point, so we can just remove it.
      
      We also introduce a new feature allowing to set options for the current
      project but not for the child projects listed in `input_files`. By
      default the options are applied recursively to all projects. If some
      options are defined under `norec/` then they are only applied on the
      current project.
      
      We use this feature in two places where we were setting the output_dir,
      which removes the need to reset it in two places.
      
      At the same time, we fix the `urlget()` call in input_files which was
      incorrectly ignoring options.
      03d53fcb
    • boklm's avatar
      ef4df05a
  24. 10 Sep, 2019 1 commit
  25. 24 May, 2019 1 commit
  26. 04 Apr, 2019 1 commit
  27. 11 Mar, 2019 1 commit
    • boklm's avatar
      Bug 29572: Update the test before running git checkout --detach · 70d1ff3e
      boklm authored
      The reason we don't run |git checkout --detach| in all cases is that it
      fails when we cloned a repository without a master branch. To avoid
      running it in this case, we were checking if HEAD is pointing to a
      branch which has a corresponding file in the .git directory.
      
      However it seems there are other cases where HEAD is pointing to a
      branch which does not have a corresponding file in the .git directory.
      Instead we now check that |git rev-parse --verify HEAD| does not return
      an error, in which case we assume that |git checkout --detach| will not
      produce an error too.
      70d1ff3e
  28. 29 Jan, 2019 1 commit
  29. 26 Nov, 2018 1 commit
    • boklm's avatar
      Bug 28466: fix issue with git submodule URL changes · eb500fa9
      boklm authored
      We replace a call to:
        git submodule update --init
      with calls to:
        git submodule init
        git submodule sync
        git submodule update
      
      The call to `git submodule sync` is solving the issue that could occur
      when a submodule URL is changing.
      eb500fa9
  30. 09 Apr, 2018 1 commit
    • boklm's avatar
      Bug 25746: fix git_submodule option with submodule in subdirectory · 8adbc46d
      boklm authored
      To create an archive containing all submodules, we were creating a
      temporary archive of each submodule before appending them to the main
      archive. We were using the submodule path in the temporary archive
      filename, which was failing if the submodule is in a subdirectory.
      To avoid that, we are removing the path from the temporary archive's
      filename and directly appending it to the main archive.
      8adbc46d
  31. 07 Mar, 2018 1 commit
    • boklm's avatar
      Bug 25435: use --no-auto-check-trustdb to avoid modifying gpg keyring files · db41d8e7
      boklm authored
      By default gpg will from time to time update its trust database. When
      this happens it will also modify the keyring files to add some trust
      information. To avoid this we add the --no-auto-check-trustdb option.
      
      As we don't use the Web of Trust when we use a keyring file, we also
      disable it using `--trust-model always`.
      db41d8e7
  32. 05 Mar, 2018 1 commit
  33. 02 Feb, 2018 1 commit
  34. 24 Jan, 2018 1 commit