Gentoo Archives: gentoo-dev

From: Fabian Groffen <grobian@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: RFC: isodate for packages.mask starting on 2019-07-01
Date: Sat, 29 Jun 2019 11:39:50
Message-Id: 20190629113939.GH15022@gentoo.org
In Reply to: [gentoo-dev] RFC: isodate for packages.mask starting on 2019-07-01 by Jonas Stein
1 I think ISO 8601 date format is an improvement.
2
3 However, as you're suggesting to use a date at UTC time, this begs for
4 scripting, such as the old echangelog did. Then, when scripted, the
5 actual date format is no longer an issue. Somehow the current format
6 looks easier to read (for humans) to me, so no real need to change if
7 there was a script to just add/remove/update entries. (And commit
8 without forgetting to add --signoff.)
9
10 Fabian
11
12 On 29-06-2019 13:23:10 +0200, Jonas Stein wrote:
13 > Dear all,
14 >
15 > Situation:
16 > We have different date formats in packages.mask.
17 >
18 >
19 > Change:
20 > I suggest that we start using the date format yyyy-mm-dd
21 > for all dates in packages.mask
22 > starting with 2019-07-01
23 >
24 > The following changes in packages.mask will introduce the date format,
25 > specify the timezone, and use Larry as example user.
26 >
27 > 3,6c3,6
28 > < # When you add an entry to the top of this file, add your name, the
29 > date, and
30 > < # an explanation of why something is getting masked. Please be extremely
31 > < # careful not to commit atoms that are not valid, as it can cause
32 > large-scale
33 > < # breakage, especially if it ends up in the daily snapshot.
34 > ---
35 > > # When you add an entry to the top of this file, add your name, the date
36 > > # in the UTC timezone, and an explanation of why something is getting
37 > masked.
38 > > # Please be extremely careful not to commit atoms that are not valid,
39 > as it can
40 > > # cause large-scale breakage, especially if it ends up in the daily
41 > snapshot.
42 > 10c10
43 > < ## # Dev E. Loper <developer@g.o> (28 Jun 2012)
44 > ---
45 > > ## # Larry the cow <larry@g.o> (2019-07-01)
46 > 24,26c24,26
47 > < ## # Dev E. Loper <developer@g.o> (23 May 2015)
48 > < ## # Masked for removal in 30 days. Doesn't work
49 > < ## # with new libfoo. Upstream dead, gtk-1, smells
50 > ---
51 > > ## # Larry the cow <larry@g.o> (2019-07-01)
52 > > ## # Masked for removal after 2019-08-01.
53 > > ## # Doesn't work with new libfoo. Upstream dead, gtk-1, smells
54 >
55 >
56 > Reason:
57 > * Larry is the Gentoo Example
58 > * 2019-01-01 + 30 days is unclear, if we do not use UTC time
59 > * The new date format is easy to read and write and easy to parse
60 > internationally.
61 >
62 > Do you have any objections?
63 >
64 >
65 > By the way, you can get a formatted string of now in UTC with:
66 > date -u +"%Y-%m-%d"
67 >
68 > --
69 > Best,
70 > Jonas
71 >
72
73
74
75
76 --
77 Fabian Groffen
78 Gentoo on a different level

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies