Jason Stubbs wrote:

Repositories will be user-labelled. However, all that readers need be concerned with is how to extract the repository name from the news.unread file and how to then resolve that to a directory name, regardless of how repositories are implemented.

Expanding on this a little further then, we would have a file in a standard 
location such as /var/lib/portage-news/repos.desc that maps repository 
identifiers to the absolute paths of news directories (no hard coding of 
metadata/news/).  This will provide a layer of indirection so that the portage 
news add-on will be able to direct news readers to the proper locations, 
regardless of repository implementation details.

Even before multiple respositories are properly supported, I guarantee bugs about support for this in portage overlays. With the above, we would be able to add that support. Without it, all we can do is put a big CANTFIX.

[...]
the data should probably not be in /var/lib/portage

I would also prefer that /var/lib/portage/ be reserved for core portage 
functionality (package management) and that non-essential add-ons store their 
data elsewhere.

Zac
--
gentoo-dev@gentoo.org mailing list

Reply via email to