Linux Manual Pages development
 help / color / mirror / Atom feed
* manual pages in tzdb
@ 2024-05-08 16:24 Alejandro Colomar
  2024-05-08 16:57 ` Paul Eggert
  0 siblings, 1 reply; 7+ messages in thread
From: Alejandro Colomar @ 2024-05-08 16:24 UTC (permalink / raw)
  To: tz, Paul Eggert; +Cc: linux-man

[-- Attachment #1: Type: text/plain, Size: 2182 bytes --]

Hi Paul,

I had in mind something: I would like to cherry-pick all tzdb's commits
that affect manual pages into the Linux man-pages git repository,
instead of just pasting here snapshots of your manual pages.

For that to work, we'd need to agree on a path inside the repository (or
I could manually --or with a script-- edit each commit, which would be
combersome, and I'd rather avoid).

What do you think of moving the pages in the tzdb repository into
man/man*/ directories?  I see your repository is perfectly flat, so I
don't know if there are strong reasons for that, or if it's just
innertia.

To be explicit, this is what I'd do in tzdb.git:

	diff --git a/date.1 b/man/man1/date.1
	similarity index 100%
	rename from date.1
	rename to man/man1/date.1
	diff --git a/newctime.3 b/man/man3/newctime.3
	similarity index 100%
	rename from newctime.3
	rename to man/man3/newctime.3
	diff --git a/newstrftime.3 b/man/man3/newstrftime.3
	similarity index 100%
	rename from newstrftime.3
	rename to man/man3/newstrftime.3
	diff --git a/newtzset.3 b/man/man3/newtzset.3
	similarity index 100%
	rename from newtzset.3
	rename to man/man3/newtzset.3
	diff --git a/time2posix.3 b/man/man3/time2posix.3
	similarity index 100%
	rename from time2posix.3
	rename to man/man3/time2posix.3
	diff --git a/tzfile.5 b/man/man5/tzfile.5
	similarity index 100%
	rename from tzfile.5
	rename to man/man5/tzfile.5
	diff --git a/tzselect.8 b/man/man8/tzselect.8
	similarity index 100%
	rename from tzselect.8
	rename to man/man8/tzselect.8
	diff --git a/zdump.8 b/man/man8/zdump.8
	similarity index 100%
	rename from zdump.8
	rename to man/man8/zdump.8
	diff --git a/zic.8 b/man/man8/zic.8
	similarity index 100%
	rename from zic.8
	rename to man/man8/zic.8

If we do that, then my idea would be to do

	$ git remote add tzdb git@github.com:eggert/tz.git

in my Linux man-pages local repo, and cherry-pick commits '-- man/' from
time to time.

Does that sound good to you?

Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es/>
A client is hiring kernel driver, mm, and/or crypto developers;
contact me if interested.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-05-09 18:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-08 16:24 manual pages in tzdb Alejandro Colomar
2024-05-08 16:57 ` Paul Eggert
2024-05-09  3:36   ` [tz] " Philip Paeps
2024-05-09  3:41     ` Paul Eggert
2024-05-09  3:47       ` Philip Paeps
2024-05-09 11:29     ` Dag-Erling Smørgrav
2024-05-09 18:37   ` brian.inglis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox