Summary: | girar-nmu-helper-clone-and-setup-build-commit configures fetch differently from the default result of "git remote add" | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Ivan Zakharyaschev <imz> |
Component: | girar-nmu | Assignee: | viy <viy> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P3 | CC: | viy |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux | ||
Bug Depends on: | 31479 | ||
Bug Blocks: |
Description
Ivan Zakharyaschev
2015-11-13 12:06:46 MSK
Suggested fix: http://git.altlinux.org/people/imz/packages/girar-nmu.git?p=girar-nmu.git;a=commitdiff;h=aeac03feefc254373df271a6a9b36ba22a1aa670 --- a/girar-nmu-helper-clone-and-setup-build-commit +++ b/girar-nmu-helper-clone-and-setup-build-commit @@ -45,7 +45,7 @@ girar-clone-build-commit \ pushd "$localgitdir" || exit -1 git --git-dir=".git" config 'remote.origin.url' "git.alt:packages/$name" git --git-dir=".git" config 'remote.origin.push' "refs/heads/*:refs/heads/*" -git --git-dir=".git" config 'remote.origin.fetch' "refs/heads/*:refs/remotes/origin/heads/*" +git --git-dir=".git" config 'remote.origin.fetch' "+refs/heads/*:refs/remotes/origin/*" gear-rules-restore-branches : <<'__EOF__' mitharen@ has reviewed and approved this fix (in mithraen-build-utiils) in https://bugzilla.altlinux.org/show_bug.cgi?id=31479 , so I go ahead and build a new release. girar-nmu-1.27-alt2 -> sisyphus: * Fri Nov 13 2015 Ivan Zakharyaschev <imz@altlinux> 1.27-alt2 - girar-nmu-helper-clone-and-setup-build-commit: configure the remote in a standard way (like "git remote add" does; ALT#31482). - minor tweaks in the code: - factored out git://git.altlinux.org/gears and git://git.altlinux.org/srpms as variables (to become environment parameters in future). - typo in documentation. Спасибо! Сорри, что вовремя не среагировал, после обеда отлучился по делам. |