summaryrefslogtreecommitdiff
path: root/tickets/df3c06a33121403aaf655e18065611a9/Maildir/new/1529497867.M741868P10866Q1.koom
blob: 810a99f0e8310dc5e8eda913d33a650040d30286 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
Return-Path: <ick-discuss-bounces@ick.liw.fi>
X-Original-To: distix@pieni.net
Delivered-To: distix@pieni.net
Received: from yaffle.pepperfish.net (yaffle.pepperfish.net [88.99.213.221])
	by pieni.net (Postfix) with ESMTPS id 63B1E42E05
	for <distix@pieni.net>; Wed, 20 Jun 2018 12:30:53 +0000 (UTC)
Received: from platypus.pepperfish.net (unknown [10.112.101.20])
	by yaffle.pepperfish.net (Postfix) with ESMTP id 21617414F5
	for <distix@pieni.net>; Wed, 20 Jun 2018 13:30:53 +0100 (BST)
Received: from ip6-localhost.nat ([::1] helo=platypus.pepperfish.net)
	by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
	id 1fVcGD-0004fY-2Z; Wed, 20 Jun 2018 13:30:53 +0100
Received: from koom.pieni.net ([88.99.190.206] helo=pieni.net)
 by platypus.pepperfish.net with esmtpsa (Exim 4.80 #2 (Debian))
 id 1fVcGB-0004fI-Mw
 for <ick-discuss@ick.liw.fi>; Wed, 20 Jun 2018 13:30:51 +0100
Received: from exolobe1 (unknown [194.111.46.68])
 by pieni.net (Postfix) with ESMTPSA id 1D6554162A
 for <ick-discuss@ick.liw.fi>; Wed, 20 Jun 2018 12:30:51 +0000 (UTC)
Message-ID: <aa1c2a3004b3c67ad6bfa17911146e996e9159ba.camel@liw.fi>
From: Lars Wirzenius <liw@liw.fi>
To: ick discussions <ick-discuss@ick.liw.fi>
Date: Wed, 20 Jun 2018 15:30:49 +0300
X-Mailer: Evolution 3.28.2-1 
Mime-Version: 1.0
X-Pepperfish-Transaction: a830-921a-94b1-f95c
X-Pepperfish-Transaction-By: platypus
Subject: Ick and checking out source from git
X-BeenThere: ick-discuss@ick.liw.fi
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: discussions about the ick CI system <ick-discuss-ick.liw.fi>
List-Unsubscribe: <https://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/ick-discuss-ick.liw.fi>,
 <mailto:ick-discuss-request@ick.liw.fi?subject=unsubscribe>
List-Archive: <http://listmaster.pepperfish.net/pipermail/ick-discuss-ick.liw.fi>
List-Post: <mailto:ick-discuss@ick.liw.fi>
List-Help: <mailto:ick-discuss-request@ick.liw.fi?subject=help>
List-Subscribe: <https://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/ick-discuss-ick.liw.fi>,
 <mailto:ick-discuss-request@ick.liw.fi?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0839407748472304844=="
Mime-version: 1.0
Sender: ick-discuss-bounces@ick.liw.fi
Errors-To: ick-discuss-bounces@ick.liw.fi


--===============0839407748472304844==
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-/W0BZBlGLixhLSlOHgNU"


--=-/W0BZBlGLixhLSlOHgNU
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

(Long mail, question at end.)

I set up a demo instance of git and invited Daniel to try it. (If anyone
else wants to have a go, let me know privately.)

One of the issues Daniel found is that ick does not yet support well is
building a source tree from a stack of git repositories. This is something
Daniel does to keep his upstream code and its Debian packaging separate.
Basically, the upstream code lives at:

    git://git.example.com/foo.git

The Debian packaging lives at:

    git://git.example.com/foo-debian.git

These are meant to be stacked:

    git clone git://git.example.com/foo.git
    cd foo
    git clone git://git.example.com/foo-debian.git

This actuall does work with ick right now, but only for public repositories
that can be accessed without authentication.

Ick has a "git" action that can be used when using the ssh protocol, which
does require authentication. This uses the worker's ssh key, but only
supports one URL:

    action: git
    where: host

This uses the project parmaeters git_url, git_dir, and git_ref:

    parameters:
       git_url: ssh://git@git.example.com/foo.git
       git_ref: master
       git_dir: foo

The above parametgers would tell the git action to clone the foo.git
repository to the foo directory in the workspace (checking out the master
branch).  This works, but only for one repository. Daniel needs at least
two (or would need, if his repositories weren't public).

I'd like to support this for any number of repositories. I suggest the
following:

    parameters:
        git:
        - url: ssh://git@git.example.com/foo.git
          ref: master
          dir: foo
        - url: ssh://git@git.example.com/foo-debian.git
          ref: master
          dir: foo/debian

The above would do the same things as the two git clones above.

What do you all think? Especially you, Daniel? Would that be an acceptable
design (at least for now)?
--=-/W0BZBlGLixhLSlOHgNU
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEETNTnrewG6wEE1EJ3bC+mFux6IDEFAlsqSPkACgkQbC+mFux6
IDGJDRAAodlVK2Ncth91YsPbbx1AHK2P4Z0lNL3HYNEekUKfYyGRy+0UBsGfZ8qZ
GtNhJJHT2TnYE17P58zfQE98aO1eWv0KueLNqUgDJUdDaw+I+rIzaK6wx4eqEGok
xRvxqyP6tx+fZdMY8lrIwi8QVBUuuwuOVyA91snyeiFuh3utekp2K59Bd5sKacNR
uj0xKMQOWm1lY561Q+uOVnfZASVhIceCnJ5BwuXN2vgpjr5AZDIuTd/JKp1Fp602
KnFfPFMBgysjIfWjkIWD3y4iNgvHnikufVrCOPSwn8DgWbGA4WqSSNwmmO483oK8
b3ETCwD7pOSyyTedWcsL3/TI032SFtTjfuVbWyqCDVKBY+SBiCcOdnCvXgKwz3yE
maFNgdmpDMoTsl48A8zL60Tr8FD2ZhqXG3oxriziXgMYSsZDC50IBnyDPiy8ZpUc
EyqKlD0l21xjmOjklnfasPXbVP5ApPvXNXkNp9rDst5wImVRUSdMkRhKD5f37nV0
qNiISlEjzV5dK++I1e/rvK/c4pK2vBc5ydztSe7DFNSviV93otd7sD9B07AfPaxz
W6eyoZ5wHKkH2PMbLiyPWfJsr4fTzUIpTtHozrdsO0KZ6hXQramu66yefUsI9a2g
GDjPub2QAivWvVB9fAcfwJWnDKQSzRw8G6sHm6Ss7q3rM+btXss=
=9KtK
-----END PGP SIGNATURE-----

--=-/W0BZBlGLixhLSlOHgNU--



--===============0839407748472304844==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ick-discuss mailing list
ick-discuss@ick.liw.fi
https://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/ick-discuss-ick.liw.fi

--===============0839407748472304844==--