On Sun, Apr 14, 2013 at 04:14:03PM +0200, Peter FELECAN wrote: > "Maciej (Matchek) Bliziński" <[email protected]> writes: > > > 2013/4/12 Peter FELECAN <[email protected]>: > >> In the pkginfo file we have this: > >> > >> VENDOR=http://leocad.googlecode.com/files/ packaged for CSW by Peter > >> Felecan > >> [email protected] > >> > >> We should have: > >> > >> VENDOR=http://leocad.googlecode.com/files/ > >> [email protected] > >> ... > >> OPENCSW_MAINTAINERS=Peter Felecan, Dagobert Michelsen > >> > >> The last variable contain the values of the multi-valuated attribute > >> "maintainer". The user uploading the package is the value of the > >> attribute "NMU" --- when I'm writing about "attribute" I'm thinking to > >> the packages database schema. > > > > One more distinction: The user who uploads the package doesn't have to > > be the same user who ran "mgar package". So we have: > > > > 1. users who are long-term maintainers of a given package > > These are in variable containing the list and which is in the recipe, > i.e. Makefile and used to generate the corresponding information in the > pkginfo file. > > > 2. user who ran "mgar package" > > Who cares? But if you find it useful, why not.
This is what we currently have. Unless somebody puts in the time to change the code, this is what we have to work with. > > 3. user who uploaded the package (ran csw-upload-pkg) > > This is more important that one who runs mgar and should be recorded by > the upload process. We have no tracking of the user who ran csw-upload-pkg. I tried to implement it, but our proxy stands in the way, stripping away REMOTE_USER. https://github.com/opencsw/gar/blob/ca2fa7fa5327bbda182201ad1f37ecc5a9979567/lib/web/releases_web.py#L208 (I'm giving links to github, because the sf.net code browser is too slow.) > >> The variable in the pkginfo file is generated at packaging time. > >> > >> The attributes are valuated at upload time. > > > > We can no longer modify the package contents at upload time, and I'm > > guessing we want everything to be inside the package. > > At upload time, the database's attributes are valuated from what's in the > package, isn't it? Yes. However, what we have in the package, is the information about who ran 'mgar package'. > > The list of maintainers needs to be in one of the pkginfo fields, > > that's simple. But I think it should be a list of user names, or a > > list of valid (rich) email addresses: > > > > OPENCSW_MAINTAINERS=joe, jane > > > > or > > > > OPENCSW_MAINTAINERS=Joe Doe <[email protected]>, Jane Dow <[email protected]> > > Too complex from my POV but why not. So you're thinking of associating 1 package with 1 name only? Maciej
signature.asc
Description: Digital signature
_______________________________________________ maintainers mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/maintainers .:: This mailing list's archive is public. ::.
