Projet

Général

Profil

Compiler24 » Historique » Version 23

Emmanuel GARETTE, 13/10/2016 10:15

1 1 Emmanuel GARETTE
h1. Compiler24
2 1 Emmanuel GARETTE
3 22 Emmanuel GARETTE
h2. Ajout des dépôts :
4 1 Emmanuel GARETTE
5 1 Emmanuel GARETTE
Ajouter (si ce n'est pas fait) le dépôt officiel de tiramisu ;
6 1 Emmanuel GARETTE
7 22 Emmanuel GARETTE
<pre>
8 22 Emmanuel GARETTE
git remote add lab git://git.labs.libre-entreprise.org/tiramisu.git
9 22 Emmanuel GARETTE
</pre>
10 1 Emmanuel GARETTE
11 22 Emmanuel GARETTE
h2. Configuration des variables
12 1 Emmanuel GARETTE
13 22 Emmanuel GARETTE
h3. sur 2.4
14 1 Emmanuel GARETTE
15 22 Emmanuel GARETTE
<pre>
16 22 Emmanuel GARETTE
BRANCHE_TIRAMISU=lab/1.0
17 22 Emmanuel GARETTE
BRANCHE_EOLE=1.0/master
18 22 Emmanuel GARETTE
DEPOT=eole-2.4-unstable
19 22 Emmanuel GARETTE
BRANCHE_PACKAGE=dist/ubuntu/precise/master
20 22 Emmanuel GARETTE
</pre>
21 1 Emmanuel GARETTE
22 22 Emmanuel GARETTE
h3. sur 2.5
23 1 Emmanuel GARETTE
24 22 Emmanuel GARETTE
<pre>
25 22 Emmanuel GARETTE
BRANCHE_TIRAMISU=lab/1.0
26 22 Emmanuel GARETTE
BRANCHE_EOLE=1.0/master
27 22 Emmanuel GARETTE
DEPOT=eole-2.5-unstable
28 22 Emmanuel GARETTE
BRANCHE_PACKAGE=dist/eole/2.5/master
29 22 Emmanuel GARETTE
</pre>
30 1 Emmanuel GARETTE
31 22 Emmanuel GARETTE
h3. sur 2.6.0
32 1 Emmanuel GARETTE
33 22 Emmanuel GARETTE
<pre>
34 22 Emmanuel GARETTE
BRANCHE_TIRAMISU=lab/2.0
35 22 Emmanuel GARETTE
BRANCHE_EOLE=2.6.0/master
36 22 Emmanuel GARETTE
DEPOT=eole-2.6.0/proposed-updates
37 22 Emmanuel GARETTE
BRANCHE_PACKAGE=eole-2.6/unstable 2.6.0/master
38 22 Emmanuel GARETTE
</pre>
39 1 Emmanuel GARETTE
40 22 Emmanuel GARETTE
h3. sur 2.6.1
41 1 Emmanuel GARETTE
42 22 Emmanuel GARETTE
<pre>
43 22 Emmanuel GARETTE
BRANCHE_TIRAMISU=lab/2.0
44 22 Emmanuel GARETTE
BRANCHE_EOLE=master
45 22 Emmanuel GARETTE
DEPOT=eole-2.6/unstable
46 22 Emmanuel GARETTE
BRANCHE_PACKAGE=eole-2.6/unstable 2.6.1/master
47 22 Emmanuel GARETTE
</pre>
48 1 Emmanuel GARETTE
49 22 Emmanuel GARETTE
h2. Récupération des nouveaux commits :
50 1 Emmanuel GARETTE
51 22 Emmanuel GARETTE
Faire la différence entre local et distant :
52 1 Emmanuel GARETTE
53 22 Emmanuel GARETTE
<pre>
54 22 Emmanuel GARETTE
git fetch lab
55 22 Emmanuel GARETTE
git checkout $BRANCHE_EOLE
56 22 Emmanuel GARETTE
git pull
57 22 Emmanuel GARETTE
</pre>
58 11 Emmanuel GARETTE
59 22 Emmanuel GARETTE
h2. Merge des branches
60 22 Emmanuel GARETTE
61 22 Emmanuel GARETTE
<pre>
62 22 Emmanuel GARETTE
git checkout $BRANCHE_EOLE
63 22 Emmanuel GARETTE
git merge $BRANCHE_TIRAMISU $BRANCHE_EOLE
64 22 Emmanuel GARETTE
git push
65 22 Emmanuel GARETTE
</pre>
66 22 Emmanuel GARETTE
67 22 Emmanuel GARETTE
h2. Création du paquet :
68 22 Emmanuel GARETTE
69 22 Emmanuel GARETTE
<pre>
70 22 Emmanuel GARETTE
git tag -m"version XXXX" release/XXXX
71 22 Emmanuel GARETTE
git push origin  release/XXXX
72 22 Emmanuel GARETTE
</pre>
73 22 Emmanuel GARETTE
74 22 Emmanuel GARETTE
<pre>
75 22 Emmanuel GARETTE
git package $BRANCHE_PACKAGE
76 22 Emmanuel GARETTE
git package -b -d $DEPOT $BRANCHE_PACKAGE
77 22 Emmanuel GARETTE
</pre>
78 22 Emmanuel GARETTE
79 1 Emmanuel GARETTE
*Attention* il faut sûrement faire un paquet tiramisu1 en 2.6 (pour Zéphir) :
80 1 Emmanuel GARETTE
81 23 Emmanuel GARETTE
<pre>
82 23 Emmanuel GARETTE
git package dist/eole/2.6.0/tiramisu1
83 23 Emmanuel GARETTE
git package -b -d eole-2.6/unstable 2.6.0/tiramisu1
84 23 Emmanuel GARETTE
</pre>