You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by James Page <ja...@ubuntu.com> on 2012/03/20 12:52:17 UTC
Debian packaging format for Bigtop 0.4.0/+1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi Fellow Bigtoppers!
I'd like to propose upgrading the Debian package format for all bigtop
packages to source format 3.0 (see [0]) and increase the minimum
debhelper revision to 7.
This change will bring a few benefits
1) Quilt based patching is a integral part of source format 3.0 - I
know we don't carry patches in bigtop trunk but if some wanted to this
change makes it much easier.
Patches reside in debian/patches with a debian/patches/series file
which describes the order in which they should be applied - I guess
this could be used in the RPM packages as well?
2) debhelper overrides and general magic
The current debian/rules files are quite complicated; switching to
version 7 of debhelper will help rationalise these rules files alot as
this version supports overrides and alot of debhelper sequencing magic:
{{{
%:
dh $@
override_dh_auto_build:
debian/do-component-build.sh
[...]
override_dh_install:
debian/install_hadoop.sh
[...]
}}}
I think this might also help people who want to contribute to the
bigtop Debian packaging as this will be more familiar.
I already trialled switching to source format 3.0 (I needed to pull in
some patches to hadoop for Ubuntu precise) and it just requires a
minor tweak to the build process (see [1]).
Anyone have any objections or other feedback?
Cheers
James
[0] http://wiki.debian.org/Projects/DebSrc3.0
[1]
https://github.com/javacruft/bigtop/commit/9a983cc008809745f5086b5158f0010b8104b716#diff-3
- --
James Page
Ubuntu Core Developer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBCAAGBQJPaG9xAAoJEL/srsug59jDbuAQANCq+z3W56rJ2wCw+NtT9ar3
/hFQkCIHbBu5u7wIIyB/4NKTGx4ZYRID0W9wdYGwdFO4L2TNO5z/awBBypw3BqAe
sPFxfKAodVszvyd3DUCxuPi+UNiWu7B0kJI2Bm7XzwALW3JM7r2XNkzb6QeRhq0j
IbHlPr5eoAi5V1/ePn6hBrzc9nPjb6iXMXDgdvpYZMeqH9nQ3Kw9m3R1M2XA05zs
Ho84ZgrXhWg45l8Opc0CFe96kc52RjP+a/Jzc7RKmca/ISvEv8xU0ZFisDJvB79I
6au3q86JSW0xFocCseRv21cntFOv8JoU6bJ3cgnEeh3NdhMpJFXFltdFmjzph3xU
+6Pg7nknVTFRKoUc+7YAWxoHGhxxG5ospMIpMmucFCrlRmIKmaHgSedHY62b1/lt
ahBiVsokD2/L37OwZlUwF/CVFlEwe3iwkPQlTTgbfoIbvDuvzZgFVWMgS5cdlZaV
cpCkOOZAhgGHpyCR5QRJavwY7b6xZmb2Sg0+GqHpehmdNYOljDqH7PF9ghwydEYw
cvGLDaW6dA2TxCet6mxxClOxCsBnVu3j2j+GdBTeualCOSRcPwFo+Cg1Qc+PIDY7
SsNEwt9F17MPmo1PknhvHDmhsu5inbXG7ny4UlgeMHAGA4QVYsFaKBbn1Ij1wnTe
vGTJvixezsCJa6Q/wg34
=D0sl
-----END PGP SIGNATURE-----
Re: Debian packaging format for Bigtop 0.4.0/+1
Posted by James Page <ja...@ubuntu.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi Roman
On 23/03/12 06:28, Roman Shaposhnik wrote:
[...]
>> I'd like to propose upgrading the Debian package format for all
>> bigtop packages to source format 3.0 (see [0]) and increase the
>> minimum debhelper revision to 7.
>
> In general this sounds appealing, the question I have is -- what's
> the minimum Debian/Ubuntu distribution release that support it?
Once precise is released all Ubuntu versions should support this:
jamespage@hendrix:~$ rmadison debhelper
debhelper | 6.0.4ubuntu1 | hardy | source, all
debhelper | 7.0.13ubuntu1~hardy1 | hardy-backports | source, all
debhelper | 7.4.15ubuntu1 | lucid | source, all
debhelper | 8.0.0ubuntu1 | maverick | source, all
debhelper | 8.1.2ubuntu4 | natty | source, all
debhelper | 8.9.0ubuntu1 | oneiric | source, all
debhelper | 9.20120115ubuntu3 | precise | source, all
hardy is not a target for bigtop anyway :-) but it does have a backport.
>> 1) Quilt based patching is a integral part of source format 3.0 -
>> I know we don't carry patches in bigtop trunk but if some wanted
>> to this change makes it much easier.
>
> Yeah, that'll be a welcome addition. Do you know if there's
> anything similar on the RPM side of things?
Sorry - I don't - but it's probably possible to teach the spec how to
apply the patches using the series file.
I would some stuff - it appears that the contents of
debian/patches/series need to be in the spec
http://www.rpm.org/max-rpm/s1-rpm-inside-macros.html
[...]
>> {{{ %: dh $@
>>
>> override_dh_auto_build: debian/do-component-build.sh [...]
>>
>> override_dh_install: debian/install_hadoop.sh [...] }}}
>
> Is there a doc/FAQ that outlines the migration path to version 7?
Not so much on migration but the Debian New Maintainers guide is good:
http://www.debian.org/doc/manuals/maint-guide/index.en.html
>> I already trialled switching to source format 3.0 (I needed to
>> pull in some patches to hadoop for Ubuntu precise) and it just
>> requires a minor tweak to the build process (see [1]).
>>
>> Anyone have any objections or other feedback?
>
> +1 in general, but see the questions above.
Hopefully answered!
- --
James Page
Ubuntu Core Developer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBCAAGBQJPbE1PAAoJEL/srsug59jDgloP+gI5F7bL2IuYTd4Kx4hLLOlx
13EZLodsEIQuBrW6WyXK2Ta4D+VOnX5zgMaEyrN5y1EOx3jl59yZdtk95hejNTg1
7AzDCF50iFN8+ALwpNjfyYJuL/F4QbZ7+w7Ok1bzbPatTeIkC/qdEZDi4waTizz7
uBYKwf5v8XGAPq55GGgUfQFIf6KP62yloz9xUJaMZ2tQqpOMj5v0Kf0o8TfpFvmk
jkPMmzikvycQ3QEYtmahMfPo7IiTnhUq22w+Ms0hKVbIafNZuHqt4DhAi0qgepUH
wMuD97kTleUV1k4Jt5MWLqtp6PLzl96xkcNs5qHu23d/h/dlUl/K9f6KI92u2dsP
seHX7pTBOxZqJqfIt5zonTU6hv1McBDlc+zMgsYpzcXJ9vPzD36jpgoUPXZazDyR
X6XDAd+f65F7PuX2ybZv/7cEQnzaBfD/ya5x1SoUKouKEyfruRZP4kfPgyl1h3Ca
X+pRcRZk0GP/jALpy6eHIt9S62SmNWB0cQlo+LJltgw1YE3m0/DjqEqQvbn47cLj
IZlwwiDu0DQvy6ZNV+A4zdS3enrutwSGwXz2ykgjw2LZn49P48P9++GNldFNtTWq
KzO7X6pnA/EkbMgfrhWGxY2D+oousBTGENkfjMztQV7ShXFJI6dtQCq+WO1SsWt0
VbmaaJJqcbCEu4c5aPQM
=JKnP
-----END PGP SIGNATURE-----
Re: Debian packaging format for Bigtop 0.4.0/+1
Posted by Roman Shaposhnik <rv...@apache.org>.
Hi James!
On Tue, Mar 20, 2012 at 4:52 AM, James Page <ja...@ubuntu.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hi Fellow Bigtoppers!
>
> I'd like to propose upgrading the Debian package format for all bigtop
> packages to source format 3.0 (see [0]) and increase the minimum
> debhelper revision to 7.
In general this sounds appealing, the question I have is -- what's the
minimum Debian/Ubuntu distribution release that support it?
> 1) Quilt based patching is a integral part of source format 3.0 - I
> know we don't carry patches in bigtop trunk but if some wanted to this
> change makes it much easier.
Yeah, that'll be a welcome addition. Do you know if there's anything
similar on the RPM side of things?
> 2) debhelper overrides and general magic
>
> The current debian/rules files are quite complicated; switching to
> version 7 of debhelper will help rationalise these rules files alot as
> this version supports overrides and alot of debhelper sequencing magic:
>
> {{{
> %:
> dh $@
>
> override_dh_auto_build:
> debian/do-component-build.sh
> [...]
>
> override_dh_install:
> debian/install_hadoop.sh
> [...]
> }}}
Is there a doc/FAQ that outlines the migration path to version 7?
> I already trialled switching to source format 3.0 (I needed to pull in
> some patches to hadoop for Ubuntu precise) and it just requires a
> minor tweak to the build process (see [1]).
>
> Anyone have any objections or other feedback?
+1 in general, but see the questions above.
Thanks,
Roman.
Re: Debian packaging format for Bigtop 0.4.0/+1
Posted by Marcos Ortiz <ml...@uci.cu>.
On 03/20/2012 07:52 AM, James Page wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hi Fellow Bigtoppers!
>
> I'd like to propose upgrading the Debian package format for all bigtop
> packages to source format 3.0 (see [0]) and increase the minimum
> debhelper revision to 7.
+1 for this
>
> This change will bring a few benefits
>
> 1) Quilt based patching is a integral part of source format 3.0 - I
> know we don't carry patches in bigtop trunk but if some wanted to this
> change makes it much easier.
>
> Patches reside in debian/patches with a debian/patches/series file
> which describes the order in which they should be applied - I guess
> this could be used in the RPM packages as well?
>
> 2) debhelper overrides and general magic
>
> The current debian/rules files are quite complicated; switching to
> version 7 of debhelper will help rationalise these rules files alot as
> this version supports overrides and alot of debhelper sequencing magic:
>
> {{{
> %:
> dh $@
>
> override_dh_auto_build:
> debian/do-component-build.sh
> [...]
>
> override_dh_install:
> debian/install_hadoop.sh
> [...]
> }}}
This format does more easy the creation of packages, so, this is good,
at least for me.
Regards
>
> I think this might also help people who want to contribute to the
> bigtop Debian packaging as this will be more familiar.
>
> I already trialled switching to source format 3.0 (I needed to pull in
> some patches to hadoop for Ubuntu precise) and it just requires a
> minor tweak to the build process (see [1]).
>
> Anyone have any objections or other feedback?
>
> Cheers
>
> James
>
> [0] http://wiki.debian.org/Projects/DebSrc3.0
> [1]
> https://github.com/javacruft/bigtop/commit/9a983cc008809745f5086b5158f0010b8104b716#diff-3
> - --
> James Page
> Ubuntu Core Developer
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQIcBAEBCAAGBQJPaG9xAAoJEL/srsug59jDbuAQANCq+z3W56rJ2wCw+NtT9ar3
> /hFQkCIHbBu5u7wIIyB/4NKTGx4ZYRID0W9wdYGwdFO4L2TNO5z/awBBypw3BqAe
> sPFxfKAodVszvyd3DUCxuPi+UNiWu7B0kJI2Bm7XzwALW3JM7r2XNkzb6QeRhq0j
> IbHlPr5eoAi5V1/ePn6hBrzc9nPjb6iXMXDgdvpYZMeqH9nQ3Kw9m3R1M2XA05zs
> Ho84ZgrXhWg45l8Opc0CFe96kc52RjP+a/Jzc7RKmca/ISvEv8xU0ZFisDJvB79I
> 6au3q86JSW0xFocCseRv21cntFOv8JoU6bJ3cgnEeh3NdhMpJFXFltdFmjzph3xU
> +6Pg7nknVTFRKoUc+7YAWxoHGhxxG5ospMIpMmucFCrlRmIKmaHgSedHY62b1/lt
> ahBiVsokD2/L37OwZlUwF/CVFlEwe3iwkPQlTTgbfoIbvDuvzZgFVWMgS5cdlZaV
> cpCkOOZAhgGHpyCR5QRJavwY7b6xZmb2Sg0+GqHpehmdNYOljDqH7PF9ghwydEYw
> cvGLDaW6dA2TxCet6mxxClOxCsBnVu3j2j+GdBTeualCOSRcPwFo+Cg1Qc+PIDY7
> SsNEwt9F17MPmo1PknhvHDmhsu5inbXG7ny4UlgeMHAGA4QVYsFaKBbn1Ij1wnTe
> vGTJvixezsCJa6Q/wg34
> =D0sl
> -----END PGP SIGNATURE-----
>
--
Marcos Luis Ortíz Valmaseda (@marcosluis2186)
Data Engineer at UCI
http://marcosluis2186.posterous.com
10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION
http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci