[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] doc: only distribute 5 years of ChangeLogs
From: |
Pádraig Brady |
Subject: |
[PATCH] doc: only distribute 5 years of ChangeLogs |
Date: |
Tue, 31 Jan 2017 22:28:28 -0800 |
From: Pádraig Brady <address@hidden>
* Makefile.am (gen-ChangeLog): Adjust to taking all
logs from a particular version (8.15 in this case).
Also mention where to get older entries.
* build-aux/git-log-fix: Remove now unused entries.
* ChangeLog-200[5-8]: Delete.
* old/*: Likewise.
---
Makefile.am | 10 ++++++----
build-aux/git-log-fix | 49 -------------------------------------------------
2 files changed, 6 insertions(+), 53 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index d28afe9..41d1f92 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -110,7 +110,7 @@ dist-hook: gen-ChangeLog
$(AM_V_GEN)date +%s > $(distdir)/.timestamp
$(AM_V_at)perl -pi -e '$(rm_subst)' $(distdir)/Makefile.in
-gen_start_date = 2008-02-08
+gen_start_ver = 8.15
.PHONY: gen-ChangeLog
gen-ChangeLog:
$(AM_V_GEN)if test -d .git; then \
@@ -118,9 +118,11 @@ gen-ChangeLog:
test -e "$$log_fix" \
&& amend_git_log="--amend=$$log_fix" \
|| amend_git_log=; \
- $(top_srcdir)/build-aux/gitlog-to-changelog \
- $$amend_git_log --since=$(gen_start_date) > $(distdir)/cl-t && \
- { rm -f $(distdir)/ChangeLog && \
+ $(top_srcdir)/build-aux/gitlog-to-changelog $$amend_git_log \
+ -- v$(gen_start_ver)~.. > $(distdir)/cl-t && \
+ { printf '\n\nSee the source repo for older entries\n' \
+ >> $(distdir)/cl-t && \
+ rm -f $(distdir)/ChangeLog && \
mv $(distdir)/cl-t $(distdir)/ChangeLog; } \
fi
diff --git a/build-aux/git-log-fix b/build-aux/git-log-fix
index 0260a93..bef5a9b 100644
--- a/build-aux/git-log-fix
+++ b/build-aux/git-log-fix
@@ -2,55 +2,6 @@
# option. It specifies what changes to make to each given SHA1's commit
# log and metadata, using Perl-eval'able expressions.
-3a169f4c5d9159283548178668d2fae6fced3030
-# fix title:
-s/all tile types/all file types/
-
-e181802521d4e19e367dbe8cfa877296bb5dafb2
-# fix the title!
-s,seq:,factor:,
-
-3ece0355d52e41a1b079c0c46477a32250278c11
-# correct the URL
-s,<http.+?>,<http://bugs.debian.org/412688>,
-
-# This is wrong now only in the git log. The ChangeLog-2008
-# entry was also erroneous, but has been corrected.
-# ed5c4e770a27862813c0182be8680abeb005d15b
-# # Wrong bug ID:
-# s,/363011,/350541,
-# # in this:
-# # Suggested by Josselin Mouette in <http://bugs.debian.org/363011>
-
-# This was wrong only in the git log. The ChangeLog entry was
-# is from 2007, and so was recorded (correctly) in ChangeLog-2007.
-# 1379ed974f1fa39b12e2ffab18b3f7a607082202
-# # Due to a bug in vc-dwim, I mis-attributed a patch by Paul to myself.
-# # Change the author to be Paul. Note the escaped "@":
-# s,Jim .*>,Paul Eggert <eggert\@cs.ucla.edu>,
-
-209850fd7e1e89cf8937310878bd22d70e3588a5
-s/isspace/isblank/
-# in this:
-# * tests/misc/uniq: New file. Test for the above, but only
-# when isspace(0240).
-
-760bc6f7e73014e934a744a9d46ea8dbf5ba25c8
-s/Now, each/Now, the/;
-s!(elicits.*)\.!first $1, and the second works properly.!
-# change the log from this:
-# Without this, `truncate -s '> -1' F` would truncate F to length 0,
-# and `truncate -s " +1" F` would truncate F to 1 byte. Now, each
-# elicits a diagnostic.
-# to this:
-# Without this, `truncate -s '> -1' F` would truncate F to length 0,
-# and `truncate -s " +1" F` would truncate F to 1 byte. Now, the
-# first elicits a diagnostic, and the second works properly.
-
-# Credit initial reporter of a related issue, now that the BZ is public.
-1e18d8416f9ef43bf08982cabe54220587061a08
-s,by ,by Nao Nishijima in http://bugzilla.redhat.com/766461\nand by ,
-
# I was unable to apply the c-set using normal methods, so
# applied it with patch and then forgot to reset the Author.
51a4b04954ad5ad12de1d1b82a3603fc350a3bfa
--
2.5.5