Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3839

cfbs add Github_REPOURL_WITH_BRANCH

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Open
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cfbs
    • Labels:
      None

      Description

      It would be nice if I could cfbs add a repository url with a branch name so that I could more easily test changes across various hosts before updating the main/master branch.

      Currently if I try to use a url wiht abranch name, e.g. https://github.com/nickanderson/cfengine-local_users/tree/refactor-names I get an error cloning.

      [root@hub cfbs]# cfbs add https://github.com/nickanderson/cfengine-local_users/tree/refactor-names
      Error: Command failed - git clone https://github.com/nickanderson/cfengine-local_users/tree/refactor-names /root/.cfengine/cfbs/downloads/github.com/nickanderson/cfengine-local_users/tree/refactor-names/master
      Cloning into '/root/.cfengine/cfbs/downloads/github.com/nickanderson/cfengine-local_users/tree/refactor-names/master'...
      fatal: repository 'https://github.com/nickanderson/cfengine-local_users/tree/refactor-names/' not found
      
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            a10042 Nick Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: