Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Implement shed_diff. #33
Inspired by script from @peterjc - https://gist.github.com/peterjc/13653e6907d75c470d01.
By default compares the local changes against the main Tool Shed repository defined by [.][tool][_]shed.yml, but with command line options can be made to do all sorts of comparisons. Some of these are demonstrated below:
Default against main tool shed:
Check local diff against test tool shed.
Check difference between test and main for this repository.
Ignore YAML file and just check difference between main and test tool shed for arbitrary repository.
My original idea was to actually upload the tar to the tool shed - but not commit to the repository - and pull back it back down with changeset and tool shed information. This would provide a cleaner diff and potentially more robustly reflect what is going to happen. That can be an iteration 2 thing though I think - especially because this variant has the nice feature that it doesn't require tool shed credentials so it should remain an option.