nemar-cli 0.10.34-PR2201.f620357 → 0.10.34-PR2206.38ab17f
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.
- package/README.md +24 -22
- package/dist/git-annex-remote-nemar.js +18 -18
- package/dist/index.js +560 -552
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -294,6 +294,7 @@ nemar dataset clone <id> # Clone metadata only (--host <origin> for an aut
|
|
|
294
294
|
nemar dataset get [files] # Download annexed data files
|
|
295
295
|
nemar dataset drop [files] # Free local copies of data
|
|
296
296
|
nemar dataset list # List all datasets (--mine for own)
|
|
297
|
+
nemar dataset search <query> # Search every dataset you can see: public ones, plus your own and collaborated private datasets when signed in, and all datasets for administrators
|
|
297
298
|
nemar dataset status <id> # Check dataset status
|
|
298
299
|
nemar dataset release <id> # Create version bump PR
|
|
299
300
|
nemar dataset update [path] # Push local changes via PR (needs -m title and --description)
|
|
@@ -321,35 +322,35 @@ nemar dataset publish resend <dataset-id> # Resend admin notification
|
|
|
321
322
|
nemar dataset publish withdraw <dataset-id> # Take back your request (a withdrawn request; no admin step)
|
|
322
323
|
|
|
323
324
|
# Admin: Manage publication requests
|
|
324
|
-
nemar admin publish list # List active publication requests
|
|
325
|
-
nemar admin publish list --all # Every request, whatever its state
|
|
326
|
-
nemar admin publish list --denied # One state (also --published, --requested, ...)
|
|
327
|
-
nemar admin publish list -s denied # Same as --denied (--status, as before)
|
|
328
|
-
nemar admin publish list --search nm099999 --all
|
|
325
|
+
nemar admin repo publish list # List active publication requests
|
|
326
|
+
nemar admin repo publish list --all # Every request, whatever its state
|
|
327
|
+
nemar admin repo publish list --denied # One state (also --published, --requested, ...)
|
|
328
|
+
nemar admin repo publish list -s denied # Same as --denied (--status, as before)
|
|
329
|
+
nemar admin repo publish list --search nm099999 --all
|
|
329
330
|
# Look up a dataset by ID, user or name
|
|
330
|
-
nemar admin publish list --needs-me # Only the requests you can act on now
|
|
331
|
-
nemar admin publish show <dataset-id> # The automated review of one request, in full
|
|
332
|
-
nemar admin publish start <dataset-id> # Start the automated review (--all: every request waiting)
|
|
333
|
-
nemar admin publish next # One card per request that needs you: y approves, n denies, c comments
|
|
334
|
-
nemar admin publish approve <dataset-id> # Approve and publish dataset
|
|
335
|
-
nemar admin publish approve <dataset-id> --force
|
|
331
|
+
nemar admin repo publish list --needs-me # Only the requests you can act on now
|
|
332
|
+
nemar admin repo publish show <dataset-id> # The automated review of one request, in full
|
|
333
|
+
nemar admin repo publish start <dataset-id> # Start the automated review (--all: every request waiting)
|
|
334
|
+
nemar admin repo publish next # One card per request that needs you: y approves, n denies, c comments
|
|
335
|
+
nemar admin repo publish approve <dataset-id> # Approve and publish dataset
|
|
336
|
+
nemar admin repo publish approve <dataset-id> --force
|
|
336
337
|
# Approve over a review that is not a pass
|
|
337
|
-
nemar admin publish approve <dataset-id> --acknowledge-identifier-screen "<reason>"
|
|
338
|
+
nemar admin repo publish approve <dataset-id> --acknowledge-identifier-screen "<reason>"
|
|
338
339
|
# Approve over a screen that needs review
|
|
339
|
-
nemar admin publish approve <dataset-id> --request-id <n>
|
|
340
|
+
nemar admin repo publish approve <dataset-id> --request-id <n>
|
|
340
341
|
# Approve only if request n is the one in force
|
|
341
|
-
nemar admin publish deny <dataset-id> # Deny publication request
|
|
342
|
-
nemar admin publish deny <dataset-id> --request-id <n>
|
|
342
|
+
nemar admin repo publish deny <dataset-id> # Deny publication request
|
|
343
|
+
nemar admin repo publish deny <dataset-id> --request-id <n>
|
|
343
344
|
# Deny only if request n is the one in force
|
|
344
|
-
nemar admin publish screen <dataset-id> # Re-run the identifier screen
|
|
345
|
+
nemar admin repo publish screen <dataset-id> # Re-run the identifier screen
|
|
345
346
|
```
|
|
346
347
|
|
|
347
348
|
A publication request is screened for identifying information before the
|
|
348
|
-
admins are mailed; the mail, `publish status` and `admin publish list` state
|
|
349
|
+
admins are mailed; the mail, `publish status` and `admin repo publish list` state
|
|
349
350
|
the result, and approval waits for a screen that is clear for the current
|
|
350
351
|
`main`.
|
|
351
352
|
Each request also gets an automated review of what the depositor submitted,
|
|
352
|
-
which `admin publish list` and `admin publish show` state.
|
|
353
|
+
which `admin repo publish list` and `admin repo publish show` state.
|
|
353
354
|
An approval over a review that is not a pass needs `--force` and is recorded
|
|
354
355
|
with your account.
|
|
355
356
|
An approval is for the request it showed, and the API refuses it when that
|
|
@@ -364,7 +365,7 @@ approver, and `--force`, `--acknowledge-identifier-screen`, `--skip-ci-check`
|
|
|
364
365
|
and `--sandbox` are refused.
|
|
365
366
|
Without the variable the command is your own approval, recorded under your
|
|
366
367
|
account, and `next` never reads it.
|
|
367
|
-
Every failure of `admin publish` exits 1, and so does an outcome that is not
|
|
368
|
+
Every failure of `admin repo publish` exits 1, and so does an outcome that is not
|
|
368
369
|
what was asked: `publish screen` exits 1 when the API accepted the call but
|
|
369
370
|
could not start the screen (the dispatch failed), and `publish approve` exits 1
|
|
370
371
|
when the API's answer is not `published` (a tail job's warning leaves the
|
|
@@ -382,12 +383,13 @@ nemar admin revoke <username> # Revoke user access
|
|
|
382
383
|
nemar admin role <username> <role> # Change user role
|
|
383
384
|
|
|
384
385
|
# Dataset management
|
|
385
|
-
nemar admin repo
|
|
386
|
-
nemar admin repo
|
|
386
|
+
nemar admin repo unpublish <id> # Authors pull a published dataset back to private (DOIs untouched, can publish again)
|
|
387
|
+
nemar admin repo withdraw <id> # Broken or removed dataset: private and DOIs tombstoned
|
|
388
|
+
nemar admin repo restore <id> # Reverse a withdraw
|
|
387
389
|
nemar admin ci check <id> # Check CI status
|
|
388
390
|
nemar admin ci add <id> # Deploy CI workflows
|
|
389
391
|
nemar admin s3 regenerate-iam <user> # Regenerate AWS credentials
|
|
390
|
-
nemar admin make-public <id> #
|
|
392
|
+
nemar admin make-public <id> # Make a dataset public (publication can be pulled back with `repo unpublish`)
|
|
391
393
|
nemar admin delete-dataset <id> # Delete dataset
|
|
392
394
|
|
|
393
395
|
# DOI management
|