G-Node / G-Node/gin-doi

Detect renamed repositories and broken links in landing pages

Open
#67 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

This functionality can be a small, constantly running worker (goroutine) in gin-doi that periodically checks the status of dataset landing pages. Broken links can occur for mainly two reasons:
1. The original source repository was renamed.
2. The original source repository was deleted.

In the first case, the badge on the repository and the link in the fork on GIN will be intact. The link to the source repository on the landing page should be updated. This should be done by updating the XML file and regenerating the landing page through the `make-html` command. The published metadata should also be updated.

In the second case, the link should be removed. The procedure should be the same: Update the XML file (remove the `relatedIdentifier`), regenerate the landing page, and update the published metadata.

A related situation (which hasn't occurred so far) is the owner of the repository making it private. This would also make the DOI fork private. In this case, it might be better to treat it like the second case, but also edit the DOI fork to make it a non-fork (or recreate it).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.