On Mon, Apr 23, 2018 at 9:00 PM, Greg Hendershott <greghendersh...@gmail.com> wrote: > ... > Could you give the catalog a URL from a link-shortening service, to > get metrics? Maybe. That hadn't occurred to me until now. > > Ideally it wouldn't be a link _shortening i.e. obfuscating service, > per se. It wouldn't mask the real URL (beyond any necessary encoding > to make it a query parameter value). > > What I don't know is how `raco pkg install` would handle a 302 > temporary redirect response. Does it follow it, ignore it, or error?
If I'm understanding pkg/private/install.rkt correctly it uses git.rkt to shell out to git to do the actual work. If I'm understanding this commit correctly, it seems even recent gits will follow redirects unless the user has configured otherwise: https://github.com/git/git/commit/50d3413740d1da599cdc0106e6e916741394cc98 So, something like this might work. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.