Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579860 - News metadata in github portage mirror outdated
Summary: News metadata in github portage mirror outdated
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Git (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-13 21:04 UTC by schmittlauch
Modified: 2016-04-14 08:07 UTC (History)
1 user (show)

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


Attachments
my /etc/portage/repos.conf.d/gentoo.conf (file_579860.txt,163 bytes, text/plain)
2016-04-13 21:05 UTC, schmittlauch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description schmittlauch 2016-04-13 21:04:40 UTC
The news metadata in the portage mirror on GitHub ( https://github.com/gentoo-mirror/gentoo ) used by eselect news hasn't been updated since December 2015 ( https://github.com/gentoo-mirror/gentoo/tree/master/metadata/news ). This causes users who use this as their only source of the portage tree to miss important announcements.
Or is there a need to use an additional repo just for the news? I attach my repos.conf in case I did something wrong.
Comment 1 schmittlauch 2016-04-13 21:05:51 UTC
Created attachment 430348 [details]
my /etc/portage/repos.conf.d/gentoo.conf
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-04-14 07:03:44 UTC
I'm going to take a look at this. It's probably a bug in one of the scripts.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-04-14 07:24:04 UTC
It seems that subtree merges are not updating the subdirectory for some reason. This is really weird. But I see that there's some new code for subtrees in git, and I'm going to try to restart the repository using that. Maybe it'll work better.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-04-14 08:07:20 UTC
I've reset the repository, switched subtree code to use 'git subtree' (which uses a better merge strategy that takes the subtree path rather than guessing it) and re-added the subtrees.

This brings all the missing news files to the final tree. Hopefully, they will be updating correctly from now on. We'll see when someone commits a new news item. However, I'm most likely going to forget about it before this happens so feel free to reopen the bug if news files stop updating again.