Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • S swh-deposit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 54
    • Issues 54
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Platform
  • Development
  • swh-deposit
  • Issues
  • #1755
Closed
Open
Issue created May 24, 2019 by Morane Otilia Gruenpeter@moraneggMaintainer

Create artifact release when 'releaseNotes' is in metadata

When depositing in SWH different software artifacts are created to ingest the content and metadata of the deposit. origin- snapshot -HEAD branch- revision with metadata- root directory- content At present, there is no notion of release, but the deposits from HAL are in fact releases.

On the other hand, not all deposits need a release. This is why only deposits with releaseNotes and softwareVersion are concerned and the entry for this metadata should be the message of the release.

Here is the mapping table between terms and SWH release fields:

| **Metadata term ** | Fallback value | SWH release field | Description | | X | X | target | revision containing all metadata| | X | X | target_type | hard-coded: 'revision' | | softwareVersion | X | name | release name if any | | releaseNote | X | message | release message if any | | datePublished |deposit_date| date | publication date |

One use case for the releases is with using Wikidata identifier on HAL deposits. When pointing to SWH from Wikidata we can only use the swh:1:rel:<id> property. We wish for T1752 to have links from software entities in Wikidata to software releases archived in SWH.


Migrated from T1755 (view on Phabricator)

Edited Jan 07, 2023 by Phabricator Migration user
Assignee
Assign to
Time tracking