Project

General

Profile

Anomalie #6813

Si pas de branche de packaging locale alors erreur

Added by Alain Guichard over 7 years ago. Updated about 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
01/22/2014
Due date:
01/24/2014
% Done:

100%

Spent time:
Distribution:
EOLE 2.4

Description

git package dist/ubuntu/precise/master
fatal: ambiguous argument 'dist/ubuntu/precise/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
Mising release tag for non-native package.

You must create a version tag.

It will be used by the build system to calculate the package version.

No previous release tag found.

Associated revisions

Revision 596dbd54 (diff)
Added by Daniel Dehennin about 7 years ago

Switch to packaging branch as early as possible

If only remote packaging branches exist, asking to merge into it will
result in “unknown revision or path not in the working tree”.

We need to checkout the packaging branch before using it, this will
create it if it does not exists locally.

  • giteole-common (giteole_switch_to_branch): Checkout a branch and check
    if it's up-to-date.
  • giteole-package (_giteole_merge): Do not checkout the packaging branch.
  • git-package: Switch to packaging branch before using it.
    (CURRENT_TAG): Use ${CURRENT_BRANCH} explicitly.

Fixes: #6813 @15m

History

#1 Updated by Joël Cuissinat over 7 years ago

  • Target version changed from Eole 2.4-beta3 to Eole 2.4-RC2

#2 Updated by Daniel Dehennin about 7 years ago

  • Status changed from Nouveau to En attente d'informations
  • Start date set to 01/22/2014

Avec git-package version 1.0.28

moi@work:~/src/project-without-packag-branch$ git package dist/ubuntu/precise/master
Error: No dist/ubuntu/precise/master distribution branch for 'dist/ubuntu/precise/master' exists.

You must create one to use /home/moi/bin/git-package.

http://dev-eole.ac-dijon.fr/projects/eole/wiki/GitPackaging

Est-il possible d’essayer avec la dernière version ?

#3 Updated by Daniel Dehennin about 7 years ago

  • Status changed from En attente d'informations to Accepté
  • Assigned To set to Daniel Dehennin

J’ai trouvé le problème.

Un certains nombre d’informations est tiré de la branche de packaging, mais si elle n’existe pas localement ces commandent ne renvoient rien.

Il vont donc basculer sur la branche de packaging aussi tôt que possible.

#4 Updated by Daniel Dehennin about 7 years ago

  • Status changed from Accepté to Résolu
  • % Done changed from 0 to 100

#5 Updated by Daniel Dehennin about 7 years ago

  • Due date set to 01/24/2014
  • Target version changed from Eole 2.4-RC2 to Eole 2.4-RC1

#6 Updated by Joël Cuissinat about 7 years ago

  • Status changed from Résolu to Fermé
jojo-zotac:~/git/conf-scribe(master)$ git package dist/ubuntu/precise/master
Checkout branch 'dist/ubuntu/precise/master': Branch dist/ubuntu/precise/master set up to track remote branch dist/ubuntu/precise/master from origin.
Switched to a new branch 'dist/ubuntu/precise/master'
Pull from default remote: Already up-to-date.
Nothing in 'master' to merge in 'dist/ubuntu/precise/master'
Switch to the developpement branch 'master'... Switched to branch 'master'
jojo-zotac:~/git/conf-scribe(master)$ 

Also available in: Atom PDF