9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Skip Tavakkolian <skip.tavakkolian@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] hget'ing from a cdn
Date: Fri, 8 Jul 2022 20:55:10 -0700	[thread overview]
Message-ID: <CAJSxfmKJfQiS3=icvjNBo+1Yv9LL-71m506GJuGK3XrOgDucQQ@mail.gmail.com> (raw)
In-Reply-To: <YsiK2QP+5wpDCqBA@polynum.com>

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

Use a client written in Go?

On Fri, Jul 8, 2022, 12:53 PM <tlaronde@polynum.com> wrote:

> Hello,
> 
> Pkg in kerTeX are created by processing and first retrieving files using
> hget(1) for http served files.
> 
> The main TeX repository is CTAN. Now, there is an address:
> mirrors.ctan.org (http/https), that is in fact redirecting dynamically
> to various mirrors (this changes almost on any invocation).
> 
> There is a difference in implementation between Plan9 legacy and 9front,
> hget(1) being, if I'm not mistaken, a binary in Plan9 legacy, and a rc
> script in 9front.
> 
> The problem is that the redirection is not handled at least by one of
> these and I have to keep a static cache on my website server to mirror
> the files so that users can use the downloads.kergis.com/kertex/
> (http/https) address instead to circumvent the problem.
> 
> Is there a way to make it work ideally on both flavors, so that the
> pkg/recipes are indeed "live" taking whatever is current on CTAN using
> whatever mirror?
> 
> TIA,
> --
> Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
>              http://www.kergis.com/
>             http://kertex.kergis.com/
>                http://www.sbfa.fr/
> Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T58bb6b462ff52532-M7b20bd28c4745193c7c3cdcd
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 3515 bytes --]

  reply	other threads:[~2022-07-09  3:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-08 19:51 tlaronde
2022-07-09  3:55 ` Skip Tavakkolian [this message]
2022-07-09  5:07   ` Skip Tavakkolian
2022-07-09  6:17     ` tlaronde

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJSxfmKJfQiS3=icvjNBo+1Yv9LL-71m506GJuGK3XrOgDucQQ@mail.gmail.com' \
    --to=skip.tavakkolian@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).