Repository navigation
Release v0.7.14 - #260
Merged
Merged
Release v0.7.14#260
Conversation
* Preserve DatasetDOI, sync title, add uploader contributor - Preserve existing DatasetDOI in SourceDatasets before overwriting with NEMAR concept DOI during publish workflow - Auto-sync BIDS Name changes to EZID DOI metadata via the LLM enrichment webhook (full DataCite XML rebuild) - Add data uploader as DataCurator contributor in DataCite metadata when they are not listed as a BIDS Author - Update buildOrcidEnrichment to always pass through uploader fields Closes #256 * Address review: LEFT JOIN, broader sync, tests - Use LEFT JOIN for users table to avoid masking orphaned datasets - Broaden DOI sync to run on every enrichment (not just name change) - Distinguish config vs transient errors in DOI sync catch block - Skip parseAuthorName for usernames in DataCurator contributor - Add 4 tests for DataCurator contributor logic in bidsToDataCite * Add ORCID to contributor, fix substring matching - Add orcid field to DataCiteContributor interface and XML builder - Attach uploaderOrcid to DataCurator contributor entry - Use word-boundary regex instead of substring matching for uploader-is-author check to avoid false positives - Add tests for ORCID on contributor and word-boundary matching
- Add GIT_TERMINAL_PROMPT=0 to runCommand() to prevent git from blocking on credential prompts (root cause of #257 hang) - Add optional timeout parameter to runCommand() as safety net - Add proactive visibility check in push command: detect public datasets and block direct push to main with actionable guidance - Detect branch protection errors (GH006) in push failure path and show clear suggestions (use update or push --pr) - Add checkPrerequisitesForCommand("push") to push command - Replace inline git/gh checks in update and release commands with centralized checkPrerequisitesForCommand() calls - Add "update" and "release" to NemarCommand type Closes #257
- Don't treat null branch name as "on main" (could block legitimate pushes from feature branches) - Extract printBranchProtectionSuggestions() to deduplicate suggestion text between proactive check and fallback handler - Improve catch comment accuracy
- Document timeout return-value behavior in runCommand() JSDoc - Detect "terminal prompts disabled" in push error handler and point users to 'nemar auth setup-ssh'
Prevent push from hanging on public datasets
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
bun run buildcompilesbun run typecheckpassesnemar dataset pushon public dataset shows clear errornemar dataset pushon private dataset works as before