Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-2240

Support GitHub topics as plugin labels

    Details

    • Similar Issues:

      Description

      Currently Plugin labels are either managed through Wiki or through https://github.com/jenkins-infra/update-center2/blob/master/src/main/resources/label-definitions.properties . It would be great to also support GitHub Topics as a source of the label metadata to that Plugin Maintainers can easily manage them.

      Maybe it should be done in the Update Center scrubber.

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            CC Daniel Beck for sanity check

            Show
            oleg_nenashev Oleg Nenashev added a comment - CC Daniel Beck for sanity check
            Hide
            danielbeck Daniel Beck added a comment -

            There's no really reliable mapping from plugin to repo, but if we accept that, and find an implementation that doesn't slow down update center builds while also being economical about GH API limits, I don't see why not. This looks like a great idea if we can address possible implementation problems.

            Show
            danielbeck Daniel Beck added a comment - There's no really reliable mapping from plugin to repo, but if we accept that, and find an implementation that doesn't slow down update center builds while also being economical about GH API limits, I don't see why not. This looks like a great idea if we can address possible implementation problems.
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            https://developer.github.com/v3/repos#list-all-topics-for-a-repository for API. We could add GtHub polling to the update site logic, but I am not sure about the rate limit either.

            OTOH we can use https://developer.github.com/v3/repos/#list-organization-repositories for a bulk request across the organization.

            Both options require using the preview API, but I believe we can do so

            Show
            oleg_nenashev Oleg Nenashev added a comment - https://developer.github.com/v3/repos#list-all-topics-for-a-repository  for API. We could add GtHub polling to the update site logic, but I am not sure about the rate limit either. OTOH we can use  https://developer.github.com/v3/repos/#list-organization-repositories  for a bulk request across the organization. Both options require using the preview API, but I believe we can do so

              People

              • Assignee:
                halkeye Gavin Mogan
                Reporter:
                oleg_nenashev Oleg Nenashev
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: