git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] reftable: technical documentation link fixes
@ 2020-05-25 21:02 Carlo Marcelo Arenas Belón
  2020-05-25 22:00 ` Carlo Marcelo Arenas Belón
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Carlo Marcelo Arenas Belón @ 2020-05-25 21:02 UTC (permalink / raw)
  To: git; +Cc: hanwen, Carlo Marcelo Arenas Belón

Showing as broken links in the html version (when using asciidoc 8.6.10)
because some of the characters in the url need encoding.

Change them to use a explicit "link" and URL encode the problematic
charecters (ex: +, =, @).  While at it, change the base URL to use
lore.kernel.org as has been suggested since 56e6c16394 (Merge branch
'dl/lore-is-the-archive', 2019-12-06)

Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
---
 Documentation/technical/reftable.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/technical/reftable.txt b/Documentation/technical/reftable.txt
index 6eae449685..2951840e9c 100644
--- a/Documentation/technical/reftable.txt
+++ b/Documentation/technical/reftable.txt
@@ -1028,7 +1028,7 @@ Michael Haggerty's alternate format
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 Michael Haggerty proposed
-https://public-inbox.org/git/CAMy9T_HCnyc1g8XWOOWhe7nN0aEFyyBskV2aOMb_fe+wGvEJ7A@mail.gmail.com/[an
+link:https://lore.kernel.org/git/CAMy9T_HCnyc1g8XWOOWhe7nN0aEFyyBskV2aOMb_fe%2BwGvEJ7A%40mail.gmail.com/[an
 alternate] format to reftable on the Git mailing list. This format uses
 smaller chunks, without the restart table, and avoids block alignment
 with padding. Reflog entries immediately follow each ref, and are thus
@@ -1050,7 +1050,7 @@ JGit Ketch RefTree
 
 https://dev.eclipse.org/mhonarc/lists/jgit-dev/msg03073.html[JGit Ketch]
 proposed
-https://public-inbox.org/git/CAJo=hJvnAPNAdDcAAwAvU9C4RVeQdoS3Ev9WTguHx4fD0V_nOg@mail.gmail.com/[RefTree],
+link:https://lore.kernel.org/git/CAJo%3DhJvnAPNAdDcAAwAvU9C4RVeQdoS3Ev9WTguHx4fD0V_nOg%40mail.gmail.com/[RefTree],
 an encoding of references inside Git tree objects stored as part of the
 repository's object database.
 
@@ -1070,7 +1070,7 @@ LMDB
 ^^^^
 
 David Turner proposed
-https://public-inbox.org/git/1455772670-21142-26-git-send-email-dturner@twopensource.com/[using
+https://lore.kernel.org/git/1455772670-21142-26-git-send-email-dturner@twopensource.com/[using
 LMDB], as LMDB is lightweight (64k of runtime code) and GPL-compatible
 license.
 
-- 
2.27.0.rc1.264.g59ed0186f2


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

* Re: [PATCH] reftable: technical documentation link fixes
  2020-05-25 21:02 [PATCH] reftable: technical documentation link fixes Carlo Marcelo Arenas Belón
@ 2020-05-25 22:00 ` Carlo Marcelo Arenas Belón
  2020-05-26 18:53 ` Han-Wen Nienhuys
  2020-05-27  2:21 ` Jonathan Nieder
  2 siblings, 0 replies; 6+ messages in thread
From: Carlo Marcelo Arenas Belón @ 2020-05-25 22:00 UTC (permalink / raw)
  To: git; +Cc: hanwen

Forgot to mention, the third URL wasn't updated since it was somehow not
affected, while the first one wasn't affected when using Asciidoctor 2.0.10.

The middle one always breaks (even with Asciidoctor) because of the "="
character, so the "minimal" change needed will be to URL encode that as %3D
or use "link" as proposed in the patch.

Carlo

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

* Re: [PATCH] reftable: technical documentation link fixes
  2020-05-25 21:02 [PATCH] reftable: technical documentation link fixes Carlo Marcelo Arenas Belón
  2020-05-25 22:00 ` Carlo Marcelo Arenas Belón
@ 2020-05-26 18:53 ` Han-Wen Nienhuys
  2020-05-26 23:16   ` Carlo Marcelo Arenas Belón
  2020-05-27  2:21 ` Jonathan Nieder
  2 siblings, 1 reply; 6+ messages in thread
From: Han-Wen Nienhuys @ 2020-05-26 18:53 UTC (permalink / raw)
  To: Carlo Marcelo Arenas Belón; +Cc: git

On Mon, May 25, 2020 at 11:03 PM Carlo Marcelo Arenas Belón
<carenas@gmail.com> wrote:
>
> Showing as broken links in the html version (when using asciidoc 8.6.10)
> because some of the characters in the url need encoding.
>

Thanks, looks good to me.

What do I do now? Does Junio fold this in, or do I have to send an
updated patch series?

-- 
Han-Wen Nienhuys - Google Munich
I work 80%. Don't expect answers from me on Fridays.
--

Google Germany GmbH, Erika-Mann-Strasse 33, 80636 Munich

Registergericht und -nummer: Hamburg, HRB 86891

Sitz der Gesellschaft: Hamburg

Geschäftsführer: Paul Manicle, Halimah DeLaine Prado

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

* Re: [PATCH] reftable: technical documentation link fixes
  2020-05-26 18:53 ` Han-Wen Nienhuys
@ 2020-05-26 23:16   ` Carlo Marcelo Arenas Belón
  0 siblings, 0 replies; 6+ messages in thread
From: Carlo Marcelo Arenas Belón @ 2020-05-26 23:16 UTC (permalink / raw)
  To: Han-Wen Nienhuys; +Cc: git

On Tue, May 26, 2020 at 08:53:08PM +0200, Han-Wen Nienhuys wrote:
> 
> What do I do now? Does Junio fold this in, or do I have to send an
> updated patch series?

since the issue was introduced with 27eede2922 (reftable: file format
documentation, 2020-05-20) which is already in next, then Junio might
just add it to the tip of either hn/reftable or hn/refs-cleanup and
include it with the reroll that would come after the 2.27 release.

if you have other fixes and are planning a reroll on those branches
then it might be better if you squash it in and therefore avoid both
the bug and my typo in the commit message.

Carlo

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

* Re: [PATCH] reftable: technical documentation link fixes
  2020-05-25 21:02 [PATCH] reftable: technical documentation link fixes Carlo Marcelo Arenas Belón
  2020-05-25 22:00 ` Carlo Marcelo Arenas Belón
  2020-05-26 18:53 ` Han-Wen Nienhuys
@ 2020-05-27  2:21 ` Jonathan Nieder
  2020-05-27 17:14   ` Junio C Hamano
  2 siblings, 1 reply; 6+ messages in thread
From: Jonathan Nieder @ 2020-05-27  2:21 UTC (permalink / raw)
  To: Carlo Marcelo Arenas Belón; +Cc: git, hanwen

Carlo Marcelo Arenas Belón wrote:

> Subject: reftable: technical documentation link fixes

For next time, try to make the subject line summarize what specific
improvement the patch makes.  For example:

	reftable doc: use link: and urlencode to avoid dead links

> Showing as broken links in the html version (when using asciidoc 8.6.10)
> because some of the characters in the url need encoding.
>
> Change them to use a explicit "link" and URL encode the problematic
> charecters (ex: +, =, @).  While at it, change the base URL to use
> lore.kernel.org as has been suggested since 56e6c16394 (Merge branch
> 'dl/lore-is-the-archive', 2019-12-06)
>
> Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
> ---
>  Documentation/technical/reftable.txt | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>

Thanks.

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

* Re: [PATCH] reftable: technical documentation link fixes
  2020-05-27  2:21 ` Jonathan Nieder
@ 2020-05-27 17:14   ` Junio C Hamano
  0 siblings, 0 replies; 6+ messages in thread
From: Junio C Hamano @ 2020-05-27 17:14 UTC (permalink / raw)
  To: Jonathan Nieder; +Cc: Carlo Marcelo Arenas Belón, git, hanwen

Jonathan Nieder <jrnieder@gmail.com> writes:

> Carlo Marcelo Arenas Belón wrote:
>
>> Subject: reftable: technical documentation link fixes
>
> For next time, try to make the subject line summarize what specific
> improvement the patch makes.  For example:
>
> 	reftable doc: use link: and urlencode to avoid dead links
>
>> Showing as broken links in the html version (when using asciidoc 8.6.10)
>> because some of the characters in the url need encoding.
>>
>> Change them to use a explicit "link" and URL encode the problematic
>> charecters (ex: +, =, @).  While at it, change the base URL to use
>> lore.kernel.org as has been suggested since 56e6c16394 (Merge branch
>> 'dl/lore-is-the-archive', 2019-12-06)
>>
>> Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
>> ---
>>  Documentation/technical/reftable.txt | 6 +++---
>>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>

Will queue at the tip of hn/reftable for now, but post 2.27-final,
we should tentatively eject hn/refs-cleanup out of 'next' and squash
this fix in to the step that originally introduced the problem (and
of course, new version of hn/reftable need to be based on the updated
hn/refs-cleanup topic when it happens).

Thanks, both.  

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

end of thread, other threads:[~2020-05-27 17:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-25 21:02 [PATCH] reftable: technical documentation link fixes Carlo Marcelo Arenas Belón
2020-05-25 22:00 ` Carlo Marcelo Arenas Belón
2020-05-26 18:53 ` Han-Wen Nienhuys
2020-05-26 23:16   ` Carlo Marcelo Arenas Belón
2020-05-27  2:21 ` Jonathan Nieder
2020-05-27 17:14   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).