Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-16172

clone.py must use the specified remote alias

    XMLWordPrintable

    Details

    • Tags:
    • Sprint:
      DevOps Sprint 9
    • Story Points:
      1

      Description

      When a remote alias is provided (instead of the default "origin" name), that alias must be used on clone too. It is currently only used on fetch; leading to such issues:

      $ ./clone.py 5.8 -a -r nuxeo
      (...)
      [nuxeo-jboss-jca-configurator]
      $> git clone git@github.com:nuxeo/nuxeo-jboss-jca-configurator.git
      Clonage dans 'nuxeo-jboss-jca-configurator'...
      $> git checkout --track -b 5.8 nuxeo/5.8 -q
      fatal: Impossible de mettre à jour les chemins et de basculer sur la branche '5.8' en même temps.
      Souhaitiez-vous extraire 'nuxeo/5.8' qui ne peut être résolu comme commit ?
      [ERROR] Command 'git checkout --track -b 5.8 nuxeo/5.8 -q' returned non-zero exit code (128)

      The above issue happened because the clone of nuxeo-jboss-jca-configurator used origin as name.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.