autopkg / n8felton-recipes

Recipes for Autopkg
28 stars 35 forks source link

GraphViz.download.recipe recipe falls to find match #181

Open Daz-wallace opened 1 year ago

Daz-wallace commented 1 year ago

Hi, It looks like the vender for GraphViz has made some choices that now break your download recipe with the error: Error in com.github.n8felton.download.GraphViz: Processor: URLTextSearcher: Error: No match found on URL: http://www.graphviz.org/Download_macos.php

"http://www.graphviz.org/Download_macos.php" now permanently redirects to "https://graphviz.org/download/", which only offers source code, or links to use homebrew or MacPorts for deployment so I don't see this being fixeable anytime soon.

I'm going to keep pokeing but I'm not holding out much hope

n8felton commented 1 year ago

From https://graphviz.org/download/#mac

We need help with OSX, if you would like to volunteer.

We would appreciate if someone donates a script to run pkgbuild or productbuild to automatically generate OSX installers. Packaging for Apple Administrators could be a good reference. Note graphviz needs postinstall actions, at least dot -c; also fc-cache if Graphviz has freetype/cairopango drivers.

I do not need to deploy Graphviz in my current role, so it's hard to justify dedicating time to helping them build a native macOS package, but it seems they're at least open to the idea. Perhaps it'll be possible to also convince them of hosting the latest installer at a good known location.

n8felton commented 1 year ago

I've added my first public release of something I've been wanting to write up for a while at https://github.com/n8felton/proper-packaging-principles/blob/main/README.md. My hope is that it would be a good resource for exactly this case where a developer who isn't too familiar with macOS might be able to make some good strides in the right direction.