Summary: | app-portage/layman-9999: update_news() failed running portage news reporter function | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Sergei Trofimovich (RETIRED) <slyfox> |
Component: | Core - Interface (emerge) | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dolsen, qnikst |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 375789 |
Description
Sergei Trofimovich (RETIRED)
2012-03-19 17:31:58 UTC
I can duplicate your result with the haskell overlay. I believe you are correct about the mismatch. Layman was passing portage the "haskell' name which is the name it is given. But the real repo_name is "gentoo-haskell". normally layman does not care about what the repo_name is or even if it is defined. It looks like in this instance it will need to check repo_name and use it to pass into portage/pkgcore to process any news items pending. OK, fixed in git commit 7a74871ab63f3b36d7d2377a5af5b0cfc1a2ee29 If portage is set for the news reporter function. It will now get the correct repo_names from portage for the overlay paths. Then call the portage news function with those names. I'll leave this bug open for now till an rc4 release is out. I found one additional error that occurred when it did not get a valid repo name form portage. It will now skip the repo if it doesn't get a repo name back from portage. commit: http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=2bc0b7478a14a9bf95a2e3728ed5a5f8d755e9b1 released in layman-2.0.0_rc4 and rc5 |