Community mailing list archives
Re: Buildout: SHA vs TAGby
Hi Lorenzo. If we had one module per repository, we could update the version number when we make important changes, and tag the repo with the version number every time. We can't, since the repo contains many modules and we don't know what to tag and when. So we are stuck with commit hashes. If your branch is rebased, the old hash should still be available until it is garbage-collected (probably a month or so, i'm not sure). So it will work for a while, and then at some point disappear. If you want to get the latest commit of an unmerged pull request, but still pin the hash in the main repository, since version 1.9 of the recipe you can add a line like merges = git origin parts/department pull/42/head in your buildout. This takes advantage of the fact that with github, you can pull the branch associated to pull request 42 with "git pull origin pull/42/head" without knowing the name of the proposed remote and branch. This will not pin the revision in the pull request, but it might be enough if the PR is not active and is just waiting a merge. On Tue, May 26, 2015 at 10:30 AM, Lorenzo Battistini <email@example.com> wrote: > Does anyone have any suggestion about how to solve this?