Release config file syntax (was: [RFC] Releases planning)

Gordon Tyler gordon at doxxx.net
Mon Oct 11 20:48:14 BST 2010


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

On 10/8/2010 12:39 PM, Vincent Ladeuil wrote:
>     >> prompted when the ppa is updated *anyway*. May be bzr-explorer
>     >> can also gain a 'check updates' feature for windows and OSX...
> 
>     > Shouldn't be difficult with a dedicated URL to check for a small
>     > data file containing the latest verions.
> 
> Wait, are you already referring to the configuration file I alluded
> about above ? :-P
> 
> Could be as simple as:
> 
> ,----
> | # Common to all known distributions
> | gtk.revision = (url, revid:joe at example.com-20101008084634-2n694dx9fhg9m2nb)
> | 
> | # OSX specifics
> | [osx-10.5] 
> | gtk.revision = (url, tip)
> | gtk.destdir = %(plugins_dir)s/gtk
> | packages = paramiko, pyqt, launchpadlib
> | plugins = email, colo, loom, fastimport
> `----
> 
> 
> whatever. 
> 
> Interpolation and sections are not supported in core so far, but we are
> discussing new ways to use the configurations so since we are only
> collection infos, the data is more important than the exact format.

So:

- - Section describing package/plugin versions, needs to be enough
flexibility to specify either a revision or tip of a bzr branch or a
published download tarball.
- - Sections for each platform describing the list of packages/plugins
used and any package/plugin version overrides needed for that platform.
- - Destination directory information should be optional and derived from
the plugin/package name.

We could have a shared library which reads this file and provides
functions for fetching and extracting files. Where would be a good home
for a library such as this?

Ciao,
Gordon


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMs2n+AAoJEIrPJfWinA2uhB8H/j2fnqJfp5CdNOIbtKE9GOOD
Db/EwM7xl5ccq4UfaIenzg2FQfRLkrjTPwgEBaYtST+cxPHFEnUeumr3EpJRvOwq
dHzXiYA3eDPWGBFzU/VcNsqi+6+KmUaEMSTMlYUqfnG/aR8X/gzVO6LVJYLEi91v
Kka4dTlHHyBSe5BtM2es+D0j9m01nQjkNP/+E5U0SGH8jyWu9b0i6wusDpKLRkFm
nfyHVD7I9n0qtKjQCDMdZbo7pNZXNaPEQtAToYEvmJt9fAZCblYTAzd1BG/e7eqj
w8dtWLess5V/zfDs6SubOBZ/qN6byCjBnLOdhJMUuGYnt15vA7XJnxi+VwlHi7E=
=jkye
-----END PGP SIGNATURE-----



More information about the bazaar mailing list