Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

legacy: migrated files redirection #183

Open
kpsherva opened this issue Aug 2, 2024 · 0 comments
Open

legacy: migrated files redirection #183

kpsherva opened this issue Aug 2, 2024 · 0 comments
Assignees
Labels
migration Migration task
Milestone

Comments

@kpsherva
Copy link
Contributor

kpsherva commented Aug 2, 2024

The old URL path should still work and directly link to the file and versions should redirect correctly to the new one.
Double-check all possible URLs path/routes. It looks like that there is some code done here, but it might not take into account URL params (and we should).

from #129

  1. Find all the possible instances of MIGRATED in the current CDS, understand how it works
  2. prepare code modifications to redirect MIGRATED records also with the entire subpath/query string. Be aware that redirection is already in place for CDS Videos and CLC, and we need to test that we don't break those after the modifications.
  3. in CDS-RDM, implement something similar to Zenodo redirector to re-map the incoming redirection from current CDS, transform the URL, and re-redirect the final place. Example of possible final URL this.

We need to take into account the multiple versions of a file.

Have a look to the migration code in cds-migrator-kit.

@kpsherva kpsherva added the migration Migration task label Aug 2, 2024
@ntarocco ntarocco added this to the SSPN milestone Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
migration Migration task
Projects
None yet
Development

No branches or pull requests

3 participants