Re: [gentoo-dev] Deleting old news items

2018-01-05 Thread Alec Warner
On Fri, Jan 5, 2018 at 6:55 PM, Michał Górny wrote: > W dniu pią, 05.01.2018 o godzinie 23∶09 +0100, użytkownik Kristian > Fiskerstrand napisał: > > On 01/05/2018 10:28 PM, Aaron W. Swenson wrote: > > > On 2018-01-05 15:16, William Hubbs wrote: > > > > If we have a default

Re: [gentoo-dev] Deleting old news items

2018-01-05 Thread Michał Górny
W dniu pią, 05.01.2018 o godzinie 23∶09 +0100, użytkownik Kristian Fiskerstrand napisał: > On 01/05/2018 10:28 PM, Aaron W. Swenson wrote: > > On 2018-01-05 15:16, William Hubbs wrote: > > > If we have a default expiration, it should be one year after the date > > > posted to go along with our

Re: [gentoo-dev] Deleting old news items

2018-01-05 Thread Kristian Fiskerstrand
On 01/05/2018 11:47 PM, Kristian Fiskerstrand wrote: > On 01/05/2018 11:40 PM, Alec Warner wrote: >>> I might sound like a broken CD here, but why define the expiration as >>> part of the news format instead of specifying it in the package manager >>> as a user defined variable? Various use cases

Re: [gentoo-dev] Deleting old news items

2018-01-05 Thread Kristian Fiskerstrand
On 01/05/2018 11:40 PM, Alec Warner wrote: >> I might sound like a broken CD here, but why define the expiration as >> part of the news format instead of specifying it in the package manager >> as a user defined variable? Various use cases requires different >> treatment, so leaving it up to user

Re: [gentoo-dev] Deleting old news items

2018-01-05 Thread Alec Warner
On Fri, Jan 5, 2018 at 5:09 PM, Kristian Fiskerstrand wrote: > On 01/05/2018 10:28 PM, Aaron W. Swenson wrote: > > On 2018-01-05 15:16, William Hubbs wrote: > >> If we have a default expiration, it should be one year after the date > >> posted to go along with our current policy

Re: [gentoo-dev] Deleting old news items

2018-01-05 Thread Kristian Fiskerstrand
On 01/05/2018 10:28 PM, Aaron W. Swenson wrote: > On 2018-01-05 15:16, William Hubbs wrote: >> If we have a default expiration, it should be one year after the date >> posted to go along with our current policy of not supporting things that >> are older than a year. >> >> William > > I thought it

Re: [gentoo-dev] Deleting old news items

2018-01-05 Thread Aaron W. Swenson
On 2018-01-05 15:16, William Hubbs wrote: > If we have a default expiration, it should be one year after the date > posted to go along with our current policy of not supporting things that > are older than a year. > > William I thought it was three years. At any rate, I think a year is too

Re: [gentoo-dev] Deleting old news items

2018-01-05 Thread William Hubbs
On Fri, Jan 05, 2018 at 09:01:26AM -0500, Alec Warner wrote: > On Fri, Jan 5, 2018 at 5:08 AM, Ulrich Mueller wrote: > > > +In news item format ``>2.0``, this field is mandatory. > > > > I think it should not be mandatory, for the purpose of the tools > > dealing with news

Re: [gentoo-dev] Deleting old news items

2018-01-05 Thread Ulrich Mueller
> On Fri, 5 Jan 2018, Alec Warner wrote: > Latest version. > I still want to discuss whether Expires is Mandatory or Optional and how that > actually ends up being used. If it is going to be mandatory, then we need to allow a special value like "never" which would indicate that an item will

Re: [gentoo-dev] Deleting old news items

2018-01-05 Thread Alec Warner
On Fri, Jan 5, 2018 at 4:00 AM, Michał Górny wrote: > W dniu czw, 04.01.2018 o godzinie 20∶20 -0500, użytkownik Alec Warner > napisał: > > The attached patch proposes a new news item format (2.1). > > > > In format 2.1, the Expires: header is mandatory. > > > > PMs can detect

Re: [gentoo-dev] Deleting old news items

2018-01-05 Thread Alec Warner
Latest version. I still want to discuss whether Expires is Mandatory or Optional and how that actually ends up being used. -A On Fri, Jan 5, 2018 at 9:01 AM, Alec Warner wrote: > > > On Fri, Jan 5, 2018 at 5:15 AM, wrote: > >> January 5, 2018 3:58 AM,

Re: [gentoo-dev] Deleting old news items

2018-01-05 Thread Alec Warner
On Fri, Jan 5, 2018 at 5:15 AM, wrote: > January 5, 2018 3:58 AM, "Alec Warner" wrote: > > ... snip ... > > + compatability with GLEP 45 [#glep-45]_. Translations should use the > date of > > + the original news item. An item is expired if the current

Re: [gentoo-dev] Deleting old news items

2018-01-05 Thread Alec Warner
On Fri, Jan 5, 2018 at 5:08 AM, Ulrich Mueller wrote: > > On Thu, 4 Jan 2018, Alec Warner wrote: > > > Brief amendment. In the case where the PM cannot parse the expires > header; it > > should assume the item is not expired and display it (e.g. it should fail > > open.) > >

Re: [gentoo-dev] Deleting old news items

2018-01-05 Thread nado
January 5, 2018 3:58 AM, "Alec Warner" wrote: > ... snip ... > + compatability with GLEP 45 [#glep-45]_. Translations should use the date of > + the original news item. An item is expired if the current date in UTC is > + greater than the expiration date of the item. Package

Re: [gentoo-dev] Deleting old news items

2018-01-05 Thread Ulrich Mueller
> On Thu, 4 Jan 2018, Alec Warner wrote: > Brief amendment. In the case where the PM cannot parse the expires header; it > should assume the item is not expired and display it (e.g. it should fail > open.) > Updated patch attached. > + ``Expires:`` > +Date of expiration, in

Re: [gentoo-dev] Deleting old news items

2018-01-05 Thread Michał Górny
W dniu czw, 04.01.2018 o godzinie 20∶20 -0500, użytkownik Alec Warner napisał: > The attached patch proposes a new news item format (2.1). > > In format 2.1, the Expires: header is mandatory. > > PMs can detect whether a given news item is "expired" by comparing the > current date in UTC to the

Re: [gentoo-dev] Deleting old news items

2018-01-04 Thread Alec Warner
On Thu, Jan 4, 2018 at 8:20 PM, Alec Warner wrote: > The attached patch proposes a new news item format (2.1). > > In format 2.1, the Expires: header is mandatory. > > PMs can detect whether a given news item is "expired" by comparing the > current date in UTC to the expired

Re: [gentoo-dev] Deleting old news items

2018-01-04 Thread Alec Warner
The attached patch proposes a new news item format (2.1). In format 2.1, the Expires: header is mandatory. PMs can detect whether a given news item is "expired" by comparing the current date in UTC to the expired date. Expired news items should not be shown to users. Once this is accepted and

Re: [gentoo-dev] Deleting old news items

2018-01-03 Thread Alec Warner
On Wed, Jan 3, 2018 at 6:07 AM, Ulrich Mueller wrote: > > On Tue, 2 Jan 2018, Alec Warner wrote: > > > Problem: > > New stages have numerous news items listed that are likely not > > relevant, but are shown due to limitations in the filtering in NEWS > > items. E.g. on a

Re: [gentoo-dev] Deleting old news items

2018-01-03 Thread Kristian Fiskerstrand
On 01/03/2018 03:13 PM, Kristian Fiskerstrand wrote: > On 01/03/2018 02:45 PM, Ciaran McCreesh wrote: >> On Wed, 3 Jan 2018 12:23:33 +0100 >> Kristian Fiskerstrand wrote: >>> Do we necessarily need to do even that? A package manager could have a >>> feature to mask based on other

Re: [gentoo-dev] Deleting old news items

2018-01-03 Thread Kristian Fiskerstrand
On 01/03/2018 02:45 PM, Ciaran McCreesh wrote: > On Wed, 3 Jan 2018 12:23:33 +0100 > Kristian Fiskerstrand wrote: >> Do we necessarily need to do even that? A package manager could have a >> feature to mask based on other heuristics without changing the format, >> e.g all

Re: [gentoo-dev] Deleting old news items

2018-01-03 Thread Ciaran McCreesh
On Wed, 3 Jan 2018 12:23:33 +0100 Kristian Fiskerstrand wrote: > Do we necessarily need to do even that? A package manager could have a > feature to mask based on other heuristics without changing the format, > e.g all messages from before X, presumably with a switch to show

Re: [gentoo-dev] Deleting old news items

2018-01-03 Thread Kristian Fiskerstrand
On 01/03/2018 12:07 PM, Ulrich Mueller wrote: >> On Tue, 2 Jan 2018, Alec Warner wrote: > >> Problem: >> New stages have numerous news items listed that are likely not >> relevant, but are shown due to limitations in the filtering in NEWS >> items. E.g. on a recent stage3: > >> [...] > > We

Re: [gentoo-dev] Deleting old news items

2018-01-03 Thread kuzetsa
On 01/03/2018 06:07 AM, Ulrich Mueller wrote: >> On Tue, 2 Jan 2018, Alec Warner wrote: >> Problem: >> New stages have numerous news items listed that are likely not >> relevant, but are shown due to limitations in the filtering in NEWS >> items. E.g. on a recent stage3: >> [...] > We could

Re: [gentoo-dev] Deleting old news items

2018-01-03 Thread Ulrich Mueller
> On Tue, 2 Jan 2018, Alec Warner wrote: > Problem: > New stages have numerous news items listed that are likely not > relevant, but are shown due to limitations in the filtering in NEWS > items. E.g. on a recent stage3: > [...] We could add an "Expires:" header to the news item format, and

Re: [gentoo-dev] Deleting old news items

2018-01-03 Thread kuzetsa
On 01/03/2018 05:53 AM, Michał Górny wrote: > W dniu wto, 02.01.2018 o godzinie 19∶13 -0500, użytkownik Alec Warner > napisał: >> Problem: >> >> New stages have numerous news items listed that are likely not relevant, >> but are shown due to limitations in the filtering in NEWS items. E.g. on a >>

Re: [gentoo-dev] Deleting old news items

2018-01-03 Thread Michał Górny
W dniu wto, 02.01.2018 o godzinie 19∶13 -0500, użytkownik Alec Warner napisał: > Problem: > > New stages have numerous news items listed that are likely not relevant, > but are shown due to limitations in the filtering in NEWS items. E.g. on a > recent stage3: > > nspawntest / # eselect news

Re: [gentoo-dev] Deleting old news items

2018-01-02 Thread Aaron W. Swenson
+1 signature.asc Description: Digital signature

Re: [gentoo-dev] Deleting old news items

2018-01-02 Thread Mikle Kolyada
+1 There is also https://www.gentoo.org/support/news-items/ if needed signature.asc Description: Digital signature