H stage hooks are not executed in alphanumeric sorted order
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBuilderJenkins |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
'H' hook scripts are executed in an undefined order. os.listdir() does not return a sorted list.
Example:
DEBUG:pbuilderj
INFO:pbuilderje
DEBUG:pbuilderj
+ '[' -f autogen.sh ']'
+ sed -i 's,^\(#
DEBUG:pbuilderj
DEBUG:H40native
INFO:H40native_
DEBUG:pbuilderj
++ awk '/^revno/ {print $2}'
++ bzr log -c -1
+ trunk_rev=3375
++ awk '/^revno/ {print $2}'
++ bzr log -c -1 lp:ubuntu/compiz
Most recent Ubuntu version: 1:0.9.8.0-0ubuntu1
Packaging branch status: CURRENT
+ packaging_rev=3297
++ sed -e 's/\(.*
++ awk '/^Version/ {print $2}'
++ dpkg-parsechangelog
+ version=
+ version=
++ awk '/^Source/ {print $2}'
++ dpkg-parsechangelog
+ sourcename=compiz
+ dch -v 1:0.9.8.
INFO:pbuilderje
Related branches
- jenkins (community): Needs Fixing (continuous-integration)
- Sergio Schvezov: Approve
-
Diff: 50 lines (+22/-1)2 files modifiedpbuilderjenkins/pbuilderjenkins.py (+1/-1)
tests/test_hooks_setup.py (+21/-0)
- Sergio Schvezov: Approve
- jenkins (community): Approve (continuous-integration)
- Martin Mrazik: Pending requested
-
Diff: 25 lines (+14/-5)1 file modifieddebian/changelog (+14/-5)
Changed in pbuilderjenkins: | |
status: | New → Fix Committed |
Changed in pbuilderjenkins: | |
status: | Fix Committed → Fix Released |