Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577372 - GLEP 42 News-Item-Format 2.0 needs to be implemented
Summary: GLEP 42 News-Item-Format 2.0 needs to be implemented
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 290038 604854
  Show dependency tree
 
Reported: 2016-03-14 11:23 UTC by Ulrich Müller
Modified: 2018-06-17 08:24 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2016-03-14 11:23:56 UTC
The GLEP 42 update for News-Item-Format 2.0 has been accepted by the council, see bug 568068. The following features need to be implemented in Portage:

- News-Item-Format: Accept 2.* (in addition to current 1.*)
- Content-Type: Don't require this header in format 2.*
- Display-If-Installed: Allow EAPI 5 dependency specifications in format 2.*
- Display-If-Profile: Terminal "/*" operator is a wildcard in format 2.*
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-04-25 09:55:22 UTC
> - Content-Type: Don't require this header in format 2.*

If I read GLEP 42, in format 2.0 this is not only no longer required, but even no longer allowed.
Comment 2 Ulrich Müller gentoo-dev 2016-04-25 10:15:01 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #1)
> > - Content-Type: Don't require this header in format 2.*
> 
> If I read GLEP 42, in format 2.0 this is not only no longer required, but
> even no longer allowed.

Yes and no, since Portage must ignore any unrecognised header (like Content-Type in format 2.0):

"[...] tools handling these news items must ignore any unrecognised header."
https://wiki.gentoo.org/wiki/GLEP:42#News_Item_Files
Comment 3 Mike Gilbert gentoo-dev 2016-09-02 20:53:15 UTC
It's kind of a moot point; the portage code never checked Content-Type in the first place.
Comment 5 Zac Medico gentoo-dev 2017-02-10 18:46:58 UTC
Fixed in portage-2.3.3.