Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 558440

Summary: new portage git repository doesnt have GLSA metadata "GLSA_DIR /usr/portage/metadata/glsa/ doesn't exist. Please fix this."
Product: Gentoo Linux Reporter: mercuriete <mercuriete>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description mercuriete 2015-08-22 21:32:44 UTC
I recently change the repos.conf to get the portage tree from git.

[DEFAULT]
main-repo = gentoo

[gentoo]

location = /usr/portage
sync-type = git
sync-uri = https://github.com/gentoo/gentoo.git
auto-sync = true


but when i do something like:

 glsa-check --test all
ERROR: GLSA_DIR /usr/portage/metadata/glsa/ doesn't exist. Please fix this.


I think that someone forgot to put the glsa metadata in this new repository or maybe i forgot to recreate this files but i dont know how.
Comment 1 mercuriete 2015-08-22 21:39:14 UTC
in this new repository there are a .gitignore

https://github.com/gentoo/gentoo/blob/master/metadata/.gitignore

# These are added during tree generation only.
/cache/
/dtd/
/glsa/
/md5-cache/
/news/
/herds.xml
/timestamp
/timestamp.chk
/timestamp.x
/pkg_desc_index


as you can see... the /glsa/ folder is ignored and is not included in the git.

I hope this was the error.

thanks for maintaining gentoo :)
Comment 2 mercuriete 2015-08-22 21:44:03 UTC
I just realized that the /news/ folder is ignored as well....
Comment 3 Alex Legler (RETIRED) archtester gentoo-dev Security 2015-08-22 21:45:09 UTC
"Options to fetch the package tree via Git are to be announced later."
https://www.gentoo.org/news/2015/08/12/git-migration.html
Comment 4 mercuriete 2015-08-22 22:05:45 UTC
I hope we get the portage tree from git soon :)

Thanks for your quick answer.