Skip to content

Proposal: Store full location in published metadata versions #527

@thomashoneyman

Description

@thomashoneyman

Looking at the package location and ref in metadata will not be sufficient to know where a package was fetched from if a Transfer operation has been run.

If the transfer was from Git to Git then the refs may be preserved, and this will surely be the most common case. But there are other transfers that can happen, such as transferring a package within a repository by changing its subdir key. In that case, old refs will point to a repo in which the given subdir does not exist.

I think we should specify, in package metadata, the full location + ref that was used to package each version, instead of just a top-level location. The top-level location field in metadata would remain, of course, because it's possible to process a transfer without actually publishing a new version.

Alternately, if we don't really care if the published version location is fully accurate, then perhaps we don't even store this information in the first place?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions