Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] Some sync control
Date: Thu, 11 Jan 2007 22:09:25
Message-Id: 20070111220505.GB26246@curie-int.orbis-terrarum.net
In Reply to: [gentoo-dev] [RFC] Some sync control by "Piotr JaroszyƄski"
1 On Thu, Jan 11, 2007 at 10:29:58PM +0100, Piotr Jaroszy??ski wrote:
2 > After yesterday epkgmove fun I thought that it would be nice to have some
3 > control on when our cvstree is synced with mirrors. My first very basic idea
4 > is just to put a block_sync file in the tree when smth big is going on, like
5 > new kde version stabilization or big pkg move. Inside the file we could have
6 > smth like "user - why - until time&date".
7 If you'd asked the infra folks, in the past we have just blocked it when
8 people asked us to.
9
10 However I do really like the idea of moving the control towards
11 developers, and I'll take the first step of strongly defining the format
12 of the file.
13
14 0. File location is located at profiles/block_sync
15 1. Lines starting with a # are comments.
16 2. Each entry must be separated by one or more lines of whitespace.
17 3. Each entry based on RFC[2]822 format, with continuation lines if
18 needed. This makes parsing very easy. (See people complaining about
19 trying to parse comments in package.mask lately).
20 4. The following headers must be included: Entry-Date, Start-Date,
21 Signed-Off-By, Reason.
22 5. All dates must be in UTC and conform to RFC2822.
23 (Use 'date -R -u' output)
24 6. Start-Date specifies when the block starts. Entry-Date is when the
25 entry was created in the file.
26 7. Signed-Off-By must be the contact person for the block. More than one
27 Signed-Off-By line may be present.
28 8. The following headers are optional: Completion-Date, References
29 9. References should include links or message-ID numbers to publicly
30 visible reasons as to why the block is in place.
31 10. A Completion-Date may be present, but is a guideline only. No
32 automatic action shall be taken based on this line.
33 11. Other headers may exist, and should not interfere with the file.
34
35 Example entry:
36 ==============
37 Entry-Date: Thu, 11 Jan 2007 21:45:23 +0000
38 Start-Date: Thu, 11 Jan 2007 22:00:00 +0000
39 Completion-Date: Thu, 11 Jan 2007 23:00:00 +0000
40 Signed-off-By: Robin H. Johnson <robbat2@g.o>
41 References: http://article.gmane.org/gmane.linux.gentoo.devel/45310
42 Reason: The following is an example of a block for the block_sync file.
43 This is a continuation line. Notice the leading space. It is still part
44 of the Reason header.
45 # The above is the example block
46 ==============
47
48 --
49 Robin Hugh Johnson
50 Gentoo Linux Developer
51 E-Mail : robbat2@g.o
52 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85