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

Dev new recipe logic #926

Open
wants to merge 57 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 43 commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
9d47472
Basic recipe object
nmcspadden Sep 26, 2023
37b73e8
Added more functionality, file rename
nmcspadden Sep 26, 2023
afc1759
Added new recipe logic
nmcspadden Sep 27, 2023
d395900
Remove todo
nmcspadden Sep 27, 2023
423af17
Validation is better
nmcspadden Sep 27, 2023
6176796
It works!
nmcspadden Sep 27, 2023
dd6694d
Recipe chains work!
nmcspadden Sep 27, 2023
1207d6e
remove extraneous comments
nmcspadden Sep 27, 2023
8076462
Improvements to chain
nmcspadden Sep 28, 2023
395ad51
Add some basic type data to AutoPackager
nmcspadden Oct 5, 2023
b31442f
Renaming load_recipe to old_load_recipe
nmcspadden Oct 5, 2023
0ece34e
Adding check_only and inputs
nmcspadden Oct 5, 2023
d1a3037
Adding dict representation
nmcspadden Oct 5, 2023
804775d
Deleting extraneous function
nmcspadden Oct 5, 2023
f8979d2
Adding type hinting to run_recipes
nmcspadden Oct 5, 2023
e7f3287
Move version comparison to autopkglib/common
nmcspadden Oct 5, 2023
e140c1a
Move function calls around
nmcspadden Oct 5, 2023
ec4a06f
Move autopkg version fns to common
nmcspadden Oct 5, 2023
029bd83
Moved APLooseVersion comparison in processors
nmcspadden Oct 5, 2023
29cb9de
Fixing import sorting
nmcspadden Oct 5, 2023
6ace908
Add types to version comparisons
nmcspadden Oct 5, 2023
955e760
Stop loading parent recipes twice
nmcspadden Oct 5, 2023
6092a2a
Add minimum version support
nmcspadden Oct 5, 2023
f11f5fb
Add trust scaffolding
nmcspadden Oct 9, 2023
1bd8cbf
Move getsha256hash to common
nmcspadden Oct 9, 2023
e201fee
Add scaffolding for parent trust
nmcspadden Oct 9, 2023
42913bc
Import getsha256hash correctly
nmcspadden Oct 9, 2023
900c70d
Moving git fns to autopkglib
nmcspadden Oct 9, 2023
8bca2d8
Move get_git_commit_hash into autopkglib
nmcspadden Oct 9, 2023
b717281
Sort imports
nmcspadden Oct 9, 2023
5b19880
use commit hash
nmcspadden Oct 9, 2023
10cd4cd
Support override trust loading
nmcspadden Oct 10, 2023
7507635
TODO for verifying trust
nmcspadden Oct 10, 2023
3ea37eb
Fixing release script
nmcspadden Nov 19, 2023
1d66d61
Passing correct values to find_recipe_path
nmcspadden Jan 24, 2024
0e94984
Fixing sha256 fn name
nmcspadden Jan 24, 2024
7097912
One more sha256 name
nmcspadden Jan 24, 2024
aa07b47
Formatting
nmcspadden Jan 24, 2024
ac1bbcb
Successfully ran GoogleChrome.munki
nmcspadden Jan 25, 2024
d30cdc8
Merge branch 'dev' into dev_new_recipe_logic
nmcspadden Jan 25, 2024
1d79103
Fixing choco test
nmcspadden Jan 25, 2024
f66138e
Fixing find_binary calls in tests
nmcspadden Jan 25, 2024
a3ea3f4
Merge branch 'dev_new_recipe_logic' of https://github.com/autopkg/aut…
nmcspadden Jan 25, 2024
4d2345d
Fix blocking tests
nmcspadden Jan 26, 2024
f703f0e
Type hint
nmcspadden Jan 26, 2024
14e5ab3
Remove harcoded reference
nmcspadden Jan 26, 2024
351b7de
Replacing types with generics
nmcspadden Jan 26, 2024
77801c6
Removing test code
nmcspadden Jan 26, 2024
383baab
Added some typing data
nmcspadden Jan 26, 2024
b3036d4
pre-commit auto fixes
invalid-email-address Jan 28, 2024
81749fd
Ignore unused hashes when generating recipe map
n8felton Feb 6, 2024
1fc4c42
Added more test scaffolding
nmcspadden Feb 6, 2024
33acf03
Merge pull request #933 from n8felton/bypass_git_hash
nmcspadden Feb 12, 2024
c58733a
pre-commit auto fixes
invalid-email-address Feb 14, 2024
d7fa408
Temporarily skipping hashes
nmcspadden Feb 26, 2024
b0a0e26
Merge branch 'dev_new_recipe_logic' of https://github.com/autopkg/aut…
nmcspadden Feb 26, 2024
dc83550
Merge branch 'dev' into dev_new_recipe_logic
homebysix May 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
297 changes: 98 additions & 199 deletions Code/autopkg

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Code/autopkgcmd/opts.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import optparse
from typing import List, Tuple

from autopkglib import globalPreferences
from autopkglib.prefs import globalPreferences


def gen_common_parser() -> optparse.OptionParser:
Expand Down
4 changes: 2 additions & 2 deletions Code/autopkglib/MunkiInstallsItemsCreator.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
import plistlib
import subprocess

from autopkglib import APLooseVersion, Processor, ProcessorError
from autopkglib.common import log
from autopkglib import Processor, ProcessorError
from autopkglib.common import APLooseVersion, log

try:
from Foundation import NSDictionary
Expand Down
3 changes: 2 additions & 1 deletion Code/autopkglib/SparkleUpdateInfoProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
from urllib.parse import quote, urlencode, urlsplit, urlunsplit
from xml.etree import ElementTree

from autopkglib import APLooseVersion, ProcessorError
from autopkglib.common import APLooseVersion
from autopkglib import ProcessorError
from autopkglib.URLGetter import URLGetter

__all__ = ["SparkleUpdateInfoProvider"]
Expand Down
4 changes: 3 additions & 1 deletion Code/autopkglib/URLGetter.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
import subprocess
from typing import List

from autopkglib import Processor, ProcessorError, find_binary, is_windows
from autopkglib import Processor, ProcessorError
from autopkglib.apgit import find_binary
from autopkglib.common import is_windows

__all__ = ["URLGetter"]

Expand Down