Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-6790

Branch with commas are not supported

XMLWordPrintable

    • 3
    • False
    • None
    • False
    • Hide
      This commit introduces support for using commas within annotations by
      allowing users to escape them with the HTML entity ,. This let the user have some branches in a pac array to have a comma.

      example:

      Sure, here is the corrected version with improved English:

      ```yaml
      pipelinesascode.tekton.dev/on-target-branch: [main, release,nightly]

      ```

      This will match a branch called main or release,nightly
      Show
      This commit introduces support for using commas within annotations by allowing users to escape them with the HTML entity ,. This let the user have some branches in a pac array to have a comma. example: Sure, here is the corrected version with improved English: ```yaml pipelinesascode.tekton.dev/on-target-branch: [main, release,nightly] ``` This will match a branch called main or release,nightly

      Description of problem:

      On paac when you have a multiple branch match with commas, it would not be supported since commas is used as delimeters

      For example

       

      if you have a branch name called main,,1

      you can't say:

       

       pipelinesascode.tekton.dev/on-target-branch: "[main,,1]"

       

      since comma is a delimeter

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

       # <steps>

       

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

              cboudjna@redhat.com Chmouel Boudjnah
              cboudjna@redhat.com Chmouel Boudjnah
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: