autopkg / jazzace-recipes

Anthony Reimer's AutoPkg recipes, mostly related to DeployStudio and music.
13 stars 16 forks source link

Sassafras Download URL changed #32

Closed vmiller closed 1 year ago

vmiller commented 1 year ago

The Sassafras download recipes have been failing with a 404 error. I had a chance to poke around a little to see what the new URL looks like.

The new URL is in the form of https://www.sassafras.com/links/ksp-client-79-latest.pkg

Possible approaches to fix :

Also, I don't see a public download link for the server software anymore just client and admin.

I may have some time this week to poke around at potential fixes.

jazzace commented 1 year ago

Thanks for the heads up. I think this is worth me making a call to Sassafras. This is a company that might actually care about making this accessible to us via automation.

vmiller commented 1 year ago

That thought crossed my mind as well. They are a small outfit as well, so you can talk to someone with some influence :-)

jazzace commented 1 year ago

I think I found the problem. The downloads are still there, but they changed the capitalization on MacOS [sic] and Server in the earlier part of the URL. I can make a fix but it will require an extra processor to deal with the capitalization (since the package is still lower case). Sidebar: I can get to the downloads page if it is called from the Admin console but it gets redirected to the client download page [HTTP, surprisingly] if I enter that same URL (https://www.sassafras.com/downloads/) in a browser directly.

jazzace commented 1 year ago

Based on my interaction with Sassafras tech support, I will probably wait until late today to see if they change the URLs back to lower case before writing the fix. They did confirm that the main Downloads page redirects unless you are logged in (which lays a cookie down) or you are coming from the Admin client.

jazzace commented 1 year ago

Sassafras has confirmed that this naming standards change will persist (it was an internal process cleanup that had an unintended consequence to us). The download recipe has been updated to reflect the change. This recipe now requires the dataJAR-recipes repo.