Skip to content

Commit 0747132

Browse files
committed
Add explicit shortname field to issuegen
1 parent f728e4e commit 0747132

3 files changed

Lines changed: 14 additions & 9 deletions

File tree

bin/issuegen.pl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,17 +208,19 @@ sub header {
208208
chomp;
209209

210210
# Extract title and URL
211-
my ($title, $url);
211+
my ($title, $url, $shortname);
212212
for (split /\n+/) {
213213
$title = $1 if (/^Title:\s+(.+)$/);
214214
$url = $1 if (/^Draft:\s+(\S+)/);
215+
$shortname = $1 if (/^Shortname:\s+(\S+)/);
215216
}
216217
die "Error: missing document URL or title.\n" unless ($url && $title);
217218

218219
# Process URL to get status, date, shorname
219220
die "Error: Draft URL wrong format.\n" unless
220221
($url =~ /([A-Z]{2})-([a-z0-9-]+)-(\d{8})/);
221-
my ($status, $shortname, $date) = ($1, $2, $3);
222+
$shortname = $2 unless ($shortname);
223+
my ($status, $date) = ($1, $3);
222224
$status = 'LCWD' if ('WD' eq $status && $inFile =~ /[lL][cC]/);
223225
$date = "$1-$2-$3" if ($date =~ /(\d{4})(\d{2})(\d{2})/);
224226

@@ -241,9 +243,9 @@ sub header {
241243
242244
<h1>$title Disposition of Comments for $date $status</h1>
243245
244-
<p>Last call document: <a href="$url">$url</a>
246+
<p>Dated Draft: <a href="$url">$url</a>
245247
246-
<p>Editor's draft: <a href="http://dev.w3.org/csswg/$shortname/">http://dev.w3.org/csswg/$shortname/</a>
248+
<p>Editor's Draft: <a href="http://dev.w3.org/csswg/$shortname/">http://dev.w3.org/csswg/$shortname/</a>
247249
248250
<p>The following color coding convention is used for comments:</p>
249251

css-scroll-snap/issues-by-issue.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
<h1>CSS Scroll Snapping Level 1 Disposition of Comments for 2015-03-26 WD</h1>
1717

18-
<p>Previous WD: <a href="http://www.w3.org/TR/2015/WD-css-snappoints-1-20150326/">http://www.w3.org/TR/2015/WD-css-snappoints-1-20150326/</a>
18+
<p>Dated Draft: <a href="http://www.w3.org/TR/2015/WD-css-snappoints-1-20150326/">http://www.w3.org/TR/2015/WD-css-snappoints-1-20150326/</a>
1919

20-
<p>Editor's draft: <a href="http://dev.w3.org/csswg/css-scroll-snap/">http://dev.w3.org/csswg/css-scroll-snap/</a>
20+
<p>Editor's Draft: <a href="http://dev.w3.org/csswg/css-scroll-snap-1/">http://dev.w3.org/csswg/css-scroll-snap-1/</a>
2121

2222
<p>The following color coding convention is used for comments:</p>
2323

@@ -223,12 +223,13 @@ <h2 id=scroll-snapping-triggers>Scroll Snapping Triggers</h2>
223223
<span> do not scroll backwards to snap point</span>
224224
<span>Solution: Added guideline to <a href='https://drafts.csswg.org/css-scroll-snap/#choosing'>https://drafts.csswg.org/css-scroll-snap/#choosing</a></span>
225225
<span class="a">Closed: Accepted</span></pre>
226-
<pre class='open ' id='issue-21'>
226+
<pre class=' a' id='issue-21'>
227227
<span>Issue 21. <a href='#issue-21'>#</a></span>
228228
<span>Summary: Which user gestures are snapped?</span>
229229
<span> <a href='https://lists.w3.org/Archives/Public/www-style/2013Aug/0224.html'>https://lists.w3.org/Archives/Public/www-style/2013Aug/0224.html</a> (roc)</span>
230230
<span> Define that all user scroll gestures are affected by snapping</span>
231-
<span class="">Open: =roc= Verify if this is fixed?</span></pre>
231+
<span class="a">Closed: Accepted</span>
232+
<span class="a">Verified: by unarchived email from roc</span></pre>
232233
<pre class='open ' id='issue-22'>
233234
<span>Issue 22. <a href='#issue-22'>#</a></span>
234235
<span>Summary: Do layout changes resnap?</span>

css-scroll-snap/issues-by-issue.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Draft: http://www.w3.org/TR/2015/WD-css-snappoints-1-20150326/
22
Title: CSS Scroll Snapping Level 1
3+
Shortname: css-scroll-snap-1
34

45
Use case: scrolling through photo album, want to snap each image to center of screen,
56
or slightly offset from center.
@@ -207,7 +208,8 @@ Issue 21.
207208
Summary: Which user gestures are snapped?
208209
https://lists.w3.org/Archives/Public/www-style/2013Aug/0224.html (roc)
209210
Define that all user scroll gestures are affected by snapping
210-
Open: =roc= Verify if this is fixed?
211+
Closed: Accepted
212+
Verified: by unarchived email from roc
211213
----
212214
Issue 22.
213215
Summary: Do layout changes resnap?

0 commit comments

Comments
 (0)