Skip to content
GitLab
Projects Groups Topics 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
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

On Monday, June 12, 2023, from 9.00 to 10.00 am there will be a maintenance with a short downtime of the GitLab service.

  • nomad-labnomad-lab
  • nomad-FAIRnomad-FAIR
  • Merge requests
  • !359

Restructuring logic for setting the metadata

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged David Sikter requested to merge refactor-metadata-processing into v0.11.0 Jun 18, 2021
  • 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
Reviewers
Request review from
Time tracking
Source branch: refactor-metadata-processing