Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5424

Pushing invalid branch name to fabric git breaks version-list

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Optional
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.3
    • Fix Version/s: None
    • Component/s: Fabric8 v1
    • Labels:
      None
    • Steps to Reproduce:
      • clone fabric git
      • git checkout -b "12/34"
      • git push origin "12/34"
      • version-list

      Description

      If you push a branch with invalid name (that does not match version name regex) directly to git (thus creating a new version in fabric), it breaks version-list (and probably more things) and you won't be able to list the versions:

      JBossFuse:karaf@root> version-list
      Error executing command: java.lang.IllegalArgumentException: Profile name '12/34' is invalid. Profile name must be: letters, numbers, and . _ or - characters
      

      The question is why would someone do that - maybe someone who is not familiar with the version name standards.

      If you think this is not worth hacking, feel free to close the issue directly.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                oscerd Andrea Cosentino
                Reporter:
                avano Andrej Vaňo
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: