nemar-cli 0.10.19-PR1782.795d9ae → 0.10.19-PR1782.ecc409b

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.
Files changed (3) hide show
  1. package/README.md +9 -1
  2. package/dist/index.js +312 -312
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -325,7 +325,7 @@ nemar admin publish list # List active publication requests
325
325
  nemar admin publish list --all # Every request, whatever its state
326
326
  nemar admin publish list --denied # One state (also --published, --requested, ...)
327
327
  nemar admin publish list -s denied # Same as --denied (--status, as before)
328
- nemar admin publish list --search nm000104 --all
328
+ nemar admin publish list --search nm099999 --all
329
329
  # Look up a dataset by ID, user or name
330
330
  nemar admin publish list --needs-me # Only the requests you can act on now
331
331
  nemar admin publish show <dataset-id> # The automated review of one request, in full
@@ -339,6 +339,8 @@ nemar admin publish approve <dataset-id> --acknowledge-identifier-screen "<reaso
339
339
  nemar admin publish approve <dataset-id> --request-id <n>
340
340
  # Approve only if request n is the one in force
341
341
  nemar admin publish deny <dataset-id> # Deny publication request
342
+ nemar admin publish deny <dataset-id> --request-id <n>
343
+ # Deny only if request n is the one in force
342
344
  nemar admin publish screen <dataset-id> # Re-run the identifier screen
343
345
  ```
344
346
 
@@ -362,6 +364,12 @@ approver, and `--force`, `--acknowledge-identifier-screen`, `--skip-ci-check`
362
364
  and `--sandbox` are refused.
363
365
  Without the variable the command is your own approval, recorded under your
364
366
  account, and `next` never reads it.
367
+ Every failure of `admin publish` exits 1, and so does an outcome that is not
368
+ what was asked: `publish screen` exits 1 when the API accepted the call but
369
+ could not start the screen (the dispatch failed), and `publish approve` exits 1
370
+ when the API's answer is not `published` (a tail job's warning leaves the
371
+ request `approving`; run it again once the cause the warning names is fixed).
372
+ `next` counts such an approval as failed, not approved.
365
373
 
366
374
  ### Admin Commands
367
375