[yast-devel] jenkins back and removed broken/* branches
Hi, after some debugging I found root issue of jenkins constant rebuilding. It is probably caused by update of some plugin, but it run `git ls-remote <url> master` where master is specified branch. Problem is that it matched also broken/master which cause if it is listed before master, that it is compared to wrong hash. Simple work-around is to remove all broken branches which we already have in plan, just noone do it. The event force me to do it. So welcome to yast git without broken/* branches. Josef -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On 11/19/2013 05:08 PM, Josef Reidinger wrote:
Hi, after some debugging I found root issue of jenkins constant rebuilding. It is probably caused by update of some plugin, but it run `git ls-remote <url> master` where master is specified branch. Problem is that it matched also broken/master which cause if it is listed before master, that it is compared to wrong hash. Simple work-around is to remove all broken branches which we already have in plan, just noone do it. The event force me to do it. So welcome to yast git without broken/* branches.
Thanks for debugging. BTW, I thought that Martin had a script for removing all the "broken" branches and actually ... did remove them? Lukas -- Lukas Ocilka, Cloud & Systems Management Department SUSE LINUX s.r.o., Praha -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On Tue, 19 Nov 2013 17:10:50 +0100
Lukas Ocilka
On 11/19/2013 05:08 PM, Josef Reidinger wrote:
Hi, after some debugging I found root issue of jenkins constant rebuilding. It is probably caused by update of some plugin, but it run `git ls-remote <url> master` where master is specified branch. Problem is that it matched also broken/master which cause if it is listed before master, that it is compared to wrong hash. Simple work-around is to remove all broken branches which we already have in plan, just noone do it. The event force me to do it. So welcome to yast git without broken/* branches.
Thanks for debugging.
BTW, I thought that Martin had a script for removing all the "broken" branches and actually ... did remove them?
Lukas
I write my own version as it is quite easy task: # run on clear checkout for j in *; do echo $j cd $j for i in `git branch -r | grep broken | sed "s:origin/::"; do git push origin :$i done cd - done Josef -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On Tuesday 19 November 2013 17:18:28 Josef Reidinger wrote:
BTW, I thought that Martin had a script for removing all the "broken" branches and actually ... did remove them?
I write my own version as it is quite easy task: # run on clear checkout for j in *; do echo $j cd $j for i in `git branch -r | grep broken | sed "s:origin/::"; do git push origin :$i done cd - done
Please don't forget to please^Wforce everybody to run
git fetch --prune
on their local repos/clones. Otherwise the broken branches may reappear.
Ciao,
Daniel
--
J. Daniel Schmidt
On Mon, 25 Nov 2013 15:25:29 +0100
"J. Daniel Schmidt"
On Tuesday 19 November 2013 17:18:28 Josef Reidinger wrote:
BTW, I thought that Martin had a script for removing all the "broken" branches and actually ... did remove them?
I write my own version as it is quite easy task: # run on clear checkout for j in *; do echo $j cd $j for i in `git branch -r | grep broken | sed "s:origin/::"; do git push origin :$i done cd - done
Please don't forget to please^Wforce everybody to run git fetch --prune on their local repos/clones. Otherwise the broken branches may reappear.
Well, it depends on your git setup. Usually branches that are only locally it is not automatically pushed. Github have activity page, so I will complain to person who reintroduce it :) Josef
Ciao, Daniel
-- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (3)
-
J. Daniel Schmidt
-
Josef Reidinger
-
Lukas Ocilka