-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
70 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,12 +28,21 @@ This results in an output that looks like this: | |
|
||
The repository information is drawn from a file `repo_info.json` which is expected in the current working directory. | ||
|
||
The `repo_info.json` file contains a JSON object associating a base URL string with a list of repository name strings. E.g., the following JSON object is a valid repo info object: | ||
The `repo_info.json` file contains a list of JSON objects that each contain three keys: `protocol`, `url`, and `repo_list`. The protocol can be either `git` or `svn`. The base URL and repository list identify the repositories to be managed. Herein, the base URL and repo entry are joined with a `/` separator. The following is a valid `repo_info.json` file: | ||
|
||
[ | ||
{ "protocol" : "git", | ||
"url" : "[email protected]:joergen7", | ||
"repo_list" : ["bismark", "bsmooth-align", "gpull"] } | ||
"repo_list" : ["bismark", | ||
"bsmooth-align", | ||
"gpull"] }, | ||
{ "protocol" : "git", | ||
"url" : "https://github.com", | ||
"repo_list" : ["sile/jsone", | ||
"jcomellas/getopt"] }, | ||
{ "protocol" : "svn", | ||
"url" : "https://svn.win.tue.nl/repos", | ||
"repo_list" : ["cpntools/GUI/trunk"] } | ||
] | ||
|
||
The base URL string is prepended to each repository name to build the repository URL. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
[ | ||
{ "protocol" : "git", | ||
"url" : "[email protected]:joergen7", | ||
"repo_list" : ["bismark", "bsmooth-align", "gpull"] } | ||
"repo_list" : ["bismark", | ||
"bsmooth-align", | ||
"gpull"] }, | ||
{ "protocol" : "git", | ||
"url" : "https://github.com", | ||
"repo_list" : ["sile/jsone", | ||
"jcomellas/getopt"] }, | ||
{ "protocol" : "svn", | ||
"url" : "https://svn.win.tue.nl/repos", | ||
"repo_list" : ["cpntools/GUI/trunk"] } | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters