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

Publish on MC Archive #51

Open
vgranata opened this issue Mar 28, 2024 · 0 comments
Open

Publish on MC Archive #51

vgranata opened this issue Mar 28, 2024 · 0 comments
Assignees

Comments

@vgranata
Copy link
Contributor

Valeria:
This will be done after production.
To discuss if to do it as suggested.

Francois wrote:

  • Write a CLI application to create draft records on MC Archive from shared records on BM Archive via the web API
  • application is intended to be used by any users of the archive
  • application could be installed in a virtual environment on a local machine as a Python package (pip install <package_name>)

group:

  • archive

subgroup:

  • materials-cloud

subgroup:

  • draft-record

commands:

  • create: create draft record on mc archive from a shared record on bm archive (if it does not already exist)

    • options:
      • --source-domain: domain name for the source archive where the shared record is stored - required
      • --source-token: personal access token on the source archive - required
      • --record: id of the shared record on the source archive - required
      • --destination-domain: domain name for the destination archive where a draft record is created - required
      • --destination-token: personal access token on the destination archive - required
      • --output: path to local folder where the output data is saved - optional
  • update: update existing draft record on mc archive from a shared record on bm archive

    • options:
      • --source-domain: domain name for the source archive where the shared record is stored - required
      • --source-token: personal access token on the source archive - required
      • --record: id of the shared record on the source archive - required
      • --destination-domain: domain name for the destination archive where a draft record is created - required
      • --destination-token: personal access token on the destination archive - required
      • --output: path to local folder where the output data is saved - optional
@vgranata vgranata assigned liotf and vgranata and unassigned liotf Mar 28, 2024
@vgranata vgranata added this to the After production milestone Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants