Summary: | "tag" option doesn't work | ||
---|---|---|---|
Product: | [Developer tools] kdesrc-build | Reporter: | David Faure <faure> |
Component: | general | Assignee: | Michael Pyne <mpyne> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | Git | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/sdk/kdesrc-build/-/commit/803644c42e94aebbd2c87b075f61e8be10f12f4a | Version Fixed In: | 1.16 |
Sentry Crash Report: |
Description
David Faure
2012-10-16 14:39:55 UTC
Yes, in fact I thought this had been logged already (I "rediscovered" it when working on the HTTP proxy support by request). Git commit e3c41dafab0796cbf441c5dd52306db8e614dbf1 by Michael Pyne. Committed on 21/10/2012 at 18:31. Pushed by mpyne into branch 'master'. Use 'tag' option when cloning git modules. This partially implements bug 308493. To fully implement it will be required to handle the case of an already-checked-out module (though prepatory work is already complete). M +3 -0 doc/index.docbook M +8 -3 kdesrc-build http://commits.kde.org/kdesrc-build/e3c41dafab0796cbf441c5dd52306db8e614dbf1 Git commit c22b7b0653ae10fdb04b9991720ac5501c0b79c9 by Michael Pyne. Committed on 22/10/2012 at 05:27. Pushed by mpyne into branch 'master'. Implement tag and revision options for git modules. This makes the 'tag' option allow for checking out a given git tag for a module (which is enforced by using refs/tags/$foo when passing to git). Additionally, the 'revision' option has been adopted for git modules as well, to allow for checking out any other git "tree-ish" that git supports (i.e. anything supported by 'git checkout $foo'). Both options should leave the source directory in a detached HEAD state, although kdesrc-build will adapt as necessary with each source update. The auto-stashing is still attempted for both types, and a failure to apply an auto-stashed change will cause the module to fail to build. Ensure you're in a clean working directory if you want to avoid issues due to this. The test suite continues to pass (not that it's very extensive). FIXED-IN:1.16 M +9 -3 doc/index.docbook M +110 -35 kdesrc-build http://commits.kde.org/kdesrc-build/c22b7b0653ae10fdb04b9991720ac5501c0b79c9 Git commit 85d31758599fef91532a3a84f50abafcbb67fe1d by Michael Pyne. Committed on 21/10/2012 at 16:40. Pushed by ashark into branch 'docbook_historied_per_file'. Use 'tag' option when cloning git modules. This partially implements bug 308493. To fully implement it will be required to handle the case of an already-checked-out module (though prepatory work is already complete). Original commit: e3c41daf https://invent.kde.org/sdk/kdesrc-build/-/commit/e3c41dafab0796cbf441c5dd52306db8e614dbf1 M +3 -0 doc/kdesrc-buildrc/conf-options-table.docbook https://invent.kde.org/sdk/kdesrc-build/-/commit/85d31758599fef91532a3a84f50abafcbb67fe1d Git commit 803644c42e94aebbd2c87b075f61e8be10f12f4a by Michael Pyne. Committed on 22/10/2012 at 03:44. Pushed by ashark into branch 'docbook_historied_per_file'. Implement tag and revision options for git modules. This makes the 'tag' option allow for checking out a given git tag for a module (which is enforced by using refs/tags/$foo when passing to git). Additionally, the 'revision' option has been adopted for git modules as well, to allow for checking out any other git "tree-ish" that git supports (i.e. anything supported by 'git checkout $foo'). Both options should leave the source directory in a detached HEAD state, although kdesrc-build will adapt as necessary with each source update. The auto-stashing is still attempted for both types, and a failure to apply an auto-stashed change will cause the module to fail to build. Ensure you're in a clean working directory if you want to avoid issues due to this. The test suite continues to pass (not that it's very extensive). FIXED-IN:1.16 Original commit: c22b7b06 https://invent.kde.org/sdk/kdesrc-build/-/commit/c22b7b0653ae10fdb04b9991720ac5501c0b79c9 M +9 -3 doc/kdesrc-buildrc/conf-options-table.docbook https://invent.kde.org/sdk/kdesrc-build/-/commit/803644c42e94aebbd2c87b075f61e8be10f12f4a |