Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QGIS.munki: Change parent recipe, add release type #195

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

a-vogel
Copy link

@a-vogel a-vogel commented Jan 29, 2025

This PR changes the parent to the download.recipe in mlbz521-recipes. This is meant to be the only remaining download recipe for QGIS. There is a pending PR from @homebysix regarding the CodeSignatureVerifier, but the download is working nonetheless.

Also, the release type can be set to long term support or latest with "latest" as default as was before.

Please see the output of autopkg run -vvq QGIS.munki.recipe:

Processing QGIS.munki.recipe...
WARNING: QGIS.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLDownloader
{'Input': {'url': 'https://qgis.org/downloads/macos/qgis-macos-pr.dmg'}}
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: Storing new Last-Modified header: Fri, 17 Jan 2025 23:25:01 GMT
URLDownloader: Storing new ETag header: "648c0c1e-62bef38413d3c"
URLDownloader: Downloaded /Users/ladmin/Library/AutoPkg/Cache/com.github.joshua-d-miller.autopkg.munki.qgis/downloads/qgis-macos-pr.dmg
{'Output': {'download_changed': True,
            'etag': '"648c0c1e-62bef38413d3c"',
            'last_modified': 'Fri, 17 Jan 2025 23:25:01 GMT',
            'pathname': '/Users/ladmin/Library/AutoPkg/Cache/com.github.joshua-d-miller.autopkg.munki.qgis/downloads/qgis-macos-pr.dmg',
            'url_downloader_summary_result': {'data': {'download_path': '/Users/ladmin/Library/AutoPkg/Cache/com.github.joshua-d-miller.autopkg.munki.qgis/downloads/qgis-macos-pr.dmg'},
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'downloaded:'}}}
AppDmgVersioner
{'Input': {'dmg_path': '/Users/ladmin/Library/AutoPkg/Cache/com.github.joshua-d-miller.autopkg.munki.qgis/downloads/qgis-macos-pr.dmg'}}
AppDmgVersioner: Mounted disk image /Users/ladmin/Library/AutoPkg/Cache/com.github.joshua-d-miller.autopkg.munki.qgis/downloads/qgis-macos-pr.dmg
AppDmgVersioner: BundleID: org.qgis.qgis3
AppDmgVersioner: Version: 3.40.3
{'Output': {'app_name': 'QGIS.app',
            'bundleid': 'org.qgis.qgis3',
            'version': '3.40.3'}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
MunkiImporter
{'Input': {'MUNKI_REPO': '/Users/ladmin/Repos/munki_local',
           'pkg_path': '/Users/ladmin/Library/AutoPkg/Cache/com.github.joshua-d-miller.autopkg.munki.qgis/downloads/qgis-macos-pr.dmg',
           'pkginfo': {'catalogs': ['testing'],
                       'category': 'Mathematics',
                       'description': 'A Free and Open Source Geographic '
                                      'Information System',
                       'developer': 'QGIS.ORG',
                       'display_name': 'QGIS',
                       'name': 'QGIS',
                       'unattended_install': True},
           'repo_subdirectory': 'apps/qgis'}}
MunkiImporter: No value supplied for MUNKI_REPO_PLUGIN, setting default value of: FileRepo
MunkiImporter: No value supplied for MUNKILIB_DIR, setting default value of: /usr/local/munki
MunkiImporter: No value supplied for force_munki_repo_lib, setting default value of: False
MunkiImporter: Using repo lib: AutoPkgLib
MunkiImporter:         plugin: FileRepo
MunkiImporter:           repo: /Users/ladmin/Repos/munki_local
MunkiImporter: Copied pkginfo to: /Users/ladmin/Repos/munki_local/pkgsinfo/apps/qgis/QGIS-3.40.3.plist
MunkiImporter:            pkg to: /Users/ladmin/Repos/munki_local/pkgs/apps/qgis/qgis-macos-pr-3.40.3.dmg
{'Output': {'munki_importer_summary_result': {'data': {'catalogs': 'testing',
                                                       'icon_repo_path': '',
                                                       'name': 'QGIS',
                                                       'pkg_repo_path': 'apps/qgis/qgis-macos-pr-3.40.3.dmg',
                                                       'pkginfo_path': 'apps/qgis/QGIS-3.40.3.plist',
                                                       'version': '3.40.3'},
                                              'report_fields': ['name',
                                                                'version',
                                                                'catalogs',
                                                                'pkginfo_path',
                                                                'pkg_repo_path',
                                                                'icon_repo_path'],
                                              'summary_text': 'The following '
                                                              'new items were '
                                                              'imported into '
                                                              'Munki:'},
            'munki_info': {'_metadata': {'created_by': 'ladmin',
                                         'creation_date': datetime.datetime(2025, 1, 29, 16, 44, 58),
                                         'munki_version': '6.6.3.4704',
                                         'os_version': '15.3'},
                           'autoremove': False,
                           'catalogs': ['testing'],
                           'category': 'Mathematics',
                           'description': 'A Free and Open Source Geographic '
                                          'Information System',
                           'developer': 'QGIS.ORG',
                           'display_name': 'QGIS',
                           'installer_item_hash': 'b5916a12f44a02c076868b6d45443744fab88f491092383585de525d2d549908',
                           'installer_item_location': 'apps/qgis/qgis-macos-pr-3.40.3.dmg',
                           'installer_item_size': 1647363,
                           'installer_type': 'copy_from_dmg',
                           'installs': [{'CFBundleIdentifier': 'org.qgis.qgis3',
                                         'CFBundleName': 'QGIS',
                                         'CFBundleShortVersionString': '3.40.3',
                                         'CFBundleVersion': '3.40.3 ()',
                                         'minosversion': '10.13.0',
                                         'path': '/Applications/QGIS.app',
                                         'type': 'application',
                                         'version_comparison_key': 'CFBundleShortVersionString'}],
                           'items_to_copy': [{'destination_path': '/Applications',
                                              'source_item': 'QGIS.app'}],
                           'minimum_os_version': '10.13.0',
                           'name': 'QGIS',
                           'unattended_install': True,
                           'uninstall_method': 'remove_copied_items',
                           'uninstallable': True,
                           'version': '3.40.3'},
            'munki_repo_changed': True,
            'pkg_repo_path': '/Users/ladmin/Repos/munki_local/pkgs/apps/qgis/qgis-macos-pr-3.40.3.dmg',
            'pkginfo_repo_path': '/Users/ladmin/Repos/munki_local/pkgsinfo/apps/qgis/QGIS-3.40.3.plist'}}
Receipt written to /Users/ladmin/Library/AutoPkg/Cache/com.github.joshua-d-miller.autopkg.munki.qgis/receipts/QGIS.munki-receipt-20250129-174458.plist

The following new items were downloaded:
    Download Path                                                                                                  
    -------------                                                                                                  
    /Users/ladmin/Library/AutoPkg/Cache/com.github.joshua-d-miller.autopkg.munki.qgis/downloads/qgis-macos-pr.dmg  

The following new items were imported into Munki:
    Name  Version  Catalogs  Pkginfo Path                 Pkg Repo Path                       Icon Repo Path  
    ----  -------  --------  ------------                 -------------                       --------------  
    QGIS  3.40.3   testing   apps/qgis/QGIS-3.40.3.plist  apps/qgis/qgis-macos-pr-3.40.3.dmg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant