public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] metadata.xml USE flag descriptions
@ 2008-07-28 16:50 Doug Goldstein
  2008-07-28 17:05 ` Arun Raghavan
                   ` (8 more replies)
  0 siblings, 9 replies; 16+ messages in thread
From: Doug Goldstein @ 2008-07-28 16:50 UTC (permalink / raw
  To: gentoo-dev, gentoo-dev-announce

Please make sure you commit any changes to use.local.desc to 
metadata.xml otherwise you risk the chance of having your changes lost. 
I'm currently in the process of converting use.local.desc to 
metadata.xml. After a category is converted, it will be auto-generated 
EXCLUSIVELY from metadata.xml. This means it will be YOU QA error if you 
only commit to use.local.desc from here on out.

This means use.local.desc will be in a state of constant flux as a 
result of this.

If people wish to take specific categories, please let this thread know.

Ford_Prefect is taking gnome-base





^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] metadata.xml USE flag descriptions
  2008-07-28 16:50 [gentoo-dev] metadata.xml USE flag descriptions Doug Goldstein
@ 2008-07-28 17:05 ` Arun Raghavan
  2008-07-28 17:13 ` Ulrich Mueller
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: Arun Raghavan @ 2008-07-28 17:05 UTC (permalink / raw
  To: gentoo-dev

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

Doug Goldstein wrote:
[...]
> Ford_Prefect is taking gnome-base

And gnome-extra.

Cheers,
Arun
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkiN/FIACgkQ+Vqt1inD4uyqkACghaEJjvUKUeNS1EFHUpoWih9M
fW8AoIsW8a174NLcHsF/TvwkSlQMOuxF
=4lg7
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] metadata.xml USE flag descriptions
  2008-07-28 16:50 [gentoo-dev] metadata.xml USE flag descriptions Doug Goldstein
  2008-07-28 17:05 ` Arun Raghavan
@ 2008-07-28 17:13 ` Ulrich Mueller
  2008-07-28 17:29   ` Panagiotis Christopoulos
  2008-07-28 17:51 ` [gentoo-dev] Re: [gentoo-dev-announce] " Ulrich Mueller
                   ` (6 subsequent siblings)
  8 siblings, 1 reply; 16+ messages in thread
From: Ulrich Mueller @ 2008-07-28 17:13 UTC (permalink / raw
  To: gentoo-dev; +Cc: cardoe

>>>>> On Mon, 28 Jul 2008, Doug Goldstein wrote:

> If people wish to take specific categories, please let this thread know.

> Ford_Prefect is taking gnome-base

I can take app-emacs and (the rest of) app-editors.

Ulrich



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] metadata.xml USE flag descriptions
  2008-07-28 17:13 ` Ulrich Mueller
@ 2008-07-28 17:29   ` Panagiotis Christopoulos
  0 siblings, 0 replies; 16+ messages in thread
From: Panagiotis Christopoulos @ 2008-07-28 17:29 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 410 bytes --]

On 19:13 Mon 28 Jul     , Ulrich Mueller wrote:
> >>>>> On Mon, 28 Jul 2008, Doug Goldstein wrote:
> 
> > If people wish to take specific categories, please let this thread know.
> 
> > Ford_Prefect is taking gnome-base
> 
> I can take app-emacs and (the rest of) app-editors.
> 
I take dev-scheme and dev-lisp categories.

-- 
Panagiotis Christopoulos(pchrist)
------ Gentoo Lisp Project ------

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [gentoo-dev] Re: [gentoo-dev-announce] metadata.xml USE flag descriptions
  2008-07-28 16:50 [gentoo-dev] metadata.xml USE flag descriptions Doug Goldstein
  2008-07-28 17:05 ` Arun Raghavan
  2008-07-28 17:13 ` Ulrich Mueller
@ 2008-07-28 17:51 ` Ulrich Mueller
  2008-07-28 18:20   ` Doug Goldstein
  2008-07-28 20:48   ` Alec Warner
  2008-07-28 18:08 ` [gentoo-dev] " Marius Mauch
                   ` (5 subsequent siblings)
  8 siblings, 2 replies; 16+ messages in thread
From: Ulrich Mueller @ 2008-07-28 17:51 UTC (permalink / raw
  To: Doug Goldstein; +Cc: gentoo-dev

>>>>> On Mon, 28 Jul 2008, Doug Goldstein wrote:

> After a category is converted, it will be auto-generated EXCLUSIVELY
> from metadata.xml.

A minor issue: use.local.desc is not sorted properly anymore.
It should be sorted by category/package first, then by the USE flag.

For example (they are all in reverse order now):
   app-editors/emacs < app-editors/emacs-cvs
   dev-db/postgresql < dev-db/postgresql-base
   dev-java/ant < dev-java/ant-tasks
   x11-libs/qt < x11-libs/qt-core

I think something like "sort -t -k1,1" should do the job.

Ulrich



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] metadata.xml USE flag descriptions
  2008-07-28 16:50 [gentoo-dev] metadata.xml USE flag descriptions Doug Goldstein
                   ` (2 preceding siblings ...)
  2008-07-28 17:51 ` [gentoo-dev] Re: [gentoo-dev-announce] " Ulrich Mueller
@ 2008-07-28 18:08 ` Marius Mauch
  2008-07-28 18:24   ` Doug Goldstein
  2008-07-28 18:28 ` [gentoo-dev] Re: [gentoo-dev-announce] " Arun Raghavan
                   ` (4 subsequent siblings)
  8 siblings, 1 reply; 16+ messages in thread
From: Marius Mauch @ 2008-07-28 18:08 UTC (permalink / raw
  To: gentoo-dev

On Mon, 28 Jul 2008 12:50:01 -0400
Doug Goldstein <cardoe@gentoo.org> wrote:

> Please make sure you commit any changes to use.local.desc to 
> metadata.xml otherwise you risk the chance of having your changes
> lost. I'm currently in the process of converting use.local.desc to 
> metadata.xml. After a category is converted, it will be
> auto-generated EXCLUSIVELY from metadata.xml. This means it will be
> YOU QA error if you only commit to use.local.desc from here on out.

Hmm, maybe we should then disallow commits to use.local.desc on the cvs
server completely ...

Marius



^ permalink raw reply	[flat|nested] 16+ messages in thread

* [gentoo-dev] Re: [gentoo-dev-announce] metadata.xml USE flag descriptions
  2008-07-28 17:51 ` [gentoo-dev] Re: [gentoo-dev-announce] " Ulrich Mueller
@ 2008-07-28 18:20   ` Doug Goldstein
  2008-07-28 20:48   ` Alec Warner
  1 sibling, 0 replies; 16+ messages in thread
From: Doug Goldstein @ 2008-07-28 18:20 UTC (permalink / raw
  To: Ulrich Mueller, gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 964 bytes --]

Ulrich Mueller wrote:
>>>>>> On Mon, 28 Jul 2008, Doug Goldstein wrote:
>>>>>>             
>
>   
>> After a category is converted, it will be auto-generated EXCLUSIVELY
>> from metadata.xml.
>>     
>
> A minor issue: use.local.desc is not sorted properly anymore.
> It should be sorted by category/package first, then by the USE flag.
>
> For example (they are all in reverse order now):
>    app-editors/emacs < app-editors/emacs-cvs
>    dev-db/postgresql < dev-db/postgresql-base
>    dev-java/ant < dev-java/ant-tasks
>    x11-libs/qt < x11-libs/qt-core
>
> I think something like "sort -t -k1,1" should do the job.
>
> Ulrich
>   
I have yet to touch use.local.desc... so any out of order issues are 
developer's making.

Still debating how I'm going to do it for the time being.... Attached is 
a generated file from an hour or two ago. It basically needs to be 
combined with the current use.local.desc, with the duplicates in 
use.local.desc removed..


[-- Attachment #2: use.local.gen --]
[-- Type: chemical/x-genbank, Size: 37049 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] metadata.xml USE flag descriptions
  2008-07-28 18:08 ` [gentoo-dev] " Marius Mauch
@ 2008-07-28 18:24   ` Doug Goldstein
  0 siblings, 0 replies; 16+ messages in thread
From: Doug Goldstein @ 2008-07-28 18:24 UTC (permalink / raw
  To: gentoo-dev

Marius Mauch wrote:
> On Mon, 28 Jul 2008 12:50:01 -0400
> Doug Goldstein <cardoe@gentoo.org> wrote:
>
>   
>> Please make sure you commit any changes to use.local.desc to 
>> metadata.xml otherwise you risk the chance of having your changes
>> lost. I'm currently in the process of converting use.local.desc to 
>> metadata.xml. After a category is converted, it will be
>> auto-generated EXCLUSIVELY from metadata.xml. This means it will be
>> YOU QA error if you only commit to use.local.desc from here on out.
>>     
>
> Hmm, maybe we should then disallow commits to use.local.desc on the cvs
> server completely ...
>
> Marius
>
>   
We've actually been considering this. The ban will definitely go into 
effect once all categories are fully converted and it's auto-generating.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* [gentoo-dev] Re: [gentoo-dev-announce] metadata.xml USE flag descriptions
  2008-07-28 16:50 [gentoo-dev] metadata.xml USE flag descriptions Doug Goldstein
                   ` (3 preceding siblings ...)
  2008-07-28 18:08 ` [gentoo-dev] " Marius Mauch
@ 2008-07-28 18:28 ` Arun Raghavan
  2008-07-28 18:39   ` Doug Goldstein
       [not found] ` <d8fcc0800807281304kb3f860fld7a5308deb5c2305@mail.gmail.com>
                   ` (3 subsequent siblings)
  8 siblings, 1 reply; 16+ messages in thread
From: Arun Raghavan @ 2008-07-28 18:28 UTC (permalink / raw
  To: gentoo-dev

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

Doug Goldstein wrote:
> Please make sure you commit any changes to use.local.desc to
> metadata.xml otherwise you risk the chance of having your changes lost.
> I'm currently in the process of converting use.local.desc to
> metadata.xml. After a category is converted, it will be auto-generated
> EXCLUSIVELY from metadata.xml. This means it will be YOU QA error if you
> only commit to use.local.desc from here on out.

Quick howto from IRC logs for those who want to get started:

Copy the stuff to metadata.xml, fix the typos and grammatical issues,
and any package or category references need to be wrapped in <pkg> or <cat>

Cheers,
Arun
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkiOD+kACgkQ+Vqt1inD4uz/4gCdHWwzT/AY2n7/gSZmDTxqKM6W
1WcAn1parGcFWW/+VqpuawTbd/ZkjcAu
=f18e
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-dev-announce] metadata.xml USE flag descriptions
  2008-07-28 18:28 ` [gentoo-dev] Re: [gentoo-dev-announce] " Arun Raghavan
@ 2008-07-28 18:39   ` Doug Goldstein
  0 siblings, 0 replies; 16+ messages in thread
From: Doug Goldstein @ 2008-07-28 18:39 UTC (permalink / raw
  To: gentoo-dev

Arun Raghavan wrote:
> Doug Goldstein wrote:
> > Please make sure you commit any changes to use.local.desc to
> > metadata.xml otherwise you risk the chance of having your changes lost.
> > I'm currently in the process of converting use.local.desc to
> > metadata.xml. After a category is converted, it will be auto-generated
> > EXCLUSIVELY from metadata.xml. This means it will be YOU QA error if you
> > only commit to use.local.desc from here on out.
>
> Quick howto from IRC logs for those who want to get started:
>
> Copy the stuff to metadata.xml, fix the typos and grammatical issues,
> and any package or category references need to be wrapped in <pkg> or 
> <cat>
>
> Cheers,
> Arun
Just to give an example of the above...

app-cdr/brasero:libburn - Enable libburn backend.

becomes...

    <flag name='libburn'>Enable <pkg>dev-libs/libburn</pkg> backend</flag>






^ permalink raw reply	[flat|nested] 16+ messages in thread

* [gentoo-dev] Re: [gentoo-dev-announce] metadata.xml USE flag descriptions
       [not found] ` <d8fcc0800807281304kb3f860fld7a5308deb5c2305@mail.gmail.com>
@ 2008-07-28 20:07   ` Doug Goldstein
  0 siblings, 0 replies; 16+ messages in thread
From: Doug Goldstein @ 2008-07-28 20:07 UTC (permalink / raw
  To: Josh Glover, gentoo-dev

Josh Glover wrote:
> 2008/7/29 Doug Goldstein <cardoe@gentoo.org>:
>
>   
>> This means it will be YOU QA error if you only commit to use.local.desc from here
>> on out.
>>     
>
> Is it possible to update repoman to complain about this? Otherwise,
> people are likely to do the wrong thing just out of force of habit.
>
>   
It does... but that would require developers to use the latest 
repoman... which isn't always the case.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-dev-announce] metadata.xml USE flag descriptions
  2008-07-28 17:51 ` [gentoo-dev] Re: [gentoo-dev-announce] " Ulrich Mueller
  2008-07-28 18:20   ` Doug Goldstein
@ 2008-07-28 20:48   ` Alec Warner
  2008-07-28 21:48     ` Doug Goldstein
  1 sibling, 1 reply; 16+ messages in thread
From: Alec Warner @ 2008-07-28 20:48 UTC (permalink / raw
  To: gentoo-dev; +Cc: Doug Goldstein

On Mon, Jul 28, 2008 at 10:51 AM, Ulrich Mueller <ulm@gentoo.org> wrote:
>>>>>> On Mon, 28 Jul 2008, Doug Goldstein wrote:
>
>> After a category is converted, it will be auto-generated EXCLUSIVELY
>> from metadata.xml.
>
> A minor issue: use.local.desc is not sorted properly anymore.
> It should be sorted by category/package first, then by the USE flag.

I wrote the script that generates the new files.

It reads categories from $REPO_DIR/profiles/catogories
Then per category it runs down each package in os.listdir() order.

The use flags are output on a first-come-first-serve basis.

The script could possibly sort entries (sort categories; sort listdir
output, keep per-package use flags in memory and sort them).  File a
bug to me if you want this.

-Alec

>
> For example (they are all in reverse order now):
>   app-editors/emacs < app-editors/emacs-cvs
>   dev-db/postgresql < dev-db/postgresql-base
>   dev-java/ant < dev-java/ant-tasks
>   x11-libs/qt < x11-libs/qt-core
>
> I think something like "sort -t -k1,1" should do the job.
>
> Ulrich
>
>



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-dev-announce] metadata.xml USE flag descriptions
  2008-07-28 20:48   ` Alec Warner
@ 2008-07-28 21:48     ` Doug Goldstein
  0 siblings, 0 replies; 16+ messages in thread
From: Doug Goldstein @ 2008-07-28 21:48 UTC (permalink / raw
  To: Alec Warner; +Cc: gentoo-dev

Alec Warner wrote:
> On Mon, Jul 28, 2008 at 10:51 AM, Ulrich Mueller <ulm@gentoo.org> wrote:
>   
>>>>>>> On Mon, 28 Jul 2008, Doug Goldstein wrote:
>>>>>>>               
>>> After a category is converted, it will be auto-generated EXCLUSIVELY
>>> from metadata.xml.
>>>       
>> A minor issue: use.local.desc is not sorted properly anymore.
>> It should be sorted by category/package first, then by the USE flag.
>>     
>
> I wrote the script that generates the new files.
>
> It reads categories from $REPO_DIR/profiles/catogories
> Then per category it runs down each package in os.listdir() order.
>
> The use flags are output on a first-come-first-serve basis.
>
> The script could possibly sort entries (sort categories; sort listdir
> output, keep per-package use flags in memory and sort them).  File a
> bug to me if you want this.
>
> -Alec
>
>   
For everyone else...

http://sources.gentoo.org/viewcvs.py/gentoo/users/antarus/projects/infra/

I'm currently generating my own categories file from the completed 
categories list in use.local.desc

$ cat /usr/portage/profiles/use.local.desc | sed '1,/# The following 
categories/d;/# End of metadata categories/,$d' | wc -l
34

$ cat /usr/portage/profiles/use.local.desc | grep -v '^#' | cut -d '/' 
-f 1 | sort -u | wc -l
132

Which means we've got just over 25% of the tree converted.. good job all.

Here are the following steps that I'm doing to generate use.local.desc 
currently..


$ cat use.local.desc | sed '1,/# The following categories/d;/# End of 
metadata categories/,$d;s/^../^/' > tmp.categories
$ grep -v -f tmp.categories use.local.desc | grep -v '^#' > 
tmp.use.local.desc
$ cat tmp.categories | cut -d '^' -f 2 > tmp.categories
$ use_desc_gen --repo_path ~/work/gentoo-x86/ --category_path 
tmp.categories >> tmp.use.local.desc
$ grep '^#' use.local.desc > use.local.desc
$ cat tmp.use.local.desc | sort -t ' ' -k1,1 >> use.local.desc
$ cvs commit -m "generated use.local.desc" use.local.desc

Currently step 4 is hindered by bugs #233208 & #233212

https://bugs.gentoo.org/show_bug.cgi?id=233208
https://bugs.gentoo.org/show_bug.cgi?id=233212

If anyone has any suggestions for an improved workflow while we work to 
convert the other 75% of the tree, feel free to speak up.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] metadata.xml USE flag descriptions
  2008-07-28 16:50 [gentoo-dev] metadata.xml USE flag descriptions Doug Goldstein
                   ` (5 preceding siblings ...)
       [not found] ` <d8fcc0800807281304kb3f860fld7a5308deb5c2305@mail.gmail.com>
@ 2008-07-29 15:24 ` Jim Ramsay
  2008-07-30 19:56 ` Doug Goldstein
  2008-08-04 19:05 ` Jeroen Roovers
  8 siblings, 0 replies; 16+ messages in thread
From: Jim Ramsay @ 2008-07-29 15:24 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 234 bytes --]

Doug Goldstein <cardoe@gentoo.org> wrote:
> If people wish to take specific categories, please let this thread
> know.

I just did the rox-base and rox-extra categories.

-- 
Jim Ramsay
Gentoo Developer (rox/fluxbox/gkrellm)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] metadata.xml USE flag descriptions
  2008-07-28 16:50 [gentoo-dev] metadata.xml USE flag descriptions Doug Goldstein
                   ` (6 preceding siblings ...)
  2008-07-29 15:24 ` [gentoo-dev] " Jim Ramsay
@ 2008-07-30 19:56 ` Doug Goldstein
  2008-08-04 19:05 ` Jeroen Roovers
  8 siblings, 0 replies; 16+ messages in thread
From: Doug Goldstein @ 2008-07-30 19:56 UTC (permalink / raw
  To: gentoo-dev

As a follow up to everyone. If you complete a category, please let it be 
known in the correct place in use.local.desc.

We're at 37 of 131 categories complete, which pegs us at just over 28%



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [gentoo-dev] metadata.xml USE flag descriptions
  2008-07-28 16:50 [gentoo-dev] metadata.xml USE flag descriptions Doug Goldstein
                   ` (7 preceding siblings ...)
  2008-07-30 19:56 ` Doug Goldstein
@ 2008-08-04 19:05 ` Jeroen Roovers
  8 siblings, 0 replies; 16+ messages in thread
From: Jeroen Roovers @ 2008-08-04 19:05 UTC (permalink / raw
  To: gentoo-dev

On Mon, 28 Jul 2008 12:50:01 -0400
Doug Goldstein <cardoe@gentoo.org> wrote:

> If people wish to take specific categories, please let this thread
> know.

I'm working on net-analyzer.


Regards,
     JeR



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2008-08-04 19:05 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-28 16:50 [gentoo-dev] metadata.xml USE flag descriptions Doug Goldstein
2008-07-28 17:05 ` Arun Raghavan
2008-07-28 17:13 ` Ulrich Mueller
2008-07-28 17:29   ` Panagiotis Christopoulos
2008-07-28 17:51 ` [gentoo-dev] Re: [gentoo-dev-announce] " Ulrich Mueller
2008-07-28 18:20   ` Doug Goldstein
2008-07-28 20:48   ` Alec Warner
2008-07-28 21:48     ` Doug Goldstein
2008-07-28 18:08 ` [gentoo-dev] " Marius Mauch
2008-07-28 18:24   ` Doug Goldstein
2008-07-28 18:28 ` [gentoo-dev] Re: [gentoo-dev-announce] " Arun Raghavan
2008-07-28 18:39   ` Doug Goldstein
     [not found] ` <d8fcc0800807281304kb3f860fld7a5308deb5c2305@mail.gmail.com>
2008-07-28 20:07   ` Doug Goldstein
2008-07-29 15:24 ` [gentoo-dev] " Jim Ramsay
2008-07-30 19:56 ` Doug Goldstein
2008-08-04 19:05 ` Jeroen Roovers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox