Projet

Général

Profil

Anomalie #6813

Si pas de branche de packaging locale alors erreur

Ajouté par Alain Guichard il y a plus de 10 ans. Mis à jour il y a environ 10 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Début:
22/01/2014
Echéance:
24/01/2014
% réalisé:

100%

Temps passé:
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.

Révisions associées

Révision 596dbd54 (diff)
Ajouté par Daniel Dehennin il y a environ 10 ans

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

Historique

#1 Mis à jour par Joël Cuissinat il y a plus de 10 ans

  • Version cible changé de Eole 2.4-beta3 à Eole 2.4-RC2

#2 Mis à jour par Daniel Dehennin il y a environ 10 ans

  • Statut changé de Nouveau à En attente d'informations
  • Début mis à 22/01/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 Mis à jour par Daniel Dehennin il y a environ 10 ans

  • Statut changé de En attente d'informations à Accepté
  • Assigné à mis à 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 Mis à jour par Daniel Dehennin il y a environ 10 ans

  • Statut changé de Accepté à Résolu
  • % réalisé changé de 0 à 100

#5 Mis à jour par Daniel Dehennin il y a environ 10 ans

  • Echéance mis à 24/01/2014
  • Version cible changé de Eole 2.4-RC2 à Eole 2.4-RC1

#6 Mis à jour par Joël Cuissinat il y a environ 10 ans

  • Statut changé de Résolu à 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)$ 

Formats disponibles : Atom PDF