Debian Patches

Status for git-subrepo/0.4.9-2

Patch Description Author Forwarded Bugs Origin Last update
0001-Fixed-failed-test-in-0.4.9.patch Fixed failed test in 0.4.9
This is already fixed upstream after 0.4.9 (so not forwarding):
- Fix subrepo init failing if defaultbranch not set (b00d41b)
- Support older versions of git for subrep init (57de7d6)

This patch is going to be removed in next upstream update.
=?UTF-8?q?Samo=20Poga=C4=8Dnik?= <samo_pogacnik@t-2.net> no 2024-10-20
0002-Fixed-bash-completion-integration-with-git.patch Fixed bash-completion integration with git
Using the 'make install' method, the default 'git-core' location
of git-subrepo executable does not automatically integrate git-subrepo
into git's own bash-completion. This change moves git-subrepo executable
with support scripts into /usr/share/git-subrepo. Then a symlink to the
'git-subrepo' executable script has been added into /usr/bin to achieve
recognition of the 'git subrepo' sub-command under the git bash-completion
(through git's: --list-cmds=...,other,...).

Additional adjustment of Makefile and git-subrepo script were made to
make Makefile more generic and to make DESTDIR usage together with
potentially overridden install vars more manageable.
By overriding INSTALL_LIB and INSTALL_EXT to the same path, we achieve
removal of the unnecessary 'git-subrepo.d' subdirectory inside the
/usr/share/git-subrepo path.

Note that non 'make install' ways of installation should work as
before but without the need for the GIT_SUBREPO_ROOT variable.
Potentially, if 'realpath' addition in git-sibrepo change isn't available
on all target systems, readlink could still be used instead.
=?UTF-8?q?Samo=20Poga=C4=8Dnik?= <samo_pogacnik@t-2.net> yes 2024-10-19
0003-Define-project-wide-GIT-setup-for-all-tests.patch Define project-wide GIT setup for all tests
Local git config 'autocrlf' has been removed.
Run tests with fixed locale.
Disabling system/global git configs and setting default project-wide GIT
configuration for the duration of running tests. Temporary GIT
configuration is set inside git-subrepo project-top-dir.
Also, initialize own git repo, if project isn't a git clone and ensure
that the project is not in a GIT detached HEAD state.
=?UTF-8?q?Samo=20Poga=C4=8Dnik?= <samo_pogacnik@t-2.net> yes 2024-10-19
0004-Generate-test-git-repos-instead-of-committed-binarie.patch Generate test git-repos instead of committed binaries
Instead of having test repos: foo, bar and init committed in a
binary form, generate them using the test/gen* scripts before
starting the first 'test' session. Running 'make clean' removes
the generated test repos.
The original 'binary' test repos are being handled via d/rules
while still existing upstrem.
=?UTF-8?q?Samo=20Poga=C4=8Dnik?= <samo_pogacnik@t-2.net> yes 2024-10-19
0005-Fixing-shellcheck-errors-found-during-docker-test.patch Fixing shellcheck errors found during docker-test =?UTF-8?q?Samo=20Poga=C4=8Dnik?= <samo_pogacnik@t-2.net> yes 2024-11-17
0006-Fixing-tests-running-on-macos-github.patch Fixing tests running on macos (github)
Using 'readlink -f' instead of 'realpath'.
Added pure shell function to get relative path between two dirs.
Set LC_ALL only for Linux.
Echo 'uname' on 'make test'
=?UTF-8?q?Samo=20Poga=C4=8Dnik?= <samo_pogacnik@t-2.net> yes 2024-11-24
0007-Set-project-wide-ff_only-git-config-for-pull-and-mer.patch Set project-wide ff_only git-config for pull and merge =?UTF-8?q?Samo=20Poga=C4=8Dnik?= <samo_pogacnik@t-2.net> yes 2024-11-23
0008-Fixed-git-subrepo-and-tests-if-set-ff_only.patch Fixed git-subrepo and tests if set ff_only
Some tests failed, when ff_only is set in users git configuration;
like:
...
test/branch-rev-list-one-path.t .... Died at line 23 in main of test/branch-rev-list-one-path.t
test/branch-rev-list-one-path.t .... No subtests run
test/branch-rev-list.t ............. Died at line 26 in main of test/branch-rev-list.t
test/branch-rev-list.t ............. No subtests run
...

and git configuration is set like:
$ git config --global pull.ff only
$ git config --global merge.ff only
=?UTF-8?q?Samo=20Poga=C4=8Dnik?= <samo_pogacnik@t-2.net> yes 2024-11-16

All known versions for source package 'git-subrepo'

Links