Commit Graph

975 Commits

Author SHA1 Message Date
Tim Hockin 15ba74321c Merge pull request #9 from thockin/master
Better flag help, error on bad --dest, v2.0.1
2016-10-07 17:21:59 -07:00
Tim Hockin 4523b3a28d Better flag help, error on bad --dest, v2.0.1 2016-10-07 17:20:41 -07:00
Tim Hockin 8bb6ccf948 Merge pull request #5 from thockin/enhance
bump to 2.0.0
2016-10-01 20:27:30 -07:00
Tim Hockin 9b56154cb3 bump to 2.0.0 2016-10-01 20:24:52 -07:00
Mike Danese 182c2d5611 Merge pull request #2 from thockin/enhance
Overhaul git-sync
2016-09-16 09:06:01 -07:00
Tim Hockin be407edce3 update README 2016-09-16 08:35:27 -07:00
Tim Hockin dd09cac833 Default dest to leaf of repo 2016-09-16 08:35:27 -07:00
Tim Hockin dd60fb0312 Clean up logging using glogr 2016-09-16 08:35:27 -07:00
Tim Hockin ff73d8e4f0 Overhaul git logic to sync only when needed
I wanted to understand it all so I ran a bunch of tests and found that it was
resyncing when not required any time the rev was not == HEAD.  Some
stackoverflow and git manpage spelunking produced this.  Nice side-effect is
tha the workdir is named after the githash instead of random.
2016-09-16 08:35:26 -07:00
Tim Hockin 7fcc902aa7 Print the git hash for any rev 2016-09-16 08:35:26 -07:00
Tim Hockin 75998b9237 clean up logging of git runs 2016-09-16 08:35:26 -07:00
Tim Hockin cd1f719e8b Overhaul runCommand()
Better args, logging.
2016-09-16 08:35:26 -07:00
Tim Hockin 344eca6507 Reorder args to make more sense 2016-09-16 08:35:26 -07:00
Tim Hockin 119465829f Minor log cleanup in prep for later changes 2016-09-16 08:35:26 -07:00
Tim Hockin 2d9dbf9fa6 clean up flag definitions 2016-09-16 08:35:26 -07:00
Tim Hockin c39a9369b9 Make /git a parameter rather than const
This makes easier testing.
2016-09-16 08:35:26 -07:00
Tim Hockin 0a403496bf Fix README to actually run 2016-09-16 08:35:26 -07:00
Tim Hockin 4c112490af Get rid of godep - no deps yet 2016-09-16 08:35:26 -07:00
Tim Hockin 5f4837491f Overhaul Makefile and Dockerfile
Trying to standardize builds across architectures.  We wrote this basic
Makefile/Dockerfile template for another container, but it works well, so reuse
it here.
2016-09-16 08:35:22 -07:00
Tim Hockin 4bff742689 Create code-of-conduct.md 2016-08-22 16:18:58 -07:00
Tim Hockin fbef381997 Create CONTRIBUTING.md 2016-08-22 16:18:11 -07:00
Mike Danese 2ed0e3fcba Merge pull request #1 from thockin/master
Move git-sync to a new repo of its very own
2016-08-22 09:27:38 -07:00
Tim Hockin 2a7645cb0f Scrub 'contrib' 2016-08-20 14:17:17 -07:00
Tim Hockin ad53194601 Add files from github.com/kubernetes/contrib/git-sync 2016-08-20 14:14:27 -07:00
Tim Hockin 7f5fda8be1 Initial commit 2016-08-20 14:09:57 -07:00