Greg Neagle
57fa34e0fe
Added blocking_applications to the list of pkginfo keys that get copied from the previous version to a munkiimport of a newer version.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1155 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-04-29 21:41:36 +00:00
Greg Neagle
d4261af782
munkiimport will copy the old forced_install and forced_uninstall keys as well as the new unattended_* keys to improve backwards compatibility.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1101 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-04-08 17:12:38 +00:00
Justin McWilliams
e84453eb5f
s/forced_(un)install/unattended_(un)install/g
...
s/only_forced/only_unattended/g
Change forced_* pkginfo key names to more accurately describe what's happening, since they're not "forced" in the true sense of the word.
Admins should include both forced_* and unattended_* keys in their pkginfos while migrating to client releases after this change, to ensure both old and new clients have desired pkg push agressiveness :(
git-svn-id: http://munki.googlecode.com/svn/trunk@1098 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-04-08 16:23:45 +00:00
Greg Neagle
1c9e5784c1
- forced_installs and forced_uninstalls now work with items that are part of a dependency relationship
...
- makecatalogs now has no OS X-specific dependencies
- munkiimport fixes for repos hosted via SMB/CIFS.
git-svn-id: http://munki.googlecode.com/svn/trunk@1097 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-04-06 21:54:29 +00:00
Greg Neagle
685314da25
Fix so PyObjC __NSDate and __CFDate objects are converted to strings (previously we only did __NSCFDate) . Need to revisit date handling to/from CFPreferences...
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1046 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-02-25 00:18:56 +00:00
Greg Neagle
1002eb7a26
munkiimport: Only offer to unmount the repo if we mounted it in the first place.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1028 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-02-11 18:28:05 +00:00
Greg Neagle
72c8b0ac50
Fixed typo in munkiimport.findMatchingPkginfo()
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1027 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-02-10 21:37:30 +00:00
Greg Neagle
69705bb33e
Change version number handling to eliminate padding/truncating version numbers to five positions (ala 1.0.0.0.0).
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1016 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-01-31 21:38:47 +00:00
Greg Neagle
a853f78c9f
Update copyright dates across the board.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1010 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-01-25 18:22:14 +00:00
Greg Neagle
abe3d2a1de
appleupdates.py now creates its own .dist files to manage installation of downloaded Apple Software Updates, replacing the earlier technique of just installing the individual packages in filename order.
...
In most invocations of subprocess.Popen, change the bufsize from 1 to -1, which changes from line-buffered to "big" buffers.
Other minor changes to align with the appleupdates,py changes and some pylint-recommended cleanup.
git-svn-id: http://munki.googlecode.com/svn/trunk@995 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-01-14 19:11:05 +00:00
Greg Neagle
26bc156996
Exit if makepkginfo returns empty pkginfo.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@952 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-12-08 18:47:45 +00:00
Greg Neagle
35d8757faf
munkiimport now searches the repo for pkg/installer_items that match the one currently being imported to allow you to make a new version of a package consistent with a previous version.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@947 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-12-01 21:04:28 +00:00
Greg Neagle
849c79d041
Print better error messages when repo path is missing expected directories.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@894 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-11-08 17:39:28 +00:00
Greg Neagle
fbeaadbe48
Change shebang to use installed Python, not environment's Python.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@887 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-11-03 00:03:04 +00:00
Greg Neagle
595cc334cd
Fix for unicode characters in pkg name or description
...
git-svn-id: http://munki.googlecode.com/svn/trunk@885 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-10-29 21:17:48 +00:00
Greg Neagle
3db9b52cda
Minor docstring and output tweaks.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@882 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-10-28 18:59:57 +00:00
Greg Neagle
6045ae8516
munkiimport now optionally runs makecatalogs after importing an installer item
...
git-svn-id: http://munki.googlecode.com/svn/trunk@879 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-10-27 23:57:09 +00:00
Greg Neagle
4c4f34d064
makePkgInfo() now uses the makepkginfo in the same directory as munkiimport if it exists.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@878 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-10-27 22:05:58 +00:00
Greg Neagle
0ed9cb744d
Better handle the case where the install item path is in repo/pkgs/.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@877 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-10-27 21:58:08 +00:00
MagerValp
7e8931968d
Added --version/-V to all interactive tools.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@846 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-10-23 08:37:37 +00:00
Greg Neagle
d7c52a9434
Fixed string substitution error
...
git-svn-id: http://munki.googlecode.com/svn/trunk@835 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-10-21 13:27:12 +00:00
Greg Neagle
4029836c08
Fix for empty pkginfo extension.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@823 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-10-19 23:09:34 +00:00
Greg Neagle
76c8828592
Added option to specify a file extension for pkginfo files.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@803 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-10-16 00:25:21 +00:00
Greg Neagle
f0ff5f264c
Initial commit to SVN.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@786 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-10-12 18:25:52 +00:00