simon-git: bob (master): Simon Tatham
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Thu Jun 11 18:58:28 BST 2015
TL;DR:
3c6f2e1 Be more forgiving of varying tar trailers.
012a45d Change semantics of removing the previous build directory.
6939836 Default to building in the cwd.
Repository: git://git.tartarus.org/simon/bob.git
On the web: http://tartarus.org/~simon-git/gitweb/?p=bob.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2015-06-11 18:58:28
commit 3c6f2e13e0aeb19cafb468d3e8ead627bba60e20
web diff http://tartarus.org/~simon-git/gitweb/?p=bob.git;a=commitdiff;h=3c6f2e13e0aeb19cafb468d3e8ead627bba60e20;hp=9a78323584eb1dd78c4d3d20d63bbf7dcf6551c4
Author: Simon Tatham <anakin at pobox.com>
Date: Thu Mar 5 18:53:09 2015 +0000
Be more forgiving of varying tar trailers.
I had a case this week in which two supposedly identical builds
generated very different CHMs (not sure why), which bob-deliver
ignores. But a side effect of the CHMs differing in length was that
when tar padded out the archive to a multiple of some large block
size, it put different numbers of zero bytes on the ends of the two
archives, failing bob-deliver's check on the tar trailer.
Fixed by arranging that tar trailers consisting of only zero bytes are
considered as alike as they need to be.
bob-deliver | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
commit 012a45d3818449ff03d643f228a27e876aad05e5
web diff http://tartarus.org/~simon-git/gitweb/?p=bob.git;a=commitdiff;h=012a45d3818449ff03d643f228a27e876aad05e5;hp=3c6f2e13e0aeb19cafb468d3e8ead627bba60e20
Author: Simon Tatham <anakin at pobox.com>
Date: Thu Jun 11 18:54:31 2015 +0100
Change semantics of removing the previous build directory.
I've decided that my near-universal habit of typing 'bob -F .' all the
time is ridiculous, and that the most common command line ought to be
shorter than that. The requirement for -F before bob will overwrite an
existing build directory comes from the idea that builds are
_precious_ - but the precious ones are one-offs like releases, which
you do with a special command line anyway.
So I've gone for the following compromise: if you use '-o' to specify
an output directory, then bob will (as before) not overwrite an
existing directory of that name unless you also say -F. But if you
don't use -o, so that bob goes with the default build.out, then it
_will_ overwrite freely. So just 'bob .' will work.
bob | 9 ++++++---
bob.but | 34 +++++++++++++++++++++++++++-------
2 files changed, 33 insertions(+), 10 deletions(-)
commit 6939836ff51eea41fd05593f3cb4387d5c2a90c1
web diff http://tartarus.org/~simon-git/gitweb/?p=bob.git;a=commitdiff;h=6939836ff51eea41fd05593f3cb4387d5c2a90c1;hp=012a45d3818449ff03d643f228a27e876aad05e5
Author: Simon Tatham <anakin at pobox.com>
Date: Thu Jun 11 18:56:27 2015 +0100
Default to building in the cwd.
Now the simplest command is not even 'bob .': it's just 'bob'. That's
more like the brevity I wanted!
bob | 33 ++++++++++++++++++---------------
bob.but | 19 ++++++++++---------
2 files changed, 28 insertions(+), 24 deletions(-)
More information about the tartarus-commits
mailing list