git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2 1/4] doc: switch links to https

From
Elijah Newren <newren@gmail.com>
Date
Nov 23, 2023, 21:19 UTC
Message-ID
<CABPp-BEbfsss39-cENw2BwnQPp4edp9_JSN_O1e7vcci9XE+cQ@mail.gmail.com>
In-Reply-To
<71ed1286d7f38ecc901b40a542508fba9777f02d.1695553042.git.gitgitgadget@gmail.com>

On Sun, Sep 24, 2023 at 5:53 AM Josh Soref via GitGitGadget <gitgitgadget@gmail.com> wrote:

>
[...]
Show 10 quoted lines
> diff --git a/Documentation/gitweb.conf.txt b/Documentation/gitweb.conf.txt
> index 34b1d6e2243..1edabdfef36 100644
> --- a/Documentation/gitweb.conf.txt
> +++ b/Documentation/gitweb.conf.txt
> @@ -820,7 +820,7 @@ filesystem (i.e. "$projectroot/$project"), `%h` to the current hash
>  (\'h' gitweb parameter) and `%b` to the current hash base
>  (\'hb' gitweb parameter); `%%` expands to \'%'.
>  +
> -For example, at the time this page was written, the http://repo.or.cz[]
> +For example, at the time this page was written, the https://repo.or.cz[]

Given the "at the time this page was written" comment, I'm not sure we should switch to https here.

Show 14 quoted lines
>  Git hosting site set it to the following to enable graphical log
>  (using the third party tool *git-browser*):
>  +
> diff --git a/Documentation/gitweb.txt b/Documentation/gitweb.txt
> index af6bf3c45ec..434893595a4 100644
> --- a/Documentation/gitweb.txt
> +++ b/Documentation/gitweb.txt
> @@ -28,7 +28,7 @@ Gitweb provides a web interface to Git repositories.  Its features include:
>    revisions one at a time, viewing the history of the repository.
>  * Finding commits which commit messages matches given search term.
>
> -See http://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code,
> +See https://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code,
>  browsed using gitweb itself.

The suggested link gives a "404 - No such tree". Granted, the http: link also does that, but it'd be nicer to provide a non-broken link, which you can do by stripping the '/[]' from the end of the URL.

Show 11 quoted lines
> diff --git a/json-writer.h b/json-writer.h
> index 209355e0f12..de140e54c98 100644
> --- a/json-writer.h
> +++ b/json-writer.h
> @@ -3,7 +3,7 @@
>
>  /*
>   * JSON data structures are defined at:
> - * [1] http://www.ietf.org/rfc/rfc7159.txt
> + * [1] https://www.ietf.org/rfc/rfc7159.txt
>   * [2] http://json.org/
As Eric commented on v1, the json.org link should also be converted to https.
The rest of the patch that I didn't comment on looks fine.
Previous: Josh Soref via GitGitGadgetNext: Josh Soref
Message 19 of 35 in “Switch links to https”
  1. 0/4 Switch links to httpsJosh Soref via GitGitGadget, Sep 22, 2023
  2. 4/4 doc: refer to internet archiveJosh Soref via GitGitGadget, Sep 22, 2023
  3. 2/4 doc: update links to current pagesJosh Soref via GitGitGadget, Sep 22, 2023
  4. Eric SunshineSep 22, 2023
  5. Josh SorefSep 22, 2023
  6. Eric SunshineSep 22, 2023
  7. Junio C HamanoSep 22, 2023
  8. Junio C HamanoSep 22, 2023
  9. 3/4 doc: update links for andre-simon.deJosh Soref via GitGitGadget, Sep 22, 2023
  10. 1/4 doc: switch links to httpsJosh Soref via GitGitGadget, Sep 22, 2023
  11. Eric SunshineSep 22, 2023
  12. Junio C HamanoSep 22, 2023
  13. 0/4 Switch links to httpsJosh Soref via GitGitGadget, Sep 24, 2023
  14. 4/4 doc: refer to internet archiveJosh Soref via GitGitGadget, Sep 24, 2023
  15. Elijah NewrenNov 23, 2023
  16. Josh SorefNov 24, 2023
  17. Elijah NewrenNov 24, 2023
  18. 1/4 doc: switch links to httpsJosh Soref via GitGitGadget, Sep 24, 2023
  19. Elijah NewrenNov 23, 2023
  20. Josh SorefNov 24, 2023
  21. Elijah NewrenNov 24, 2023
  22. 3/4 doc: update links for andre-simon.deJosh Soref via GitGitGadget, Sep 24, 2023
  23. 2/4 doc: update links to current pagesJosh Soref via GitGitGadget, Sep 24, 2023
  24. Elijah NewrenNov 23, 2023
  25. Josh SorefNov 24, 2023
  26. Junio C HamanoSep 25, 2023
  27. Eric SunshineSep 25, 2023
  28. 0/4 Switch links to httpsJosh Soref via GitGitGadget, Nov 24, 2023
  29. 3/4 doc: update links for andre-simon.deJosh Soref via GitGitGadget, Nov 24, 2023
  30. 2/4 doc: switch links to httpsJosh Soref via GitGitGadget, Nov 24, 2023
  31. 4/4 doc: refer to internet archiveJosh Soref via GitGitGadget, Nov 24, 2023
  32. 1/4 doc: update links to current pagesJosh Soref via GitGitGadget, Nov 24, 2023
  33. Elijah NewrenNov 24, 2023
  34. Josh SorefNov 24, 2023
  35. Junio C HamanoNov 27, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.