[GRASS-dev] Few notes to GRASS 7 Launchpad builds

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi GRASS devs,
since I have been playing with building GRASS 7 for Ubuntu I have few little
improvement proposals:

1. Current GRASS package version suffix (revno) is currently made from Bazaar
import version, which is meaningless for users (for example:
7.0.0~ppa~2~revno-31311~ubuntu12.04.1 - 31311 is that Bazaar version)
I would propose to update to 0.4 version of Launchpad build recipes and change
{revno} variable to {svn-revno} which will be substituted by GRASS SVN
revision number rather than meaningless Bazaar import revision as it was now.
SVN version is much higher value than BZR, so no problems with upgrades

Also, I propose to update little bit version format to latest standards [1][2].

Proposed recipe:
# bzr-builder format 0.4 deb-version 7.0.0+1svn{svn-revno}
lp:grass/7.0
nest debianfiles lp:~grass/grass/grass70_release_debian debian

2. GRASS Stable PPA depends on both ubuntugis-stable and ubuntugis-unstable
PPA repositories which can produce unexpected results. I am proposing to
choose only one of them.

3. GRASS 7 builds should be fixed now (fix is already loaded in bzr). It is
needed to request for build.

1 -
http://linuxminded.nl/tmp/pkg-grass-website/policy/packaging.html#ubuntugis-ppa

2 - https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage

- --
Ivan Minčík
ivan.mincik@gmail.com GPG: 0x79529A1E http://imincik.github.io/0x79529A1E.key
ivan.mincik@gista.sk GPG: 0xD714B02C http://imincik.github.io/0xD714B02C.key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUhs9HAAoJEPfdLsR5Upoe22IH/0XpB6P6DrREFjSDCNaEn4HP
HMQv9/TB9Moge08hfbXjCM4ASqrnJIvmh/tcYkGygq9kBP5DbWid4gtM39u4icYH
Vrs+4tMbevm9hENicPSE8RHMNriAmxJy+vcZu6VuNk0lihXNDvi/KuaLulEb8InB
NNKQ+nhvm4D/iqS3+hy1/3WqDIfOsvxaGkzJ4lPqQQKf3j6b+bklwQM+2n8gzGQe
kE4r92R+8+mGS3QBZPUGpntWS8JfAKOYMT8DNatVjBFoVgMV461lqhw506Gqd3x/
p72ex3i5Prwt0ra0mzSQ7ZMYUfxiQusMVFH1RIFoDUv68sDusZkoQ5ixSiNhNFA=
=Gk4c
-----END PGP SIGNATURE-----

Hi Ivan,

2014-12-09 11:30 GMT+01:00 Ivan Mincik <ivan.mincik@gmail.com>:

since I have been playing with building GRASS 7 for Ubuntu I have few little
improvement proposals:

thanks for you very useful notes. Martin

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.eu/mentors/landa

Dear Ivan,

2014-12-09 11:30 GMT+01:00 Ivan Mincik <ivan.mincik@gmail.com>:

1. Current GRASS package version suffix (revno) is currently made from Bazaar
import version, which is meaningless for users (for example:
7.0.0~ppa~2~revno-31311~ubuntu12.04.1 - 31311 is that Bazaar version)
I would propose to update to 0.4 version of Launchpad build recipes and change
{revno} variable to {svn-revno} which will be substituted by GRASS SVN
revision number rather than meaningless Bazaar import revision as it was now.
SVN version is much higher value than BZR, so no problems with upgrades

Also, I propose to update little bit version format to latest standards [1][2].

Proposed recipe:
# bzr-builder format 0.4 deb-version 7.0.0+1svn{svn-revno}
lp:grass/7.0
nest debianfiles lp:~grass/grass/grass70_release_debian debian

I can try to do it recently I became member of the Launchpad team [1].
Do I need administrator status for this job?

2. GRASS Stable PPA depends on both ubuntugis-stable and ubuntugis-unstable
PPA repositories which can produce unexpected results. I am proposing to
choose only one of them.

This can be changed also by administrator only, I guess?

3. GRASS 7 builds should be fixed now (fix is already loaded in bzr). It is
needed to request for build.

Thanks a lot for the fix! We definitely need to improve our builds on
Launchpad....

Martin

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.eu/mentors/landa

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Martin,

On 25.12.2014 10:57, Martin Landa wrote:

Dear Ivan,

2014-12-09 11:30 GMT+01:00 Ivan Mincik <ivan.mincik@gmail.com>:

1. Current GRASS package version suffix (revno) is currently made
from Bazaar import version, which is meaningless for users (for
example: 7.0.0~ppa~2~revno-31311~ubuntu12.04.1 - 31311 is that
Bazaar version) I would propose to update to 0.4 version of
Launchpad build recipes and change {revno} variable to
{svn-revno} which will be substituted by GRASS SVN revision
number rather than meaningless Bazaar import revision as it was
now. SVN version is much higher value than BZR, so no problems
with upgrades

Also, I propose to update little bit version format to latest
standards [1][2].

Proposed recipe: # bzr-builder format 0.4 deb-version
7.0.0+1svn{svn-revno} lp:grass/7.0 nest debianfiles
lp:~grass/grass/grass70_release_debian debian

I can try to do it recently I became member of the Launchpad team
[1]. Do I need administrator status for this job?

You do not need to be administrator to create a recipe - it is
possible to create a recipe as a user outside of GRASS team (which
will be listed on GRASS page), which will place debs to creator's
personal repository instead of GRASS. The same is with builds - anyone
can request a build using recipe from GRASS, which will generate debs
to his personal repository.
But surely you have to be administrator to update recipe created by
Rashad.

2. GRASS Stable PPA depends on both ubuntugis-stable and
ubuntugis-unstable PPA repositories which can produce unexpected
results. I am proposing to choose only one of them.

This can be changed also by administrator only, I guess?

I guess too :slight_smile:

3. GRASS 7 builds should be fixed now (fix is already loaded in
bzr). It is needed to request for build.

Martin, the fix was made by You. I was just trying to speed up bzr
synchronization and make a test build.

- --
Ivan Minčík
ivan.mincik@gmail.com GPG: 0x79529A1E
http://imincik.github.io/0x79529A1E.key
ivan.mincik@gista.sk GPG: 0xD714B02C
http://imincik.github.io/0xD714B02C.key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUnQClAAoJEPfdLsR5UpoepE8H/R4JEMVWyhwLT0xcpMCFYmX1
2J/As3AIPFb9Oju6B8Hwmf4qaG858/cHsEEBz4q+/JVl3hKl9S3K67+dY4OPnW/1
EbrhhKqgg7oHMtVd2nsDaMvaXYT1CJOLmbUEqGJ0IswlSZpIt8oTIYPaRILVTz+Y
jeCJG/7ZPG67ztpBqIcXQTEp7RmQTei4dEdSXx/iKFaWD8A/yj3XbmUyJs3T3yxs
aj7czMoJQ56AGubpdiNCnQ+RP//noaA/40HiDsI87jLke/KJowtfc1j4UY+6tG3Y
tENJeYBou62b+sCFbAjPAmZ9Ip6rQYQq/2A6IgrAfJaKUFD4l8bBXaEebMwC6Gc=
=uF+X
-----END PGP SIGNATURE-----