Commit Graph

21 Commits

Author SHA1 Message Date
Tianon Gravi 36a62ca339 Update git-set-mtimes script to also set directory timestamps and to use the "author date" instead of the "committer date" since that's what's shown in a bare "git log" (so it ends up being less surprising)
This obviously deprecates any need for the old "git-set-dir-times" script, so it's also removed here.
2014-09-30 16:39:12 -06:00
Tianon Gravi 5a905c2eba Replace the complicated `git-set-file-times` from the Git wiki with a much simpler and more correct bash script 2014-09-30 16:39:12 -06:00
Tianon Gravi a723e48011 Add more shiny logging 2014-09-30 16:39:12 -06:00
Joe Ferguson a1a99f9ee2 migrate the extra options from build.sh 2014-09-30 16:39:12 -06:00
Tianon Gravi 6440dd6fae Disable "gc.auto" for all our cloned repos to help ensure dangling commits don't get reclaimed (since we might need them later) 2014-09-30 16:39:12 -06:00
Tianon Gravi 845488129d Tweak build/clone logic to always do a checkout, and to bail gracefully when a commit doesn't exist (skipping the relevant repoTag build) 2014-09-30 16:39:12 -06:00
Tianon Gravi 4b6f49153d Add magic support for direct operation on files
Things that work now: (in any combinations)
- `./build.sh debian`
- `./build.sh debian:sid`
- `./build.sh ../library/debian`
- `./build.sh ../library/debian:sid`
2014-09-30 16:39:12 -06:00
Tianon Gravi 143ac14d2a Update "git fetch" with intelligence about when to go fetch (ie, if we don't have the ref specified) 2014-09-30 16:39:12 -06:00
Tianon Gravi 9a4bbd34b2 Use magic extglob bash syntax instead of explicitly ignoring MAINTAINERS in our loop 2014-09-30 16:39:12 -06:00
Tianon Gravi 2f9fd1c571 Parameterize library, src, logs, and namespaces 2014-09-30 16:39:12 -06:00
Joe Ferguson 02592be363 getopt added for much beauty 2014-09-30 16:39:12 -06:00
Tianon Gravi 3b563a5ffc Update "git-set-dir-times" to use "--no-dereference" so my fun mkimage.sh symlink in my Debian repo doesn't break on not-my-machine :D 2014-09-30 16:39:12 -06:00
Tianon Gravi 1cd92b1d66 Add "git-set-dir-times" and "git-set-file-times" (whoops) 2014-09-30 16:39:12 -06:00
Joe Ferguson 540129c13e script for pushing library images 2014-09-30 16:39:12 -06:00
Joe Ferguson 511aefe622 warn users about unknown 'repo:tag' combinations 2014-09-30 16:39:12 -06:00
Joe Ferguson d472fdbef5 add usage, only build all with `--all` argument 2014-09-30 16:39:12 -06:00
Tianon Gravi e3227f3866 Add actual building and some handy logging 2014-09-30 16:39:12 -06:00
Tianon Gravi caece97e47 Add a little "cloning" output so it's clear why the script hangs 2014-09-30 16:39:12 -06:00
Tianon Gravi b2313c47b9 Add "SRC" and actually clone repos 2014-09-30 16:39:12 -06:00
Tianon Gravi fd74861ac9 Replace "LIBDIR" with "LIBRARY" and make it user-specifiable 2014-09-30 16:39:11 -06:00
Joe Ferguson c7226afb23 initial testing on using bash to build repos 2014-09-30 16:39:11 -06:00