Coder Social home page Coder Social logo

migration: URL redirections about zenodo-rdm HOT 5 CLOSED

slint avatar slint commented on September 26, 2024
migration: URL redirections

from zenodo-rdm.

Comments (5)

kpsherva avatar kpsherva commented on September 26, 2024

#102 I think these are duplicates?

from zenodo-rdm.

slint avatar slint commented on September 26, 2024

#102 I think these are duplicates?

Not really, #102 is about the ES mappings changes, and having to translate some fields to their new names (e.g. keywords becomes subjects now). I can clarify a bit more on the issue.

from zenodo-rdm.

alejandromumo avatar alejandromumo commented on September 26, 2024

Some URLs from Zenodo might not be valid anymore (e.g. got rewritten to something else). In those cases, we need to redirect the old endpoint to the new one. As done here https://github.com/zenodo/zenodo/blob/master/zenodo/modules/redirector/views.py

As a first step, I will list which URLs from zenodo do not match in zenodo-rdm

from zenodo-rdm.

alejandromumo avatar alejandromumo commented on September 26, 2024

The list of URLs that do not match in zenodo-rdm is the following:

# '/account/settings/github/rejected',
# '/account/settings/github/hook',
# '/beta-features',
# '/sitemap.xml',
# '/account/settings/sharedlinks/static/<path:filename>',
# '/account/settings/github/repository/<path:name>',
# '/account/settings/github/static/<path:filename>',
# '/account/settings/github/hook/<action>/<repo_id>',
# '/account/settings/sessions/revoke',
# '/account/settings/sharedlinks',
# '/account/settings/github',
# '/account/settings/applications/clients/<string:client_id>/reset',
# '/account/settings/sharedlinks/accessrequest/<int:request_id>',
# '/record/<pid_value>/accessrequest/<token>/confirm',
# '/record/<pid(recid,record_class="zenodo.modules.records.api:ZenodoRecord"):pid_value>/admin/delete',
# '/communities/static/<path:filename>',
# '/sitemap<int:page>.xml',
# '/search/static/<path:filename>',
# '/record/static/<path:filename>',
# '/record/<pid(recid,record_class="zenodo.modules.records.api:ZenodoRecord"):pid_value>/registerconceptdoi',
# '/record/<pid_value>/accessrequest',
# '/record/<pid(recid,record_class="zenodo.modules.records.api:ZenodoRecord"):pid_value>/newversion',
# '/badge/latestdoi/<int:user_id>/<path:repo_name>',
# '/badge/latestdoi/<int:github_id>',
# '/badge/static/<path:filename>',
# '/badge/<int:github_id>.svg',
# '/badge/<int:user_id>/<path:repo_name>.svg',

# The following routes can be redirected in this task

'/deposit/<pid_value>',
'/schemas/<path:schema_path>',
'/record/<pid_value>',
'/record/<pid(recid,record_class="zenodo.modules.records.api:ZenodoRecord"):pid_value>',
'/communities/<string:community_id>/curate',
'/communities/<string:community_id>/about',
'/communities/<string:community_id>/edit',
'/record/<pid_value>/preview/<path:filename>',
'/record/<pid_value>/formats',
'/record/<pid_value>/export/<any(csl, hx, xn, schemaorg_jsonld, xm, dcite, '
'ef, json, xd, xe, dcite3, geojson, dcite4, hm, dcat, cp, xw):format>',
'/record/<pid_value>/thumb<thumbnail_size>',
'/record/<pid_value>/files/<path:filename>',
'/communities/<string:community_id>/search',
'/deposit',
'/favicon.ico',
'/deposit/new',

from zenodo-rdm.

alejandromumo avatar alejandromumo commented on September 26, 2024

Migrated routes:

  • /communities/about/<id>/,
  • /collection/<type>,
  • /collection/user-<id>,
  • /communities/<community_id>/curate,
  • /communities/<community_id>/about,
  • /communities/<community_id>/edit,
  • /communities/<community_id>/search,
  • /dev,
  • /faq,
  • /features,
  • /whatsnew,
  • /about,
  • /contact,
  • /policies,
  • /privacy-policy,
  • /terms,
  • /donate,
  • /deposit/<pid_value>,
  • /record/<pid_value>,
  • /record/<pid_value>/export/<export_format>,
  • /record/<pid_value>/files/<filename>,
  • /deposit,
  • /deposit/new,
  • /record/<pid_value>/preview/<filename>,

The following were not migrated yet:

  • /schemas/<path:schema_path>,
  • /record/<pid_value>/formats,
  • /record/<pid_value>/thumb<thumbnail_size>,

from zenodo-rdm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.