Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#35] Support multiple version of a stream #55

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Jun 1, 2022

  1. WIP: add stream.versions field to support multiple version

    Signed-off-by: Jeff Mesnil <[email protected]>
    jmesnil committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    b7ce729 View commit details
    Browse the repository at this point in the history
  2. [wildfly-extras#53] add baseVersion parameter to ChannelSession#resol…

    …veMavenArtifact
    
    This fixes wildfly-extras#53
    
    Signed-off-by: Jeff Mesnil <[email protected]>
    jmesnil committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    6735e43 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2022

  1. [wildfly-extras#35] Support multiple version of a stream

    * add a `stream.versions` field to be able to configure different
    * versions for the same artifact.
      This field is an object. Its keys are regular expressions that matches
      the base version of the artifact. The values are regular expressions
    that determins the latest version of the given base version
    
    As an example:
    
    ```
    streams:
    - groupId: "io.undertow"
      artifactId: "undertow-core"
      versions:
        "\Q1.0.0.Final\E": "\Q1.0.0.Final\E"
        "\Q2.0.0.Final\E": "2\..*"
    ```
    
    For the base version `1.0.0.Final`, it would also fetch the
    `1.0.0.Final` version.
    
    For the base version `2.0.0.Final`, it would fetch the latest version
    that matches `2\..*` (eg `2.3.4.Final`)
    
    This fixes wildfly-extras#35
    
    Signed-off-by: Jeff Mesnil <[email protected]>
    jmesnil committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    780ae84 View commit details
    Browse the repository at this point in the history