Skip to content

Feed. Add information about tag for all versions #564

@smaant

Description

@smaant

It would be useful to know tag not only for the latest version but for all available versions. I suggest adding :tags key into :scm dict like:

{:group-id "group",
 :artifact-id "artifact",
 :description "Some description",
 :scm
 {:connection "scm:git:git://github.com/group/artifact.git",
  :developer-connection "scm:git:ssh://git@github.com/group/artifact.git",
  :tag "29b16d393ae4c27eada2f5c5ca2df8e7ab8da2cb",
  :url "https://github.com/group/artifact",
  ;; --- new key ---
  :tags [{:version "0.1.2-SNAPSHOT" :tag "29b16d393ae4c27eada2f5c5ca2df8e7ab8da2cb"},
         {:version "0.1.1"          :tag null},
         {:version "0.1.0"          :tag "46cc0a88de67f984e8a3bdebd61fc17a2363f4c1"}]},
  ;; ---------------
 :homepage "http://github.com/group/artifact",
 :url "http://github.com/group/artifact",
 :versions ["0.1.2-SNAPSHOT" "0.1.1" "0.1.0"]}

In case of some (or all) version don't have a tag, the value will be null.
Altering is backward compatible and should not affect current users of the feed file.

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