[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 139/264: release-notes: output trailing references sorted numeri
From: |
gnunet |
Subject: |
[gnurl] 139/264: release-notes: output trailing references sorted numerically |
Date: |
Thu, 30 Apr 2020 16:07:22 +0200 |
This is an automated email from the git hooks/post-receive script.
nikita pushed a commit to branch master
in repository gnurl.
commit 9b23a1da7c996a045026c99d66a2fe326860050a
Author: Daniel Stenberg <address@hidden>
AuthorDate: Mon Apr 6 23:45:31 2020 +0200
release-notes: output trailing references sorted numerically
---
scripts/release-notes.pl | 22 ++++++++++------------
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/scripts/release-notes.pl b/scripts/release-notes.pl
index 3726dc977..df97ba9ef 100755
--- a/scripts/release-notes.pl
+++ b/scripts/release-notes.pl
@@ -27,7 +27,7 @@
#
# 1. Get recent commits added to RELEASE-NOTES:
#
-# $ ./scripts/release-notes
+# $ ./scripts/release-notes.pl
#
# 2. Edit RELEASE-NOTES and *remove* entries among the newly added ones that
# don't belong. Don't mind leaving unused references below. Make sure to move
@@ -37,7 +37,7 @@
# 3. Run the cleanup script and let it sort the entries and remove unused
# references from lines you removed in step (2):
#
-# $ ./script/release-notes cleanup
+# $ ./script/release-notes.pl cleanup
#
# 4. Reload RELEASE-NOTES and verify that things look okay. The cleanup
# procedure can and should be re-run when lines are removed or rephrased.
@@ -60,13 +60,15 @@ my $refnum; # the highest number used so far
my @refused;
my @o;
+my @usedrefs;
for my $l (@releasenotes) {
if($l =~ /^ o .*\[(\d+)\]/) {
$refused[$1]=1;
}
- elsif($l =~ /^ \[(\d+)\] = /) {
+ elsif($l =~ /^ \[(\d+)\] = (.*)/) {
$refused[$1] |= 2;
$refnum=$1;
+ $usedrefs[$1] = $2;
}
}
@@ -169,10 +171,6 @@ for my $l (@releasenotes) {
next;
}
elsif($l =~ /^ \[(\d+)\] = /) {
- if($refused[$1] & 1) {
- # only output actually used references
- push @o, $l;
- }
next;
}
elsif($bullets[0]) {
@@ -189,11 +187,11 @@ for my $l (@releasenotes) {
}
}
-for my $f (@line) {
- my $n = $moreinfo{$f};
- my $r;
- if($n) {
- $r = $refs[$n];
+my @srefs;
+my $ln;
+for my $n (1 .. $#usedrefs) {
+ my $r = $usedrefs[$n];
+ if($r && ($refused[$n] & 1)) {
push @o, sprintf " [%d] = %s\n", $n, $r;
}
}
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnurl] 230/264: server/tftpd: fix compiler warning, (continued)
- [gnurl] 230/264: server/tftpd: fix compiler warning, gnunet, 2020/04/30
- [gnurl] 263/264: Merge tag 'curl-7_70_0', gnunet, 2020/04/30
- [gnurl] 196/264: scripts/release-notes.pl: accept colon after the Fixes/Closes keywords, gnunet, 2020/04/30
- [gnurl] 169/264: tests/server: add CTRL event handler for Win32 consoles, gnunet, 2020/04/30
- [gnurl] 243/264: libcurl-multi.3: added missing full stop, gnunet, 2020/04/30
- [gnurl] 209/264: tests: move pingpong server to dynamic listening port, gnunet, 2020/04/30
- [gnurl] 184/264: tests: add the mqtt test server mqttd, gnunet, 2020/04/30
- [gnurl] 210/264: test1028: make it run on dynamic FTP server port, gnunet, 2020/04/30
- [gnurl] 211/264: test1055: make it work with dynamic FTP port, gnunet, 2020/04/30
- [gnurl] 176/264: appveyor: completely disable tests that fail to timeout early, gnunet, 2020/04/30
- [gnurl] 139/264: release-notes: output trailing references sorted numerically,
gnunet <=
- [gnurl] 244/264: select: make Curl_socket_check take timediff_t timeout, gnunet, 2020/04/30
- [gnurl] 150/264: release-notes: fix the initial reference list output, gnunet, 2020/04/30
- [gnurl] 144/264: http: allow Curl_add_buffer_send() to do a short first send by force, gnunet, 2020/04/30
- [gnurl] 262/264: RELEASE-NOTES: 7.70.0, gnunet, 2020/04/30
- [gnurl] 159/264: lib: fix conversion warnings for SOCKET_WRITABLE/READABLE, gnunet, 2020/04/30
- [gnurl] 182/264: mqtt: add new experimental protocol, gnunet, 2020/04/30
- [gnurl] 145/264: http: don't consider upload done if the request isn't completely sent off, gnunet, 2020/04/30
- [gnurl] 181/264: TODO: Consider convenience options for JSON and XML?, gnunet, 2020/04/30
- [gnurl] 143/264: connect: store connection info for QUIC connections, gnunet, 2020/04/30
- [gnurl] 148/264: runtests: provide nicer errormsg when protocol "dump" file is empty, gnunet, 2020/04/30