autopkg / zentral-recipes Goto Github PK
View Code? Open in Web Editor NEWzentral.pro AutoPkg recipe repository
zentral.pro AutoPkg recipe repository
Hi folks,
I started rejigging the ngrok recipes, and ended up completely rewriting - https://github.com/autopkg/dataJAR-recipes/tree/master/ngrok
A custom processor is used to get the version from the binary, for example.
Up to you, but you folks could deprecate your ngrok recipes I created.. up to you.
Version 1.10.0 is on GitHub as dialog-1.10.0-2428.pkg
. This does not fit the current regex:
https://github.com/autopkg/zentral-recipes/blob/master/swiftDialog/swiftDialog.download.recipe#L30
<string>dialog-[\d+].\d{0,2}.\d{0,2}.pkg|swiftDialog-[\d+].\d{0,2}.\d{0,2}.pkg</string>
The download URL used by the Nova download recipe is static, and won't work for versions other than 1.0.
I had Nova recipes waiting in the wings for the official release โ if you want, I could post and maintain mine, or I could submit a PR to yours that utilizes URLTextSearcher. Up to you.
The search pattern finds the latest version (which is hosted on GitHub), but latest does not exist in the Bitbucket repo.
'RE_PATTERN': '(?P<dl_filename>(Netiquette_(\\d*\\.?)*).zip)',
'SEARCH_URL': 'https://objective-see.com/products/netiquette.html',
'verbose': 3}
URLTextSearcher
{'Input': {'re_pattern': '(?P<dl_filename>(Netiquette_(\\d*\\.?)*).zip)',
'result_output_var_name': 'dl_filename',
'url': 'https://objective-see.com/products/netiquette.html'}}
URLTextSearcher: Found matching text (dl_filename): Netiquette_1.2.0.zip
{'Output': {'dl_filename': 'Netiquette_1.2.0.zip'}}
URLDownloader
{'Input': {'CHECK_FILESIZE_ONLY': True,
'url': 'https://bitbucket.org/objective-see/deploy/downloads/Netiquette_1.2.0.zip'}}
URLDownloader: No value supplied for prefetch_filename, setting default value of: False
Traceback (most recent call last):
File "/Library/AutoPkg/autopkglib/URLGetter.py", line 177, in execute_curl
errors=errors,
File "/Library/AutoPkg/Python3/Python.framework/Versions/Current/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url', 'https://bitbucket.org/objective-see/deploy/downloads/Netiquette_1.2.0.zip', '--fail', '--output', '/Users/ladmin/Library/AutoPkg/Cache/com.github.zentralpro.download.netiquette/downloads/tmp6oceacn2']' returned non-zero exit status 22.
Perhaps switch the recipe to use GitHubReleasesInfoProvider
processor? Or a polite nudge to Patrick Wardle?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.