Skip to content

Use object for version information #3

@bycruz

Description

@bycruz

Currently the registry just stores a table<version, string commit hash> assuming the package is hosted on git and that the repo never changes. But people will inevitably shift git hosts.

For #2 and other support, want something more future proof.

"0.1.0": {
  "git": "https://github.com/codebycruz/hood.git",
  "rev": "5d4bb28703d8f1c17a0e241810145194a51042f0"
}

I think this would be a good explicit replacement. Can do this while replacing the old string version since lde isn't pinned to 1.0 yet for stability to maintain old versions. But it also wouldn't be too hard to support both forms.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions