Commit Graph

1832 Commits

Author SHA1 Message Date
Greg Neagle 7dbbf8f368 Add installer_type == 'apple_update_metadata' to has_valid_install_critieria function so makepkginfo doesn't warn when making pkginfo for apple_update items. 2015-03-25 11:36:51 -07:00
Greg Neagle d0c1c40353 Special case for Office 2011 updaters when building lists of files; install location should be empty string 2015-03-22 09:55:19 -07:00
Greg Neagle ca355d0289 Special case for Office 2011 updaters when building lists of files 2015-03-22 09:08:44 -07:00
Greg Neagle 33fd840a76 Bump version to 2.2.4 for release 2015-03-20 10:23:59 -07:00
Nate Walck b767cf999f Added logging so it is easier to determine if updates are installed at login window or a user GUI session 2015-03-16 09:03:04 -07:00
Greg Neagle 42a70f284c Tweak makepkginfo's warning message when there is no installation check info 2015-03-14 13:00:49 -07:00
Brian Warsing 79b319fa3e revise warning message and adjust formatting
Revise warning msg to remove ref to missing PayloadIdentifier and clean-up the
multiline string formatting to make it easier to read.
2015-03-14 11:36:56 -07:00
Brian Warsing 45ec79557a update warning to include PayloadIdentifier msg
In the unlikely event a profile with a missing PayloadIdentifier is
successfully parsed, produce a warning.
2015-03-14 09:54:47 -07:00
Brian Warsing eba3458790 add PayloadIdentifier as install criteria
PayloadIdentifiers are used to determine install status. Add this to the list
of acceptable install criteria.

In addition, DRY out the code and supply an explicit return value.
2015-03-14 09:47:10 -07:00
Brian Warsing 2557fd48bd produce a warning when install criteria is missing
Adds a check that produces a warning to stderr when the package being parsed
does not contain:
- a populated installs array
- a populated receipts array
- a populated installcheck_script
2015-03-14 08:24:38 -07:00
Brian Warsing 8a018bbc0d insert new func has_valid_install_critieria
Inspects compiled catalog info dictionary for valid install criteria.
Returns boolean.
2015-03-14 08:05:32 -07:00
Brian Warsing ac663350b0 kill hanging whitespace
Rather than including this in an effective commit, kill this hanging whitespace
in a separate commit on the off-chance it needs to be reverted.
2015-03-14 08:03:29 -07:00
Brian Warsing 13c7e34f6f do not return None when there's no receipts
munkicommon.getPackageMetaData was returning None when the receipts array was
empty. This eventually produced a fatal error and halted makepkginfo. Remove
the early return statement and allow getPackageMetaData to return the empty
list.
2015-03-14 07:54:30 -07:00
Greg Neagle ba387f2b7c Convert all command-line arguments to Unicode (assuming utf-8 encoding) to eliminate issues with item paths containing Unicode characters 2015-03-13 12:20:20 -07:00
Greg Neagle 8701bacf78 Bump version to 2.2.3 for new release 2015-03-12 11:58:09 -07:00
Greg Neagle 57db17404b Don't skip checking for Apple software updates when AppleSoftwareUpdatesOnly is set to true 2015-03-12 11:33:01 -07:00
Greg Neagle 845e1f8766 Fix dpi metadata on toolbar icons 2015-03-10 14:08:52 -07:00
Samuel Keeley b9c1f63bfc Fix DPI for icons 2015-03-10 14:01:04 -07:00
Greg Neagle af87349c11 Bump version plist to 2.2.1 2015-03-10 11:02:48 -07:00
Greg Neagle 256ae69383 Process self-serve uninstalls the same way we do self-serve installs; avoids picking up a catalogs list from SelfServeManifest 2015-03-10 11:01:11 -07:00
Samuel Keeley dbb9dacc3d optimized icns from optimized pngs 2015-03-09 11:17:00 -05:00
Samuel Keeley b868bc41a0 lossless optimization of PNG assets 2015-03-09 09:34:00 -05:00
Samuel Keeley 60a8fe7ae4 Update uninstall_munki.sh 2015-03-09 09:05:19 -05:00
Samuel Keeley 13e79760ea Update uninstall_munki.sh
Also remove Managed Software Center.app.

(I hope nobody uses this!)
2015-03-04 23:59:27 -08:00
Greg Neagle b5bc93bf8d Make MSC responsible for triggering a restart if needed and GUI user is present to avoid process synchronization issues 2015-02-25 15:35:42 -08:00
Greg Neagle c43a1e666d Don't add receipt info for payload-free flat pkgs to pkginfo since they do not leave receipts in the pkgutil receipts database. 2015-02-24 11:08:02 -08:00
Greg Neagle f42af65d17 makepkginfo: When getting receipt info from flat distribution pkgs, prefer the info from the subpackage's PackageInfo files to the top-level Distribution file 2015-02-23 19:12:02 -08:00
Greg Neagle ed9c0905b3 Merge branch 'master' of https://github.com/munki/munki 2015-02-19 17:01:15 -08:00
Greg Neagle b145d6f0ce Display an error message when attempting to import a profile that does not nave a PayloadType of 'Configuration' 2015-02-19 17:00:59 -08:00
Samuel Keeley 4ed5e4e381 checking for name key in makecatalogs, fixes #450 2015-02-12 06:19:37 -08:00
Greg Neagle 1745cd295f Seperate the ideas of skipping the check phase and only installing so that managedsoftwareupdate doesn't auto-install cached items when the Munki server cannot be reached. 2015-02-06 09:35:15 -08:00
Greg Neagle 2a4bea0ce6 When creating temp space for 'profiles -C' output, provide a filename instead of a directory 2015-01-27 08:48:15 -08:00
Greg Neagle d8c06093b0 Instead of reading (possibly signed) profile after install in order to get the PayloadIdentifier, just use the PayloadIdentifier from the pkginfo item. 2015-01-26 21:33:53 -08:00
Greg Neagle 4fcc78985a Code formatting fix for makecatalogs 2015-01-23 12:33:43 -08:00
Greg Neagle 9f7a0598dc Merge branch 'master' of https://github.com/munki/munki
Conflicts:
	code/client/makecatalogs
2015-01-23 11:34:56 -08:00
Greg Neagle e4fb9cac47 PyLint cleanups for makecatalogs; also define errors array before use by iconhashing code 2015-01-23 11:26:19 -08:00
Samuel Keeley a85a071745 pylint fixes 2015-01-23 11:25:25 -08:00
Greg Neagle 5866452293 Merge pull request #444 from munki/makecatalogs-icons
modify makecatalogs to automatically generate icon hashes and insert them into catalogs
2015-01-23 11:09:37 -08:00
Samuel Keeley be33651d43 remove one more line 2015-01-22 23:00:55 -08:00
Samuel Keeley 3f0af4438d simplification 🍐 2015-01-22 22:01:18 -08:00
Samuel Keeley 94cf5870bc more 80 chars and suggested simplification 2015-01-22 14:17:57 -08:00
Samuel Keeley a7ceae35d4 remove redundancy and lines > 80 chars 2015-01-22 14:11:17 -08:00
Samuel Keeley 93659f0c63 add .png to icon_name check 2015-01-21 11:20:36 -08:00
Samuel Keeley eda254fefa fix a bunch of problems with icon hashing 2015-01-21 09:24:46 -08:00
Greg Neagle 16726062d0 Remove '-f' from make_munki_mpkg_from_git.sh's usage message 2015-01-21 08:35:49 -08:00
Samuel Keeley 3bb3b62b13 sha256 2015-01-21 07:46:50 -08:00
Samuel Keeley d71a4e4708 don't break when no icons directory 2015-01-21 07:42:38 -08:00
Samuel Keeley 4e3bd4f0f2 iconspath 2015-01-20 22:01:18 -08:00
Samuel Keeley c22537aa3d modify makecatalogs to automatically generate icon hashes and insert them into catalogs 2015-01-20 21:43:46 -08:00
Greg Neagle c88ce43b65 Don't warn about no receipts or installs array for pkginfo for profiles 2015-01-20 21:34:46 -08:00