Skip to content

Record Git hash of library release in index #318

@per1234

Description

@per1234
Contributor

Describe the request

Record the Git hash of the release's tag in the libraries index.

🙂 It will be possible to conclusively ascertain which point in a library's Git revision history corresponds to a release in the index.

Describe the current behavior

The only versioning information available about a library release is the version number.

It is a common problem for library maintainers to forget to update the value of the version property in the library metadata before pushing a Git tag.

Significant effort is made in the libraries-repository-engine codebase to process Git tags in ascending chronological order, but this is not guaranteed.

Library maintainers sometimes later move published tags, or delete tags.

🙁 There may be ambiguity regarding exactly which point in a library's Git revision history corresponds to a release in the index.

libraries-repository-engine version

19f9d91

Issue checklist

  • I searched for previous requests in the issue tracker
    My request contains all necessary details

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: enhancementProposed improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @per1234

        Issue actions

          Record Git hash of library release in index · Issue #318 · arduino/libraries-repository-engine