commit | 804735617ad4b0291d554af8f440d223260845a7 | [log] [tgz] |
---|---|---|
author | Todd Wang <toddw@google.com> | Fri Nov 20 16:46:55 2015 -0800 |
committer | Todd Wang <toddw@google.com> | Fri Nov 20 16:46:55 2015 -0800 |
tree | 7c57298a70ea7d2ddf4ea6fc50c57e617b659b4a | |
parent | 5e12312a4cdc08d4664c2588be26570b779fec3d [diff] |
jiri: Change jiri-related tools to use jiri.X Currently the jiri tool and most tools under x/devtools use tool.Context as the main argument to hold program state. We want to move to a world where all the jiri-related tools use jiri.X to capture their program state (e.g. the root directory, the manifest, etc), and all non-jiri-related tools continue to use tool.Context. This is the first change in this direction. It is the most intrusive, since we need to change tool.Context to jiri.X in a huge number of places. Subsequent changes should be incremental. The jiri.X struct currently contains a Context along with the Root directory. We don't use the Root directory yet; that change can be performed incrementally. Most of the non-test code was changed using sed scripts. The test code required more manual fixes, since the context is created and used in a variety of ways. Also removed the "version" subcommand of many tools. This was never working correctly anyways, and would always return "manual-build", so I've just removed it. MultiPart: 1/2 Change-Id: I0adaa862d1270cf606410076116917e41654ea35
“Jiri integrates repositories intelligently”
This repository implements the Jiri repository management tool.
For documentation, see http://godoc.org/v.io/jiri