Projet

Général

Profil

Compiler24 » Historique » Version 35

Joël Cuissinat, 28/02/2018 09:51

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 28 Lionel Morin
Ajouter (si ce n'est pas fait) le dépôt officiel de tiramisu (se placer dans le dépot tiramisu d'EOLE);
6 1 Emmanuel GARETTE
7 22 Emmanuel GARETTE
<pre>
8 35 Joël Cuissinat
git remote add lab https://forge.cadoles.com/Cadoles/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 25 Emmanuel GARETTE
BRANCHE_PACKAGE=dist/eole/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 32 Emmanuel GARETTE
BRANCHE_TIRAMISU=lab/2.1
44 33 Emmanuel GARETTE
BRANCHE_EOLE=2.6.1/master
45 31 Emmanuel GARETTE
DEPOT=eole-2.6.1/proposed-updates
46 25 Emmanuel GARETTE
BRANCHE_PACKAGE=dist/eole/2.6.1/master
47 22 Emmanuel GARETTE
</pre>
48 1 Emmanuel GARETTE
49 30 Emmanuel GARETTE
h3. sur 2.6.2
50 30 Emmanuel GARETTE
51 30 Emmanuel GARETTE
<pre>
52 1 Emmanuel GARETTE
BRANCHE_TIRAMISU=lab/2.1
53 33 Emmanuel GARETTE
BRANCHE_EOLE=2.6.2/master
54 33 Emmanuel GARETTE
DEPOT=eole-2.6.2/proposed-updates
55 33 Emmanuel GARETTE
BRANCHE_PACKAGE=dist/eole/2.6.2/master
56 33 Emmanuel GARETTE
</pre>
57 33 Emmanuel GARETTE
58 33 Emmanuel GARETTE
h3. sur 2.6.3
59 33 Emmanuel GARETTE
60 33 Emmanuel GARETTE
<pre>
61 33 Emmanuel GARETTE
BRANCHE_TIRAMISU=lab/2.1
62 1 Emmanuel GARETTE
BRANCHE_EOLE=master
63 30 Emmanuel GARETTE
DEPOT=eole-2.6/unstable
64 33 Emmanuel GARETTE
BRANCHE_PACKAGE=dist/eole/2.6.3/master
65 30 Emmanuel GARETTE
</pre>
66 34 Joël Cuissinat
67 22 Emmanuel GARETTE
h2. Récupération des nouveaux commits :
68 1 Emmanuel GARETTE
69 22 Emmanuel GARETTE
Faire la différence entre local et distant :
70 1 Emmanuel GARETTE
71 22 Emmanuel GARETTE
<pre>
72 22 Emmanuel GARETTE
git fetch lab
73 22 Emmanuel GARETTE
git checkout $BRANCHE_EOLE
74 22 Emmanuel GARETTE
git pull
75 22 Emmanuel GARETTE
</pre>
76 11 Emmanuel GARETTE
77 22 Emmanuel GARETTE
h2. Merge des branches
78 22 Emmanuel GARETTE
79 22 Emmanuel GARETTE
<pre>
80 22 Emmanuel GARETTE
git checkout $BRANCHE_EOLE
81 22 Emmanuel GARETTE
git merge $BRANCHE_TIRAMISU $BRANCHE_EOLE
82 22 Emmanuel GARETTE
git push
83 22 Emmanuel GARETTE
</pre>
84 22 Emmanuel GARETTE
85 22 Emmanuel GARETTE
h2. Création du paquet :
86 22 Emmanuel GARETTE
87 29 Lionel Morin
Pour retrouver le dernier tag utilisé : @git describe@
88 29 Lionel Morin
et ajouter 1 au dernier chiffre pour avoir le nouveau.
89 29 Lionel Morin
90 22 Emmanuel GARETTE
<pre>
91 26 Emmanuel GARETTE
TAG=XXXX
92 26 Emmanuel GARETTE
git tag -m"version $TAG" release/$TAG
93 26 Emmanuel GARETTE
git push origin  release/$TAG
94 22 Emmanuel GARETTE
</pre>
95 22 Emmanuel GARETTE
96 22 Emmanuel GARETTE
<pre>
97 22 Emmanuel GARETTE
git package $BRANCHE_PACKAGE
98 22 Emmanuel GARETTE
git package -b -d $DEPOT $BRANCHE_PACKAGE
99 22 Emmanuel GARETTE
</pre>
100 22 Emmanuel GARETTE
101 1 Emmanuel GARETTE
*Attention* il faut sûrement faire un paquet tiramisu1 en 2.6 (pour Zéphir) :
102 1 Emmanuel GARETTE
103 23 Emmanuel GARETTE
<pre>
104 23 Emmanuel GARETTE
git package dist/eole/2.6.0/tiramisu1
105 23 Emmanuel GARETTE
git package -b -d eole-2.6/unstable 2.6.0/tiramisu1
106 23 Emmanuel GARETTE
</pre>