hopper-cli 1.3.4__tar.gz → 1.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hopper_cli-1.3.4/hopper_cli.egg-info → hopper_cli-1.4.0}/PKG-INFO +72 -15
- {hopper_cli-1.3.4 → hopper_cli-1.4.0}/README.md +71 -14
- {hopper_cli-1.3.4 → hopper_cli-1.4.0/hopper_cli.egg-info}/PKG-INFO +72 -15
- {hopper_cli-1.3.4 → hopper_cli-1.4.0}/LICENSE +0 -0
- {hopper_cli-1.3.4 → hopper_cli-1.4.0}/hopper/__init__.py +0 -0
- {hopper_cli-1.3.4 → hopper_cli-1.4.0}/hopper/__main__.py +0 -0
- {hopper_cli-1.3.4 → hopper_cli-1.4.0}/hopper_cli.egg-info/SOURCES.txt +0 -0
- {hopper_cli-1.3.4 → hopper_cli-1.4.0}/hopper_cli.egg-info/dependency_links.txt +0 -0
- {hopper_cli-1.3.4 → hopper_cli-1.4.0}/hopper_cli.egg-info/entry_points.txt +0 -0
- {hopper_cli-1.3.4 → hopper_cli-1.4.0}/hopper_cli.egg-info/top_level.txt +0 -0
- {hopper_cli-1.3.4 → hopper_cli-1.4.0}/pyproject.toml +0 -0
- {hopper_cli-1.3.4 → hopper_cli-1.4.0}/setup.cfg +0 -0
- {hopper_cli-1.3.4 → hopper_cli-1.4.0}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hopper-cli
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.4.0
|
|
4
4
|
Summary: A git-like CLI for tutors on the hopper platform.
|
|
5
5
|
Author: hopper contributors
|
|
6
6
|
License-Expression: AGPL-3.0-or-later
|
|
@@ -124,8 +124,10 @@ All commands run **inside** that directory and never write outside it.
|
|
|
124
124
|
| `hopper auth list` / `status` / `remove <id>` | Manage profiles. |
|
|
125
125
|
| `hopper init [profile/]<course>` | Bind a new directory to a course. |
|
|
126
126
|
| `hopper pull` | Clone or `pull --rebase --autostash` every assigned student repo. |
|
|
127
|
-
| `hopper
|
|
127
|
+
| `hopper logs` | Print the saved output of the most recent pull run. |
|
|
128
|
+
| `hopper push [msg]` | Commit README changes, validate README syntax, push. |
|
|
128
129
|
| `hopper commit <msg>` | Commit without pushing (recovery path). |
|
|
130
|
+
| `hopper check` | Validate the README syntax in all student repositories. |
|
|
129
131
|
| `hopper status` | Per-student branch, ahead/behind, dirty state. |
|
|
130
132
|
| `hopper students` | List students assigned to you. |
|
|
131
133
|
| `hopper info` | Course info, your role, exercises. |
|
|
@@ -163,32 +165,87 @@ hopper pull # sync all assigned student repos
|
|
|
163
165
|
hopper pull --student alice # pull a single student by username
|
|
164
166
|
hopper pull --only a,b,c # pull only the listed usernames
|
|
165
167
|
hopper pull --prune # remove local repos of students no longer assigned
|
|
166
|
-
hopper pull -j 8 # 8 concurrent git operations (default 4)
|
|
168
|
+
hopper pull -j 8 # 8 concurrent git operations (default 4, 2 for ssh remotes)
|
|
167
169
|
```
|
|
168
170
|
|
|
169
|
-
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
- Every pull reports local repos of students no longer assigned to you
|
|
172
|
+
(they changed tutor or left the course). Those copies can still be
|
|
173
|
+
pushed to and graded twice, so delete them with `--prune`, which shows
|
|
174
|
+
a preview and asks for confirmation; `--no-prune` skips pruning.
|
|
175
|
+
- Repos are synced concurrently, 4 at a time by default. When the instance's
|
|
176
|
+
clone URL uses ssh, the default is 2: bursts of concurrent ssh handshakes
|
|
177
|
+
can make the server reject some connections. Override with `-j`.
|
|
178
|
+
- Per-repo failures are reported and skipped, and one bad repo does not abort
|
|
179
|
+
the whole run. Repos that fail are retried once, serially, after the
|
|
180
|
+
concurrent pass, since transient ssh failures usually succeed on a second
|
|
181
|
+
try.
|
|
182
|
+
- The final report lists every repo that still failed together with its
|
|
183
|
+
error, and states that its local copy was NOT updated. For ssh
|
|
184
|
+
authentication errors (`Permission denied (publickey)`, `Too many
|
|
185
|
+
authentication failures`) it adds a hint to check `ssh-add -l` and the key
|
|
186
|
+
registration in your hopper profile.
|
|
187
|
+
- Every run's full output is saved to a log file under the user cache dir, so
|
|
188
|
+
a closed terminal does not lose a failure report. A failed run ends with
|
|
189
|
+
`Full output: <path>` pointing at that file; inspect it later with
|
|
190
|
+
`hopper logs`.
|
|
173
191
|
- If the configured origin branch is missing but `origin/main` exists, hopper
|
|
174
192
|
repairs the upstream automatically. Fresh clones with an invalid remote HEAD
|
|
175
193
|
check out `main`; existing checkouts keep their local branch and changes.
|
|
176
194
|
|
|
195
|
+
### `logs`
|
|
196
|
+
|
|
197
|
+
```
|
|
198
|
+
hopper logs # print the saved output of the most recent pull run
|
|
199
|
+
hopper logs --path # print only the path to that file
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
Each `hopper pull` writes its full terminal output to
|
|
203
|
+
`pull-<timestamp>.log` in the hopper logs directory under the user cache dir
|
|
204
|
+
(`~/.cache/hopper/logs/` on Linux, `~/Library/Caches/hopper/logs/` on macOS).
|
|
205
|
+
The file starts with a header (command line, timestamp, profile, course, exit
|
|
206
|
+
status) followed by the output exactly as it appeared in the terminal. Only
|
|
207
|
+
the 5 most recent logs are kept; older ones are deleted automatically. The
|
|
208
|
+
command does not touch the server, so it also works offline.
|
|
209
|
+
|
|
177
210
|
### `push` / `commit`
|
|
178
211
|
|
|
179
212
|
```
|
|
180
213
|
hopper push # commit */README.md changes and push (default msg: "Grade exercises")
|
|
181
214
|
hopper push "Grade exercise 3" # custom commit message
|
|
182
215
|
hopper push --all # stage all changes, not just */README.md
|
|
183
|
-
hopper push --allow-invalid # push even when the README
|
|
216
|
+
hopper push --allow-invalid # push even when the README syntax is invalid
|
|
184
217
|
hopper commit "WIP grading" # commit without pushing (recovery path)
|
|
218
|
+
hopper commit --allow-invalid "WIP grading"
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
Before committing or pushing, hopper validates each staged README against
|
|
222
|
+
the README syntax contract (see `docs/build.md` in the orchestration repo):
|
|
223
|
+
|
|
224
|
+
- The first line reads `# <name> (X / Y)` with exactly one points entry,
|
|
225
|
+
because orchestration records the grade from that line alone. A second
|
|
226
|
+
`X / Y` pattern in the heading (for example a title like `3/4` before
|
|
227
|
+
the points) would silently grade the wrong number and is rejected.
|
|
228
|
+
- Points are written with spaces around the slash: `(X / Y)`, not `(X/Y)`.
|
|
229
|
+
- Task and subtask headings carry a well-formed trailing `(X / Y)`
|
|
230
|
+
points entry.
|
|
231
|
+
- All hopper region markers (tutor regions, task boxes, build region)
|
|
232
|
+
are intact, task box keys are valid and unique, and the build region
|
|
233
|
+
comes last.
|
|
234
|
+
|
|
235
|
+
Invalid commits and pushes are blocked unless `--allow-invalid` is given.
|
|
236
|
+
A conflicting rebase surfaces the conflict and halts that repo instead of
|
|
237
|
+
destroying local work; hopper never runs `git reset --hard`.
|
|
238
|
+
|
|
239
|
+
### `check`
|
|
240
|
+
|
|
241
|
+
```
|
|
242
|
+
hopper check # validate <exercise>/README.md in every student repo
|
|
185
243
|
```
|
|
186
244
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
`git reset --hard`.
|
|
245
|
+
Runs the same validation as `push` and `commit`, but on every README in
|
|
246
|
+
the working tree, without staging or committing anything. Use it to find
|
|
247
|
+
broken headings or markers across all repos at once; the command exits
|
|
248
|
+
non-zero when it finds problems.
|
|
192
249
|
|
|
193
250
|
### `status` / `students` / `info`
|
|
194
251
|
|
|
@@ -201,8 +258,8 @@ hopper info # course name/uid/id, profile, your user and role, exercises
|
|
|
201
258
|
## Version gate
|
|
202
259
|
|
|
203
260
|
On every command that touches the server (everything except `auth`,
|
|
204
|
-
`version`, and `help`), hopper asks the active profile's orchestration
|
|
205
|
-
for the minimum supported CLI version:
|
|
261
|
+
`version`, `logs`, and `help`), hopper asks the active profile's orchestration
|
|
262
|
+
server for the minimum supported CLI version:
|
|
206
263
|
|
|
207
264
|
- **running version < minimum** → the CLI refuses to run and tells you to upgrade;
|
|
208
265
|
- **running version >= minimum** → proceeds;
|
|
@@ -96,8 +96,10 @@ All commands run **inside** that directory and never write outside it.
|
|
|
96
96
|
| `hopper auth list` / `status` / `remove <id>` | Manage profiles. |
|
|
97
97
|
| `hopper init [profile/]<course>` | Bind a new directory to a course. |
|
|
98
98
|
| `hopper pull` | Clone or `pull --rebase --autostash` every assigned student repo. |
|
|
99
|
-
| `hopper
|
|
99
|
+
| `hopper logs` | Print the saved output of the most recent pull run. |
|
|
100
|
+
| `hopper push [msg]` | Commit README changes, validate README syntax, push. |
|
|
100
101
|
| `hopper commit <msg>` | Commit without pushing (recovery path). |
|
|
102
|
+
| `hopper check` | Validate the README syntax in all student repositories. |
|
|
101
103
|
| `hopper status` | Per-student branch, ahead/behind, dirty state. |
|
|
102
104
|
| `hopper students` | List students assigned to you. |
|
|
103
105
|
| `hopper info` | Course info, your role, exercises. |
|
|
@@ -135,32 +137,87 @@ hopper pull # sync all assigned student repos
|
|
|
135
137
|
hopper pull --student alice # pull a single student by username
|
|
136
138
|
hopper pull --only a,b,c # pull only the listed usernames
|
|
137
139
|
hopper pull --prune # remove local repos of students no longer assigned
|
|
138
|
-
hopper pull -j 8 # 8 concurrent git operations (default 4)
|
|
140
|
+
hopper pull -j 8 # 8 concurrent git operations (default 4, 2 for ssh remotes)
|
|
139
141
|
```
|
|
140
142
|
|
|
141
|
-
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
- Every pull reports local repos of students no longer assigned to you
|
|
144
|
+
(they changed tutor or left the course). Those copies can still be
|
|
145
|
+
pushed to and graded twice, so delete them with `--prune`, which shows
|
|
146
|
+
a preview and asks for confirmation; `--no-prune` skips pruning.
|
|
147
|
+
- Repos are synced concurrently, 4 at a time by default. When the instance's
|
|
148
|
+
clone URL uses ssh, the default is 2: bursts of concurrent ssh handshakes
|
|
149
|
+
can make the server reject some connections. Override with `-j`.
|
|
150
|
+
- Per-repo failures are reported and skipped, and one bad repo does not abort
|
|
151
|
+
the whole run. Repos that fail are retried once, serially, after the
|
|
152
|
+
concurrent pass, since transient ssh failures usually succeed on a second
|
|
153
|
+
try.
|
|
154
|
+
- The final report lists every repo that still failed together with its
|
|
155
|
+
error, and states that its local copy was NOT updated. For ssh
|
|
156
|
+
authentication errors (`Permission denied (publickey)`, `Too many
|
|
157
|
+
authentication failures`) it adds a hint to check `ssh-add -l` and the key
|
|
158
|
+
registration in your hopper profile.
|
|
159
|
+
- Every run's full output is saved to a log file under the user cache dir, so
|
|
160
|
+
a closed terminal does not lose a failure report. A failed run ends with
|
|
161
|
+
`Full output: <path>` pointing at that file; inspect it later with
|
|
162
|
+
`hopper logs`.
|
|
145
163
|
- If the configured origin branch is missing but `origin/main` exists, hopper
|
|
146
164
|
repairs the upstream automatically. Fresh clones with an invalid remote HEAD
|
|
147
165
|
check out `main`; existing checkouts keep their local branch and changes.
|
|
148
166
|
|
|
167
|
+
### `logs`
|
|
168
|
+
|
|
169
|
+
```
|
|
170
|
+
hopper logs # print the saved output of the most recent pull run
|
|
171
|
+
hopper logs --path # print only the path to that file
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Each `hopper pull` writes its full terminal output to
|
|
175
|
+
`pull-<timestamp>.log` in the hopper logs directory under the user cache dir
|
|
176
|
+
(`~/.cache/hopper/logs/` on Linux, `~/Library/Caches/hopper/logs/` on macOS).
|
|
177
|
+
The file starts with a header (command line, timestamp, profile, course, exit
|
|
178
|
+
status) followed by the output exactly as it appeared in the terminal. Only
|
|
179
|
+
the 5 most recent logs are kept; older ones are deleted automatically. The
|
|
180
|
+
command does not touch the server, so it also works offline.
|
|
181
|
+
|
|
149
182
|
### `push` / `commit`
|
|
150
183
|
|
|
151
184
|
```
|
|
152
185
|
hopper push # commit */README.md changes and push (default msg: "Grade exercises")
|
|
153
186
|
hopper push "Grade exercise 3" # custom commit message
|
|
154
187
|
hopper push --all # stage all changes, not just */README.md
|
|
155
|
-
hopper push --allow-invalid # push even when the README
|
|
188
|
+
hopper push --allow-invalid # push even when the README syntax is invalid
|
|
156
189
|
hopper commit "WIP grading" # commit without pushing (recovery path)
|
|
190
|
+
hopper commit --allow-invalid "WIP grading"
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
Before committing or pushing, hopper validates each staged README against
|
|
194
|
+
the README syntax contract (see `docs/build.md` in the orchestration repo):
|
|
195
|
+
|
|
196
|
+
- The first line reads `# <name> (X / Y)` with exactly one points entry,
|
|
197
|
+
because orchestration records the grade from that line alone. A second
|
|
198
|
+
`X / Y` pattern in the heading (for example a title like `3/4` before
|
|
199
|
+
the points) would silently grade the wrong number and is rejected.
|
|
200
|
+
- Points are written with spaces around the slash: `(X / Y)`, not `(X/Y)`.
|
|
201
|
+
- Task and subtask headings carry a well-formed trailing `(X / Y)`
|
|
202
|
+
points entry.
|
|
203
|
+
- All hopper region markers (tutor regions, task boxes, build region)
|
|
204
|
+
are intact, task box keys are valid and unique, and the build region
|
|
205
|
+
comes last.
|
|
206
|
+
|
|
207
|
+
Invalid commits and pushes are blocked unless `--allow-invalid` is given.
|
|
208
|
+
A conflicting rebase surfaces the conflict and halts that repo instead of
|
|
209
|
+
destroying local work; hopper never runs `git reset --hard`.
|
|
210
|
+
|
|
211
|
+
### `check`
|
|
212
|
+
|
|
213
|
+
```
|
|
214
|
+
hopper check # validate <exercise>/README.md in every student repo
|
|
157
215
|
```
|
|
158
216
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
`git reset --hard`.
|
|
217
|
+
Runs the same validation as `push` and `commit`, but on every README in
|
|
218
|
+
the working tree, without staging or committing anything. Use it to find
|
|
219
|
+
broken headings or markers across all repos at once; the command exits
|
|
220
|
+
non-zero when it finds problems.
|
|
164
221
|
|
|
165
222
|
### `status` / `students` / `info`
|
|
166
223
|
|
|
@@ -173,8 +230,8 @@ hopper info # course name/uid/id, profile, your user and role, exercises
|
|
|
173
230
|
## Version gate
|
|
174
231
|
|
|
175
232
|
On every command that touches the server (everything except `auth`,
|
|
176
|
-
`version`, and `help`), hopper asks the active profile's orchestration
|
|
177
|
-
for the minimum supported CLI version:
|
|
233
|
+
`version`, `logs`, and `help`), hopper asks the active profile's orchestration
|
|
234
|
+
server for the minimum supported CLI version:
|
|
178
235
|
|
|
179
236
|
- **running version < minimum** → the CLI refuses to run and tells you to upgrade;
|
|
180
237
|
- **running version >= minimum** → proceeds;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hopper-cli
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.4.0
|
|
4
4
|
Summary: A git-like CLI for tutors on the hopper platform.
|
|
5
5
|
Author: hopper contributors
|
|
6
6
|
License-Expression: AGPL-3.0-or-later
|
|
@@ -124,8 +124,10 @@ All commands run **inside** that directory and never write outside it.
|
|
|
124
124
|
| `hopper auth list` / `status` / `remove <id>` | Manage profiles. |
|
|
125
125
|
| `hopper init [profile/]<course>` | Bind a new directory to a course. |
|
|
126
126
|
| `hopper pull` | Clone or `pull --rebase --autostash` every assigned student repo. |
|
|
127
|
-
| `hopper
|
|
127
|
+
| `hopper logs` | Print the saved output of the most recent pull run. |
|
|
128
|
+
| `hopper push [msg]` | Commit README changes, validate README syntax, push. |
|
|
128
129
|
| `hopper commit <msg>` | Commit without pushing (recovery path). |
|
|
130
|
+
| `hopper check` | Validate the README syntax in all student repositories. |
|
|
129
131
|
| `hopper status` | Per-student branch, ahead/behind, dirty state. |
|
|
130
132
|
| `hopper students` | List students assigned to you. |
|
|
131
133
|
| `hopper info` | Course info, your role, exercises. |
|
|
@@ -163,32 +165,87 @@ hopper pull # sync all assigned student repos
|
|
|
163
165
|
hopper pull --student alice # pull a single student by username
|
|
164
166
|
hopper pull --only a,b,c # pull only the listed usernames
|
|
165
167
|
hopper pull --prune # remove local repos of students no longer assigned
|
|
166
|
-
hopper pull -j 8 # 8 concurrent git operations (default 4)
|
|
168
|
+
hopper pull -j 8 # 8 concurrent git operations (default 4, 2 for ssh remotes)
|
|
167
169
|
```
|
|
168
170
|
|
|
169
|
-
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
- Every pull reports local repos of students no longer assigned to you
|
|
172
|
+
(they changed tutor or left the course). Those copies can still be
|
|
173
|
+
pushed to and graded twice, so delete them with `--prune`, which shows
|
|
174
|
+
a preview and asks for confirmation; `--no-prune` skips pruning.
|
|
175
|
+
- Repos are synced concurrently, 4 at a time by default. When the instance's
|
|
176
|
+
clone URL uses ssh, the default is 2: bursts of concurrent ssh handshakes
|
|
177
|
+
can make the server reject some connections. Override with `-j`.
|
|
178
|
+
- Per-repo failures are reported and skipped, and one bad repo does not abort
|
|
179
|
+
the whole run. Repos that fail are retried once, serially, after the
|
|
180
|
+
concurrent pass, since transient ssh failures usually succeed on a second
|
|
181
|
+
try.
|
|
182
|
+
- The final report lists every repo that still failed together with its
|
|
183
|
+
error, and states that its local copy was NOT updated. For ssh
|
|
184
|
+
authentication errors (`Permission denied (publickey)`, `Too many
|
|
185
|
+
authentication failures`) it adds a hint to check `ssh-add -l` and the key
|
|
186
|
+
registration in your hopper profile.
|
|
187
|
+
- Every run's full output is saved to a log file under the user cache dir, so
|
|
188
|
+
a closed terminal does not lose a failure report. A failed run ends with
|
|
189
|
+
`Full output: <path>` pointing at that file; inspect it later with
|
|
190
|
+
`hopper logs`.
|
|
173
191
|
- If the configured origin branch is missing but `origin/main` exists, hopper
|
|
174
192
|
repairs the upstream automatically. Fresh clones with an invalid remote HEAD
|
|
175
193
|
check out `main`; existing checkouts keep their local branch and changes.
|
|
176
194
|
|
|
195
|
+
### `logs`
|
|
196
|
+
|
|
197
|
+
```
|
|
198
|
+
hopper logs # print the saved output of the most recent pull run
|
|
199
|
+
hopper logs --path # print only the path to that file
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
Each `hopper pull` writes its full terminal output to
|
|
203
|
+
`pull-<timestamp>.log` in the hopper logs directory under the user cache dir
|
|
204
|
+
(`~/.cache/hopper/logs/` on Linux, `~/Library/Caches/hopper/logs/` on macOS).
|
|
205
|
+
The file starts with a header (command line, timestamp, profile, course, exit
|
|
206
|
+
status) followed by the output exactly as it appeared in the terminal. Only
|
|
207
|
+
the 5 most recent logs are kept; older ones are deleted automatically. The
|
|
208
|
+
command does not touch the server, so it also works offline.
|
|
209
|
+
|
|
177
210
|
### `push` / `commit`
|
|
178
211
|
|
|
179
212
|
```
|
|
180
213
|
hopper push # commit */README.md changes and push (default msg: "Grade exercises")
|
|
181
214
|
hopper push "Grade exercise 3" # custom commit message
|
|
182
215
|
hopper push --all # stage all changes, not just */README.md
|
|
183
|
-
hopper push --allow-invalid # push even when the README
|
|
216
|
+
hopper push --allow-invalid # push even when the README syntax is invalid
|
|
184
217
|
hopper commit "WIP grading" # commit without pushing (recovery path)
|
|
218
|
+
hopper commit --allow-invalid "WIP grading"
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
Before committing or pushing, hopper validates each staged README against
|
|
222
|
+
the README syntax contract (see `docs/build.md` in the orchestration repo):
|
|
223
|
+
|
|
224
|
+
- The first line reads `# <name> (X / Y)` with exactly one points entry,
|
|
225
|
+
because orchestration records the grade from that line alone. A second
|
|
226
|
+
`X / Y` pattern in the heading (for example a title like `3/4` before
|
|
227
|
+
the points) would silently grade the wrong number and is rejected.
|
|
228
|
+
- Points are written with spaces around the slash: `(X / Y)`, not `(X/Y)`.
|
|
229
|
+
- Task and subtask headings carry a well-formed trailing `(X / Y)`
|
|
230
|
+
points entry.
|
|
231
|
+
- All hopper region markers (tutor regions, task boxes, build region)
|
|
232
|
+
are intact, task box keys are valid and unique, and the build region
|
|
233
|
+
comes last.
|
|
234
|
+
|
|
235
|
+
Invalid commits and pushes are blocked unless `--allow-invalid` is given.
|
|
236
|
+
A conflicting rebase surfaces the conflict and halts that repo instead of
|
|
237
|
+
destroying local work; hopper never runs `git reset --hard`.
|
|
238
|
+
|
|
239
|
+
### `check`
|
|
240
|
+
|
|
241
|
+
```
|
|
242
|
+
hopper check # validate <exercise>/README.md in every student repo
|
|
185
243
|
```
|
|
186
244
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
`git reset --hard`.
|
|
245
|
+
Runs the same validation as `push` and `commit`, but on every README in
|
|
246
|
+
the working tree, without staging or committing anything. Use it to find
|
|
247
|
+
broken headings or markers across all repos at once; the command exits
|
|
248
|
+
non-zero when it finds problems.
|
|
192
249
|
|
|
193
250
|
### `status` / `students` / `info`
|
|
194
251
|
|
|
@@ -201,8 +258,8 @@ hopper info # course name/uid/id, profile, your user and role, exercises
|
|
|
201
258
|
## Version gate
|
|
202
259
|
|
|
203
260
|
On every command that touches the server (everything except `auth`,
|
|
204
|
-
`version`, and `help`), hopper asks the active profile's orchestration
|
|
205
|
-
for the minimum supported CLI version:
|
|
261
|
+
`version`, `logs`, and `help`), hopper asks the active profile's orchestration
|
|
262
|
+
server for the minimum supported CLI version:
|
|
206
263
|
|
|
207
264
|
- **running version < minimum** → the CLI refuses to run and tells you to upgrade;
|
|
208
265
|
- **running version >= minimum** → proceeds;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|