You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add --sandbox flag to 'admin publish approve' command #83
The nemar admin publish approve command creates a concept DOI in step 4 of the publication orchestrator, but it doesn't have a --sandbox flag to test the workflow on Zenodo sandbox.
Current Behavior
nemar admin doi create has --sandbox flag ✅
nemar admin publish approve does NOT have --sandbox flag ❌
The approve command hardcodes false for sandbox at line 2017 in backend/src/routes/admin.ts
Expected Behavior
Should be able to run the full publication workflow on sandbox:
nemar admin publish approve nm099999 --sandbox
This would test:
CI check
Make repo public
Tag protection
DOI creation (on sandbox)
S3 Object Lock
Email notification
Files to Modify
CLI (src/commands/admin.ts)
Line 969: Add --sandbox option
Backend Schema (backend/src/routes/admin.ts)
Line 1720-1722: Add sandbox field
Backend DOI Step (backend/src/routes/admin.ts)
Line 1989 & 2017: Use sandbox parameter
API Client (src/lib/api.ts)
Line 957-969: Add sandbox parameter
Testing
nemar admin publish approve nm099999 --sandbox
Priority
High - Prevents testing full publication workflow before running on production.
Activity
Add --sandbox flag to admin publish approve command
Add --sandbox flag to admin publish approve command (#85)
docs: record the apply-half rules in ADR 0050