Re: lsb: Willingness to help for the Ubuntu merge
"Didier 'OdyX' Raboud" <[email protected]>
| Newsgroups | gmane.linux.debian.devel.lsb |
|---|---|
| Organization | Debian, the Universal OS |
| Message-ID | <[email protected]> |
Le 01.05.2012 15:12, Matthias Klose a écrit : > On 01.05.2012 10:39, Didier 'OdyX' Raboud wrote: >> So I am willing to put work where needed towards the goal of sharing a >> single Debian source package. Where do you want to start from? >> >> (By the way, one major hurdle is probably the default python version for >> lsb-release. The attached patch is an attempt at making the python scripts >> work with both python2.6 and python3 without further change. Comments >> welcome.) > > I didn't check for the current diffs yet, but yes, keeping the diff minimal > would be appreciated. The python implementation working with both 2 and 3 > looks ok, however the shebang lines need to be adjusted. But why stick to > python2 for Debian? In the long term, having lsb-release (and lsb-core' scripts) run by python3 will certainly make sense. That said, I think that for Debian Wheezy that will ship with python2.7 installed everywhere anyway, having lsb-release pull python3.2 would be an invasive change that might trigger the same problems as appeared for Ubuntu Precise (CD sizes, etc). I propose to open a merge-from-ubuntu branch on the Git repository that will include: a) the conversion of the scripts to be python2 and python3 compatible; b) a dpkg-vendor snippet that does the shebang lines conversion for distros that "derives-from" Ubuntu. Then, lsb.git as referred to from Vcs-Git is on alioth under collab-maint and I would welcome experimentation branches but would prefer to keep the hand on master. What else is needed for Ubuntu to have Debian's lsb_4.1+Debian* ? Cheers, OdyX
signature.asc
(application/pgp-signature, 663 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) iQGcBAEBAgAGBQJPo40BAAoJEIvPpx7KFjRVlwwL/1IkSgV+SnJ8BxRQB3Ebs+c3 7VH1KW3PwbZMAK9PdESZ3nU7zB1V7rVRULlBX6MlNP++Jj1ZXQol8SXlg+/hw5Cb K/FqomWQuxtK6HGNY0LTJA7tvqGLncfSPwUHA6wV0+TP3on/N4Qee3L7K7gUXNEi kD3oTKukRmhafgRHuoeq1BNezT7xfiOqnh2yYEp5gmU1UVE02tSzqox36afW5tv1 bSBYsXCxIxAY+66jMKaenoBAsjV1pCVo/GlOF01PS949IMyU/WRfKB8eoF0fv4Oc IgZSMfpAP7eW2wdg+9vwlNV8Mt4iuokp/0WfP55llzQecjMa/D+jjpCfHIlU3pI4 UHDTWFjSuvEOYA4oHs4yfmjAzUMEPwWIRiBO7E5P7r1BzhQnmGb/K+IsscqEjWmg gHyN7XEH5WCbacXzf+gQGDAuYqlSnWJyHYTT8v16HtnprSD3L1klB732EmDtoWkY dDBGA8Ph+WiXsuaQoZGtga+vO/MvU5Kc91DDAh344Q== =gUPJ -----END PGP SIGNATURE-----