Projet

Général

Profil

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 framagit https://framagit.org/tiramisu/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/2.1
BRANCHE_EOLE=2.6.1/master
DEPOT=eole-2.6.1/proposed-updates
BRANCHE_PACKAGE=dist/eole/2.6.1/master

sur 2.6.2

BRANCHE_TIRAMISU=lab/2.1
BRANCHE_EOLE=2.6.2/master
DEPOT=eole-2.6.2/proposed-updates
BRANCHE_PACKAGE=dist/eole/2.6.2/master

sur 2.6.3

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

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 le support 2.5 sur Zéphir 2.6) :

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