greg
2020-3-28 14:19:41

I think I needed sleep. 302 isn’t an “error”, really, it’s a redirect.


greg
2020-3-28 14:20:28

greg@x1c:~$ curl -I <https://github.com/samth/find-parent-dir/tarball/e78d0277447d81934847166e8024edc5adea4b1c> HTTP/1.1 302 Found date: Sat, 28 Mar 2020 05:06:38 GMT content-type: text/html; charset=utf-8 server: <http://GitHub.com\|GitHub.com> status: 302 Found vary: X-PJAX, Accept-Encoding, Accept, X-Requested-With location: <https://codeload.github.com/samth/find-parent-dir/legacy.tar.gz/e78d0277447d81934847166e8024edc5adea4b1c> ...


greg
2020-3-28 14:21:06

IIUC GitHub is now redirecting these, and probably raco pkg install doesn’t follow redirects prior to 6.3.


greg
2020-3-28 14:21:47

One idea is I could stop testing/supporting all packages prior to 6.3. But that’s kind of drastic.


greg
2020-3-28 14:22:46

Another idea is that the package catalog could provide the new URL in the first place. Maybe?


robin.ge
2020-3-28 16:42:04

@robin.ge has joined the channel



samth
2020-3-28 19:59:25

Unfortunately, as @mflatt points out, that PR won’t fix the problem. Furthermore, I think the problem is unfixable — that URL is generated by the client (the one my patch changes) not by the server, so we can’t make things work on 6.3.


greg
2020-3-28 20:34:46

Ah OK. I wonder, does this only apply to packages that specify — on the package server — the github: protocol instead of git:? If so, could it be fixed on the package server by updating those instead to use git:?


samth
2020-3-28 20:35:15

I was wondering that. Can you test installing the github and git urls directly on 6.2?


samth
2020-3-28 20:35:32

In which case, we can at least fix the important ones


greg
2020-3-28 20:39:05

Darn. I think I found a counter-example. Although one of the problem examples is the find-parent-dir pkg which does use github, another problem example is threading-lib which uses git:. So it seems it’s not that simple.


greg
2020-3-28 20:41:57

Even if it were possible to fix this, I don’t think this is worth going to heroic — or even moderately complicated — efforts to do so. The packages in question were only supporting versions as old as 6.2 and 6.2.1, already. To bump that one version higher to 6.3 does not seem such a big deal. I think even things like debian stable are way past that version now. And I’m not proposing to make things like aws, rackjure, and frog actively not-support 6.2.x anymore. I’m “only” proposing to not actively CI test them. Probably they’ll continue to work just fine with 6.2.x.


greg
2020-3-28 20:42:17

I just wanted to check if it might be a simple thing to change, to keep supporting/testing 6.2.x.


samth
2020-3-28 20:42:37

inconveniently, it’s hard to test since 6.2 fails to do any package installs on my machine because of SSL issues


greg
2020-3-28 20:43:22

Well there we go. I can just say, 6.2.x is no longer supported Because Security. :smile:


masande.mti
2020-3-28 21:37:59

@masande.mti has joined the channel