autopkg / foigus-recipes

21 stars 31 forks source link

Colour Contrast Analyser downloads exe instead of dmg #118

Closed opus-nbonenberger closed 1 year ago

opus-nbonenberger commented 1 year ago
GitHubReleasesInfoProvider
{'Input': {'github_repo': 'ThePacielloGroup/CCAe'}}
GitHubReleasesInfoProvider: No value supplied for CURL_PATH, setting default value of: /usr/bin/curl
GitHubReleasesInfoProvider: No value supplied for GITHUB_URL, setting default value of: https://api.github.com
GitHubReleasesInfoProvider: No value supplied for GITHUB_TOKEN_PATH, setting default value of: ~/.autopkg_gh_token
GitHubReleasesInfoProvider: Selected asset 'CCA-Portable-x64-3.2.1.exe' from release 'v3.2.1'
{'Output': {'asset_created_at': '2023-03-14T08:16:15Z',
            'asset_url': 'https://api.github.com/repos/ThePacielloGroup/CCAe/releases/assets/99306901',
            'release_notes': '# Changelog\r\n'
                             '**Known issues**\r\n'
                             '- [MacOS: Color picker picks the color *after* '
                             'browser/application color '
                             'management](https://github.com/ThePacielloGroup/CCAe/issues/76)\r\n'
                             "- [Windows: Application menus aren't keyboard "
                             'accessible](https://github.com/ThePacielloGroup/CCAe/issues/49)\r\n'
                             '- [Windows: Changing slider values is not '
                             'announced in '
                             'NVDA](https://github.com/ThePacielloGroup/CCAe/issues/37)\r\n'
                             '\r\n'
                             '## '
                             '[v3.2.1](https://github.com/ThePacielloGroup/CCAe/tree/v3.2.1) '
                             '(2023-03-14)\r\n'
                             '\r\n'
                             '[Full '
                             'Changelog](https://github.com/ThePacielloGroup/CCAe/compare/v3.2.0...v3.2.1)\r\n'
                             '\r\n'
                             '- Polish translation '
                             '[\\#263](https://github.com/ThePacielloGroup/CCAe/issues/263)\r\n'
                             '- Russian translation '
                             '[\\#286](https://github.com/ThePacielloGroup/CCAe/pull/286)\r\n'
                             '- French translation '
                             '[\\#285](https://github.com/ThePacielloGroup/CCAe/pull/285)\r\n'
                             '- Glitches in the Preferences '
                             '[\\#280](https://github.com/ThePacielloGroup/CCAe/issues/280)\r\n'
                             '- Color Contrast Ratio not updated correctly '
                             '[\\#277](https://github.com/ThePacielloGroup/CCAe/issues/277)\r\n'
                             '- Preferences \\> "Color Picker type" without '
                             'options to choose '
                             '[\\#272](https://github.com/ThePacielloGroup/CCAe/issues/272)\r\n'
                             '- CCA 3.2.0 - Specific colour value not giving '
                             'correct ratio '
                             '[\\#269](https://github.com/ThePacielloGroup/CCAe/issues/269)\r\n'
                             '- Window "About CCA \\(F1\\)" opens links with '
                             'attr "\\_self" instead of "\\_blank" '
                             '[\\#260](https://github.com/ThePacielloGroup/CCAe/issues/260)\r\n'
                             '- Always on Top = Off setting does not work on '
                             'app launch '
                             '[\\#254](https://github.com/ThePacielloGroup/CCAe/issues/254)\r\n'
                             '- Contrast ratio not updated for certain colour '
                             'values '
                             '[\\#287](https://github.com/ThePacielloGroup/CCAe/issues/287)\r\n'
                             '- Version number is missing in the About window '
                             '[\\#255](https://github.com/ThePacielloGroup/CCAe/issues/255)',
            'url': 'https://github.com/ThePacielloGroup/CCAe/releases/download/v3.2.1/CCA-Portable-x64-3.2.1.exe',
            'version': '3.2.1'}}
URLDownloader
{'Input': {'filename': 'ColourContrastAnalyser.dmg',
           'url': 'https://github.com/ThePacielloGroup/CCAe/releases/download/v3.2.1/CCA-Portable-x64-3.2.1.exe'}}
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: Curl command: ['/usr/bin/curl', '--silent', '--show-error', '--no-buffer', '--dump-header', '-', '--speed-time', '30', '--location', '--url', 'https://github.com/ThePacielloGroup/CCAe/releases/download/v3.2.1/CCA-Portable-x64-3.2.1.exe', '--fail', '--output', '/Users/admin/Library/AutoPkg/Cache/local.munki.ColourContrastAnalyser/downloads/tmp3g6pw9df', '--header', 'If-None-Match: "0x8DB246463DCC08D"', '--header', 'If-Modified-Since: Tue, 14 Mar 2023 08:16:19 GMT']
URLDownloader: Item at URL is unchanged.
URLDownloader: Using existing /Users/admin/Library/AutoPkg/Cache/local.munki.ColourContrastAnalyser/downloads/ColourContrastAnalyser.dmg
{'Output': {'pathname': '/Users/admin/Library/AutoPkg/Cache/local.munki.ColourContrastAnalyser/downloads/ColourContrastAnalyser.dmg'}}
foigus commented 1 year ago

Fixed by https://github.com/autopkg/foigus-recipes/commit/dcfebf213e033efb411315daf137062d2af28c85