Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • 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 140
    • Issues 140
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • 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
  • Merge requests
  • !359

Merged
Created Jun 18, 2021 by David Sikter@dsikterDeveloper

Restructuring logic for setting the metadata

  • Overview 0
  • Commits 7
  • Pipelines 1
  • Changes 19

Simplifying the logic for setting the metadata. There should be three ways of setting user metadata:

  1. via json/yaml files defined by the user, included in the upload files
  2. via the entry api/entry methods,
  3. via the upload api/upload methods.

The upload api/methods should be used if and only if the field in question is defined on the upload level. This currently includes the attributes embargo_length, upload_name, uploader, upload_time (changing the last two requires admin privileges). The upload api/method should also ensure that the fields that are mirrored to entry metadata are consistently copied to all entries (which was not ensured previously). Old storage of compressed metadata in pickled files is removed.

Edited Jun 18, 2021 by David Sikter
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: refactor-metadata-processing