Re: [PATCH 0/3] Improve autodate.sh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 29, 2019 at 07:21:42PM +0900, Akira Yokosawa wrote:
> 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.

It was instead that my versions of python didn't know about the
advertised library, possibly because I didn't know to tell them.

> Patch #1 is my answer and delegates the handling of ordinals to
> a LaTeX package "fmtcount".

But I like your approach better in any case, thank you!!!  ;-)

> Patch #2 is a minor update so that a repository with untracked files
> is treated as clean.

My use case for wanting the current behavior is when I add a file,
add references to it, but forget to do "git add".  The "(m)" is
a hint that I forgot something.

But what is the countervailing use case?  Maybe there is a way to
solve both problems.

> Patch #3 expands the use of tag info and displays it on every page
> at the bottom-right corner.

Nice!

I took #1 and #3, and pushed another patch that includes the most
recent tag for non-release builds.  Let's talk about #2 -- perhaps
I should take it as is, but that would require some other warning.

Thoughts?

							Thanx, Paul

>         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(-)
> 
> -- 
> 2.17.1
> 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux