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

expose metadata about all hosted plugins, not just latest

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      update center's json API do offer metadata about lastest version of hosted plugin, but not about all versions. This prevent installing a specific version of a plugin by Configuration-asCode. Would also benefit Docker image install-plugin.sh script which guess the download URL based on de facto Update Center layout.

       

       

        Attachments

          Issue Links

            Activity

            Hide
            ndeloof Nicolas De Loof added a comment -

            requireUpperBoundsDeps only prevent to get an obsolete dependency that will break another plugin. It doesn't prevent you install a very old version of a plugin. I'm sorry you won't convinced me Maven can be used as a "plugin manager", it's role is to make dependency provisioning reproducible, not to solve dependency constraints.

            Show
            ndeloof Nicolas De Loof added a comment - requireUpperBoundsDeps only prevent to get an obsolete dependency that will break another plugin. It doesn't prevent you install a very old version of a plugin. I'm sorry you won't convinced me Maven can be used as a "plugin manager", it's role is to make dependency provisioning reproducible, not to solve dependency constraints.
            Hide
            jglick Jesse Glick added a comment -

            It doesn't prevent you install a very old version of a plugin.

            Of course not; why would it? If you do not want to install a very old version of some plugin, choose a newer version. You can use tools like mvn versions:use-latest-releases to automate this.

            Show
            jglick Jesse Glick added a comment - It doesn't prevent you install a very old version of a plugin. Of course not; why would it? If you do not want to install a very old version of some plugin, choose a newer version. You can use tools like mvn versions:use-latest-releases to automate this.
            Hide
            ndeloof Nicolas De Loof added a comment -

            with a combination of various plugins and extension this probably is feasible, but would be way more natural to have jenkins' PluginManager - which is supposed to address this need from within Jenkins - usable from CLI.

            Typically, we got recent request to handle implied plugins, which would make install-script a terrible beast and isn't something trivial to implement with Maven either, while PluginManager just does it by design.

            Show
            ndeloof Nicolas De Loof added a comment - with a combination of various plugins and extension this probably is feasible , but would be way more natural to have jenkins' PluginManager - which is supposed to address this need from within Jenkins - usable from CLI. Typically, we got recent request to handle implied plugins, which would make install-script a terrible beast and isn't something trivial to implement with Maven either, while PluginManager just does it by design.
            Hide
            danielbeck Daniel Beck added a comment -

            https://updates.jenkins-ci.org/current/plugin-versions.json is the attempt at providing the data from the server side.

            Show
            danielbeck Daniel Beck added a comment - https://updates.jenkins-ci.org/current/plugin-versions.json is the attempt at providing the data from the server side.
            Hide
            danielbeck Daniel Beck added a comment -

            Closing for now, but please ping me before you start using this for real.

            Show
            danielbeck Daniel Beck added a comment - Closing for now, but please ping me before you start using this for real.

              People

              • Assignee:
                danielbeck Daniel Beck
                Reporter:
                ndeloof Nicolas De Loof
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: