GithubHelp home page GithubHelp logo

rustymyers-recipes's Introduction

autopkg-recipes

AutoPkg recipes by Rusty

rustymyers-recipes's People

Contributors

apizz avatar homebysix avatar macmule avatar nstrauss avatar rustymyers avatar seanhansell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

rustymyers-recipes's Issues

Fuze Download Recipe Fails Code Verification

WARNING: Fuze.download.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
Code signature verification failed. Note that all verifications can be disabled by setting the variable DISABLE_CODE_SIGNATURE_VERIFICATION to a non-empty value.
Failed.

The following recipes failed:
    Fuze.download.recipe
        Error in com.github.rustymyers.Fuze.download: Processor: CodeSignatureVerifier: Error: Code signature verification failed. Note that all verifications can be disabled by setting the variable DISABLE_CODE_SIGNATURE_VERIFICATION to a non-empty value.

The following new items were downloaded:
    Download Path                                                                             
    -------------                                                                             
    /Users/sean/Library/AutoPkg/Cache/com.github.rustymyers.Fuze.download/downloads/Fuze.zip  ```

FossHubURLProvider.py

Hey Rusty,

Can you help and take a look please, seems like the FossHubURLProvider.py is having an issue, little more information below. Im hoping it's not us.

`FossHubURLProvider: Projects JSON last updated: Tue, 27 Sep 2022 08:14:45 GMT
{'Output': {}}
URLDownloader
Use of undefined key in variable substitution: 'url'
{'Input': {'request_headers': {'user-agent': 'Mozilla/5.0 (Macintosh; Intel '
'Mac OS X 10_8_3) '
'AppleWebKit/536.28.10 (KHTML, '
'like Gecko) Version/6.0.3 '
'Safari/536.28.10'},
'url': '%url%'}}
URLDownloader: No value supplied for prefetch_filename, setting default value of: False
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, 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', '%url%', '--fail', '--output', '/srv/autopkg/Cache/uk.ac.ox.orchard.munki.Audacityox/downloads/tmpki5adw6i', '--header', 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/536.28.10 (KHTML, like Gecko) Version/6.0.3 Safari/536.28.10']' returned non-zero exit status 6.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Library/AutoPkg/autopkglib/init.py", line 840, in process
self.env = processor.process()
File "/Library/AutoPkg/autopkglib/init.py", line 626, in process
self.main()
File "/Library/AutoPkg/autopkglib/URLDownloader.py", line 331, in main
raw_headers = self.download_with_curl(curl_cmd)
File "/Library/AutoPkg/autopkglib/URLGetter.py", line 185, in download_with_curl
proc_stdout, proc_stderr, retcode = self.execute_curl(curl_cmd, text)
File "/Library/AutoPkg/autopkglib/URLGetter.py", line 180, in execute_curl
raise ProcessorError(e)
autopkglib.ProcessorError: Command '['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url', '%url%', '--fail', '--output', '/srv/autopkg/Cache/uk.ac.ox.orchard.munki.Audacityox/downloads/tmpki5adw6i', '--header', 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/536.28.10 (KHTML, like Gecko) Version/6.0.3 Safari/536.28.10']' returned non-zero exit status 6.
File "/Library/AutoPkg/autopkglib/init.py", line 840, in process
self.env = processor.process()
Command '['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url', '%url%', '--fail', '--output', '/srv/autopkg/Cache/uk.ac.ox.orchard.munki.Audacityox/downloads/tmpki5adw6i', '--header', 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/536.28.10 (KHTML, like Gecko) Version/6.0.3 Safari/536.28.10']' returned non-zero exit status 6.
Failed.
Receipt written to /srv/autopkg/Cache/uk.ac.ox.orchard.munki.Audacityox/receipts/Audacityox-receipt-20220927-093953.plist

The following recipes failed:
Audacityox.munki
Error in uk.ac.ox.orchard.munki.Audacityox: Processor: URLDownloader: Error: Command '['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url', '%url%', '--fail', '--output', '/srv/autopkg/Cache/uk.ac.ox.orchard.munki.Audacityox/downloads/tmpki5adw6i', '--header', 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/536.28.10 (KHTML, like Gecko) Version/6.0.3 Safari/536.28.10']' returned non-zero exit status 6.
`

TextPad download blocked

The TextPad download has been put behind a verification form. Unable to get downloads with AutoPkg

URL Downloader error - could not resolve host - failing with FossHubURLProvider.py

Hi Rusty,

Having a different issue this time with the FossHubURLProvider.py since Audacity was updated on the 27th Jan.

autopkg run -vv Audacityox.munki
Processing Audacityox.munki...
WARNING: Audacityox.munki is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
com.github.rustymyers.SharedProcessors/FossHubURLProvider
{'Input': {'app_name': 'Audacity', 'app_type': 'macOS DMG '}}
FossHubURLProvider: Checking json for: 'Audacity' & 'macOS DMG ' from https://university.fosshub.com/projects.json
FossHubURLProvider: Projects JSON last updated: Wed, 01 Feb 2023 07:03:22 GMT
{'Output': {}}
URLDownloader
Use of undefined key in variable substitution: 'url'
{'Input': {'request_headers': {'user-agent': 'Mozilla/5.0 (Macintosh; Intel '
'Mac OS X 10_8_3) '
'AppleWebKit/536.28.10 (KHTML, '
'like Gecko) Version/6.0.3 '
'Safari/536.28.10'},
'url': '%url%'}}
URLDownloader: No value supplied for prefetch_filename, setting default value of: False
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
URLDownloader: ERROR: (6) Could not resolve host: %url%

curl: (6) Could not resolve host: %url%

Failed.
Receipt written to /srv/autopkg/Cache/uk.ac.ox.orchard.munki.Audacityox/receipts/Audacityox-receipt-20230201-142551.plist

The following recipes failed:
Audacityox.munki
Error in uk.ac.ox.orchard.munki.Audacityox: Processor: URLDownloader: Error: curl: (6) Could not resolve host: %url%

Rewrite Synfig recipes to require --pkg

The FossHub.com TOS now prohibits automatic downloading, which unfortunately includes AutoPkg. Tim Sutton recently removed his Audacity download recipe in order to comply with the new terms, and I suspect your Synfig recipes may be similarly affected.

The next best thing is probably to require a --pkg switch as input. The changes made to Audacity.munki in the commit above could serve as a template for such a change.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.