Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upqubes-linux-template-builder verbosity disabling bug #1100
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Aug 4, 2015
Member
Feel free to remove setVerboseMode, IMO we have better things to do than thinking
how to fix it. Regarding getXtrace and setXtrace in umount_kill - I
think it's a good idea to keep them (maybe just an inline if you want) -
umount_kill is called also after failed build and is pretty verbose -
will make much harder to find the actual error message.
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
|
Feel free to remove Best Regards, |
added a commit
to adrelanos/qubes-builder-debian
that referenced
this issue
Aug 4, 2015
adrelanos
referenced this issue
in marmarek/qubes-builder-debian
Aug 4, 2015
Merged
remove call of function setVerboseMode and variable XTRACE #15
added a commit
to adrelanos/qubes-builder-fedora
that referenced
this issue
Aug 4, 2015
added a commit
to adrelanos/qubes-linux-template-builder
that referenced
this issue
Aug 4, 2015
adrelanos
referenced this issue
in marmarek/old-qubes-linux-template-builder
Aug 4, 2015
Merged
fixed 'verbosity disabling bug' #8
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Pull requests are attached above. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Aug 4, 2015
Member
adrelanos/qubes-linux-template-builder@e84645e#commitcomment-12529288
Actual disabling xtrace got lost here...
Indeed. If it's otherwise mergeable, could you please merge it and add the missing set +x?
|
adrelanos/qubes-linux-template-builder@e84645e#commitcomment-12529288
Indeed. If it's otherwise mergeable, could you please merge it and add the missing |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Aug 4, 2015
Member
On Tue, Aug 04, 2015 at 04:24:09PM -0700, Patrick Schleizer wrote:
adrelanos/qubes-linux-template-builder@e84645e#commitcomment-12529288
Actual disabling xtrace got lost here...
Indeed. If it's otherwise mergeable, could you please merge it and add the missing
set +x?
Sure.
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
|
On Tue, Aug 04, 2015 at 04:24:09PM -0700, Patrick Schleizer wrote:
Sure. Best Regards, |
added a commit
to marmarek/old-qubes-linux-template-builder
that referenced
this issue
Aug 4, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Aug 5, 2015
Member
Since my pull request was merged. And thanks to marek for adding the missing set +x:
marmarek/qubes-linux-template-builder@0b8d27c
Done.
|
Since my pull request was merged. And thanks to marek for adding the missing Done. |
adrelanos commentedAug 4, 2015
There is a problem with setVerboseMode.
When xtrace is already set, then setVerboseMode actually disabled xtrace. (Because it's not cached in variable
XTRACE.) This could be reproduced bysourceingfunctions.shwhileset -xis already set.setVerboseModeis only used in two places:getXtraceandsetXtraceis just used once in functionumount_kill. Would it really be that verbose to justify going in circles just for temporarily disabling xtrace?Can we remove whole
setVerboseMode,getXtraceandsetXtrace? I could provide a pull request for it. Or can you fix it?