Repository navigation
Phase 1: DOI landing target -> canonical /dataset URL - #842
Merged
neuromechanist merged 2 commits intoJun 26, 2026
Conversation
Replace legacy nemar.org/dataexplorer/detail?dataset_id=<id> DOI _target and enrichment links with the canonical https://nemar.org/dataset/<id> (version DOIs: ?v=v<version>), via two shared helpers in shared/datacite-constants.ts. Part of epic #837 (Phase 1, #838).
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR842Version: 🤖 Updated on each push. |
neuromechanist
merged commit Jun 26, 2026
f32d2dd
into
feature/issue-837-epic-legacy-separation
1 check passed
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
Phase 1 of epic #837 (legacy nemar.org dataexplorer separation). Repoints the DOI
_targetand enrichment/README links from the legacyhttps://nemar.org/dataexplorer/detail?dataset_id=<id>to the canonicalhttps://nemar.org/dataset/<id>(version DOIs:?v=v<version>, the form ww2 honors).datasetLandingUrl(id)/datasetVersionLandingUrl(id, version)inshared/datacite-constants.ts(single source of truth).doi.ts(concept + version),admin.ts(DOI update x2, version refresh, release-body link, publish make-public),llm-enrich.ts(seed related-identifier),enrich-dataset.ts(repo description link).Code only; no existing DOI is mutated here. The Cloudflare forwarder (
nemar.org/dataset/*-> ww2, on the SCCN-owned zone) is applied as the Phase 1 infra step. Phase 2 bulk re-targets the ~1,182 existing EZID DOIs.Closes #838
Part of epic #837
Test plan
test/dataset-landing-url.test.ts(concept +?v=vversion forms; asserts nodataexplorer).test/datacite.test.tsandtest/ezid-sandbox.test.ts.bun testtargeted: 134 pass.bun run typecheckclean; Biome clean on changed src files.