Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113729 - Packages missing metadata.xml
Summary: Packages missing metadata.xml
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-27 11:00 UTC by Arvid Norlander
Modified: 2005-11-28 11:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
List of ebuilds missing metadata.xml (ebuilds_without_metadata.txt,13.35 KB, text/plain)
2005-11-27 11:01 UTC, Arvid Norlander
Details
Updated list (ebuilds_without_metadata.txt,12.98 KB, text/plain)
2005-11-27 11:48 UTC, Arvid Norlander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Norlander 2005-11-27 11:00:10 UTC
I have created a list of all packages missing metadata.xml.    
There are 748 packages: I can't create individual bugs. 

Reproducible: Always
Steps to Reproduce:
Run this in a bash shell:  
cd /usr/portage  
BADPKGS=""; for Dir in */*/; do cd $Dir; [ -e metadata.xml ] ||  
BADPKGS="$BADPKGS $Dir"; cd ../..; done   
for bad in $BADPKGS; do echo $bad; done | sed -e 's/\/$//' > 
~/ebuilds_without_metadata.txt  
  
Actual Results:  
A long list of packages missing metadata.xml 

Expected Results:  
Every package should hava a metadata.xml according to 
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4#doc_chap1
Comment 1 Arvid Norlander 2005-11-27 11:01:00 UTC
Created attachment 73681 [details]
List of ebuilds missing metadata.xml

Here is the list.
Comment 2 Ciaran McCreesh 2005-11-27 11:40:22 UTC
Some of those directories aren't packages...
Comment 3 Arvid Norlander 2005-11-27 11:44:23 UTC
Sorry, forgot about 'profiles'. I will update it. 
Comment 4 Arvid Norlander 2005-11-27 11:47:17 UTC
Replace first line of "Steps to Reproduce" with:  
BADPKGS=""; for Dir in *-*/*/; do cd $Dir; [ -e metadata.xml ] ||   
BADPKGS="$BADPKGS $Dir"; cd ../..; done 
 
Number of packages missing metadata.xml: 726 
Comment 5 Arvid Norlander 2005-11-27 11:48:47 UTC
Created attachment 73685 [details]
Updated list

Updated list.
Comment 6 SpanKY gentoo-dev 2005-11-27 22:41:02 UTC
i dont really see how this helps anything
Comment 7 Arvid Norlander 2005-11-28 04:46:42 UTC
In comment #6:
>i dont really see how this helps anything
I'm not sure I understand what you mean.

According to this URL every package should have a metadata.xml:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4#doc_chap1

Why are more than 700 missing metadata.xml?

And running repoman in the /usr/portage gives a long list of problems.
Don't Gentoo developers follow their own guide lines?
Comment 8 SpanKY gentoo-dev 2005-11-28 06:10:50 UTC
but filing a bug with a very big list of packages doesnt accomplish
much
Comment 9 Arvid Norlander 2005-11-28 06:32:25 UTC
(In reply to comment #8)
> but filing a bug with a very big list of packages doesnt accomplish
> much
Yes, I can see the problem.
But do you want to add over 700 bugreports?
I don't have time to add all those. I got my exams to work on.
A script would not work: you got to check for each bug if there are previous
bugreport.
Comment 10 SpanKY gentoo-dev 2005-11-28 06:48:23 UTC
adding sep reports wouldnt help much either ... who would you assign
the bug to for example ? :)

maybe an e-mail to gentoo-dev ...
Comment 11 Marius Mauch (RETIRED) gentoo-dev 2005-11-28 11:26:08 UTC
FYI: the requirement for metadata.xml didn't exist since the beginning of
Gentoo, similar for much of the other things repoman complains about.