Improve autodate.sh
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | utilities/autodate: Use 'fmtcount' package for ordinalsperfbook.tex utilities/ | +6 | 0 replies | |
| 2/3 | utilities/autodate: Ignore untracked files in 'git status'utilities/ | +1 | 0 replies | |
| 3/3 | utilities/autodate: Put commit-id in footer by 'draftwatermark'FAQ-BUILD.txt perfbook.tex utilities/ | +18 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Improve autodate.sh
This patch set was inspired by your change log of commit 686915e83f79 ("utilities/autodate: Convert current tag to release/edition text") saying:
This should really use a canned library to convert numerals to English-text ordinals, but none of the ones I found worked as advertised.
My guess is the ones you found are assuming bash and don't work with dash. You know, dash doesn't handle arrays.
Patch #1 is my answer and delegates the handling of ordinals to a LaTeX package "fmtcount".
Patch #2 is a minor update so that a repository with untracked files is treated as clean.
Patch #3 expands the use of tag info and displays it on every page at the bottom-right corner.
Thanks, Akira
--
Akira Yokosawa (3):
utilities/autodate: Use 'fmtcount' package for ordinals utilities/autodate: Ignore untracked files in 'git status' utilities/autodate: Put commit-id in footer by 'draftwatermark'
FAQ-BUILD.txt | 6 ++++-- perfbook.tex | 9 +++++++++ utilities/autodate.sh | 35 ++++++++++++----------------------- 3 files changed, 25 insertions(+), 25 deletions(-)
Signature · 1 line
2.17.1