Projet

Général

Profil

Compiler24 » Historique » Version 37

Version 36 (Joël Cuissinat, 28/02/2018 10:02) → Version 37/38 (Joël Cuissinat, 28/02/2018 10:02)

h1. Compiler24

h2. 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);

<pre>
git remote add lab https://forge.cadoles.com/Cadoles/tiramisu.git
</pre>

h2. Configuration des variables

h3. sur 2.4

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

h3. sur 2.5

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

h3. sur 2.6.0

<pre>
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
</pre>

h3. sur 2.6.1

<pre>
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
</pre>

h3. sur 2.6.2

<pre>
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
</pre>

h3. sur 2.6.3

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

h2. Récupération des nouveaux commits :

Faire la différence entre local et distant :

<pre>
git fetch lab
git checkout $BRANCHE_EOLE
git pull
</pre>

h2. Merge des branches

<pre>
git checkout $BRANCHE_EOLE
git merge $BRANCHE_TIRAMISU $BRANCHE_EOLE
git push
</pre>

h2. Création du paquet :

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

<pre>
TAG=XXXX
git tag -m"version $TAG" release/$TAG
git push origin release/$TAG
</pre>

<pre>
git package $BRANCHE_PACKAGE
git package -b -d $DEPOT $BRANCHE_PACKAGE
</pre>

*Attention* il faut sûrement faire un paquet tiramisu1 en 2.6 (pour le support 2.5 sur Zéphir 2.6) 2.5) :

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