the currently used branchspec is not working for me at least for branches other than master. I'm using version 0.14 of autojobs where the shortref is used to create the "branches to build" as well as the local branch name. Sometimes I don't get the latest changes from Git or an infinite loop where the job runs over and over again. Furthermore, triggering the build using the Git hook is not working because it does not find the jobs of the given branches.
In the file git.py there is already a todo on "Set branch" with an alternative implementation using remote and shortref. This works perfectly for me.
I don't see any negative impact using the commented out alternative so I'm not sure why I have to patch this part in every new version and why it is not the default.
Hi,
the currently used branchspec is not working for me at least for branches other than master. I'm using version 0.14 of autojobs where the shortref is used to create the "branches to build" as well as the local branch name. Sometimes I don't get the latest changes from Git or an infinite loop where the job runs over and over again. Furthermore, triggering the build using the Git hook is not working because it does not find the jobs of the given branches.
In the file git.py there is already a todo on "Set branch" with an alternative implementation using remote and shortref. This works perfectly for me.
I don't see any negative impact using the commented out alternative so I'm not sure why I have to patch this part in every new version and why it is not the default.
Kind regards, aklemp