Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • nomad-FAIR nomad-FAIR
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 107
    • Issues 107
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nomad-lab
  • nomad-FAIRnomad-FAIR
  • Issues
  • #652

Closed
Open
Created Nov 01, 2021 by Markus Scheidgen@mscheidgOwner3 of 3 tasks completed3/3 tasks

More features for nomad admin upgrade migrate-mongo CLI

These features would be super helpful for the data-migration:

  • add a check if any dataset used in entries does actually exists. I migrated some entries that had a dataset_id in metadata.datasets which did not exist in the source db's datasets collection. The --fix option should auto remove these non existing datasets from the entries. There should be an error log of course.
  • parameters entry-update and upload-update that both take a dict and are applied to the upload and entry documents at the end. This would allow me to overwrite e.g. process status, nomad version, etc. Things that would make it easier to query for new additions
  • a flag that allows to run with the same query twice without even considering those uploads that are already present on the other side. This helps to quickly fetch new uploads or uploads that were skipped for some reason.
Edited Nov 22, 2021 by David Sikter
Assignee
Assign to
Time tracking