autopkg / dataJAR-recipes

Elegant and powerful Apple services for business and education.
https://www.datajar.co.uk
Apache License 2.0
116 stars 84 forks source link

Resolume Arena cloudfront prefix #352

Closed jgstew closed 2 months ago

jgstew commented 2 months ago

I don't know if you were the one who asked at my workshop at PSU MacAdmins 2024 about not hard coding the cloudfront url prefix for Resolume, but I did end up writing a download recipe that solves this.

Regarding: https://github.com/autopkg/dataJAR-recipes/blob/master/Resolume%20Arena/Resolume%20Arena.download.recipe

See: https://github.com/jgstew/jgstew-recipes/blob/main/Resolume/Arena-Mac.download.recipe.yaml

paul-cossey commented 2 months ago

Hey, @jgstew

I don't think it was us you spoke to. What was the reasoning for not having the prefix hardcoded? AFAIK that doesn't change?

jgstew commented 2 months ago

I think the concern was how to handle it automatically in the case where it would change periodically, but yes I don't think you were who I spoke to, but I searched and found this recipe and wondered.

If it changes so infrequently then it is easy enough to change it by hand when the rare thing occurs.

paul-cossey commented 2 months ago

Ah ok, gotcha - I could be totally wrong, but I think the prefix is like an org identifier, so the cloudfront equivalent of datajar.cloudfront.net for example.

paul-cossey commented 2 months ago

I'll close this off as it's not us that you spoke to.