120 | 120 |
|
121 | 121 |
Given a directory *DIR* containing tarballs of the project listed in
|
122 | 122 |
*CATALOG*, extract each of those tarballs to a directory of the same
|
123 | |
name in the current directory (assumed to be on `SHELF_PATH`.)
|
|
123 |
name in the current directory.
|
|
124 |
|
|
125 |
The current directory is assumed to be on `SHELF_PATH`.
|
124 | 126 |
|
125 | 127 |
* `shelf_populate_from_git` *PREFIX* < *CATALOG*
|
126 | 128 |
|
127 | 129 |
For each of the projects listed in *CATALOG*, prefix *PREFIX* to its
|
128 | |
name and attempt to clone that named object with `git` to a repository
|
129 | |
directory in the current directory (assumed to be on `SHELF_PATH`.)
|
|
130 |
name and, if a corresponding directory exists in the current directory,
|
|
131 |
update the repository in that corresponding directory using `git pull`,
|
|
132 |
otherwise attempt to `git clone` the repository to that corresponding
|
|
133 |
directory in the current directory.
|
|
134 |
|
|
135 |
The current directory is assumed to be on `SHELF_PATH`.
|
|
136 |
|
|
137 |
* `shelf_mirror_from_git` *PREFIX* < *CATALOG*
|
|
138 |
|
|
139 |
The same as `shelf_populate_from_git`, but uses `git clone --mirror` to
|
|
140 |
clone each new repo directory, and `git remote update` to update it.
|
130 | 141 |
|
131 | 142 |
* `shelf_cast` *DIR* < *CATALOG*
|
132 | 143 |
|
|
175 | 186 |
|
176 | 187 |
* Changed `shelf_which` to [not use the which command][] and to produce
|
177 | 188 |
cleaner output (only show the target executable file).
|
|
189 |
* Introduced `shelf_mirror_from_git`.
|
178 | 190 |
|
179 | 191 |
#### 0.4
|
180 | 192 |
|