Projet

Général

Profil

Compiler24 » Historique » Version 30

« Précédent - Version 30/38 (diff) - Suivant » - Version actuelle
Emmanuel GARETTE, 26/05/2017 13:59


Compiler24

Ajout des dépôts :

Ajouter (si ce n'est pas fait) le dépôt officiel de tiramisu (se placer dans le dépot tiramisu d'EOLE);

git remote add lab git://git.labs.libre-entreprise.org/tiramisu.git

Configuration des variables

sur 2.4

BRANCHE_TIRAMISU=lab/1.0
BRANCHE_EOLE=1.0/master
DEPOT=eole-2.4-unstable
BRANCHE_PACKAGE=dist/ubuntu/precise/master

sur 2.5

BRANCHE_TIRAMISU=lab/1.0
BRANCHE_EOLE=1.0/master
DEPOT=eole-2.5-unstable
BRANCHE_PACKAGE=dist/eole/2.5/master

sur 2.6.0

BRANCHE_TIRAMISU=lab/2.0
BRANCHE_EOLE=2.6.0/master
DEPOT=eole-2.6.0/proposed-updates
BRANCHE_PACKAGE=dist/eole/2.6.0/master

sur 2.6.1

BRANCHE_TIRAMISU=lab/master
BRANCHE_EOLE=2.6.0/master
DEPOT=eole-2.6/unstable
BRANCHE_PACKAGE=dist/eole/2.6.1/master

sur 2.6.2

BRANCHE_TIRAMISU=lab/master
BRANCHE_EOLE=master
DEPOT=eole-2.6/unstable
BRANCHE_PACKAGE=dist/eole/2.6.2/master

h2. Récupération des nouveaux commits :

Faire la différence entre local et distant :

git fetch lab
git checkout $BRANCHE_EOLE
git pull

Merge des branches

git checkout $BRANCHE_EOLE
git merge $BRANCHE_TIRAMISU $BRANCHE_EOLE
git push

Création du paquet :

Pour retrouver le dernier tag utilisé : git describe
et ajouter 1 au dernier chiffre pour avoir le nouveau.

TAG=XXXX
git tag -m"version $TAG" release/$TAG
git push origin  release/$TAG
git package $BRANCHE_PACKAGE
git package -b -d $DEPOT $BRANCHE_PACKAGE

Attention il faut sûrement faire un paquet tiramisu1 en 2.6 (pour Zéphir) :

git package dist/eole/2.6.0/tiramisu1
git package -b -d eole-2.6/unstable 2.6.0/tiramisu1