Commit Graph

2476 Commits

Author SHA1 Message Date
Greg Neagle
c6d63dcfcf repoclean: more refactoring cleanup 2017-03-17 19:15:47 -07:00
Greg Neagle
45baab0b7f Refactor of repoclean 2017-03-17 10:14:17 -07:00
Greg Neagle
da49899417 FileRepo: properly raise a RepoError when a share mount fails 2017-03-17 06:11:29 -07:00
Greg Neagle
95e1a192fe repoclean: Suppress makecatalogs stdout as we did previously 2017-03-16 14:27:17 -07:00
Greg Neagle
398edd3248 repoclean: Attempt to add support for deleting uninstaller_items as well 2017-03-16 10:14:29 -07:00
Greg Neagle
3bdcab5451 repoclean: take 2 on properly removing pkginfo items 2017-03-16 09:24:17 -07:00
Greg Neagle
727636f184 repoclean: Fix for deleting pkginfo items 2017-03-16 08:33:46 -07:00
Greg Neagle
fa3a5b4e5d FileRepo: add IOError to the except clause for all file operations 2017-03-16 08:27:20 -07:00
Greg Neagle
96d2bfcdf0 Update repoclean to work with repo plugins 2017-03-15 16:36:27 -07:00
Erik Gomez
7859066b57 Add munki3 logic to make_munki_mpkg_dep.sh (#729)
* remove whitespace on make_munki_mpkg.sh

* add munki3 items to make_munki_mpkg_dep.sh
2017-03-15 14:14:43 -07:00
Greg Neagle
e697441de4 munkiimport: If plugin is not given at the CLI or available via preferences, set options.plugin to 'FileRepo' so it is properly forwarded to makecatalogs 2017-03-15 08:59:08 -07:00
Greg Neagle
aa437f7895 munkiimport: special case handling of FileRepo (and children) when 'importing' a pkg already in the repo's pkgs directory 2017-03-15 08:46:10 -07:00
Greg Neagle
16e3dc0220 Properly determine expected self.root for fileshare repos 2017-03-14 10:49:07 -07:00
Greg Neagle
70f2800170 munkiimport: Minor wording change when printing warnings/errors at the end of a makecatalogs run 2017-03-14 07:12:22 -07:00
Greg Neagle
790db4f9ae In cli admin tools, fix for clearing a preference; previously it would be ignored 2017-03-14 07:11:16 -07:00
Greg Neagle
fa08572205 Merge pull request #723 from RichardLafontaine/master
Updated French localization
2017-03-13 16:25:03 -07:00
Greg Neagle
0742ce4360 Merge branch 'Munki3' into new_repo_abstraction 2017-03-13 10:24:32 -07:00
Greg Neagle
6d8a20f1c8 Updated Danish localization by Thomas Tvegaard 2017-03-13 10:24:06 -07:00
Greg Neagle
88cb641319 Merge pull request #725 from fridomac/Munki3
Added "Featured" to german translation
2017-03-13 10:18:17 -07:00
Greg Neagle
e042a2c8d5 Move many functions shared by the various cli tools to munkilib/cliutils.py 2017-03-13 08:03:23 -07:00
fridomac
a262f08210 Added "Featured" to german translation 2017-03-12 10:53:01 +01:00
Greg Neagle
553eb503e9 munkiimport: Add a TODO 2017-03-11 19:40:21 -08:00
Greg Neagle
a9f1bf672c For an API repo, munkiimport can now forward the repo.authtoken to makecatalogs 2017-03-11 18:59:22 -08:00
Greg Neagle
31c9b661b8 remove uneeded osutils.cleanUpTmpDir() calls 2017-03-11 18:58:35 -08:00
Greg Neagle
d1d3f5dcd2 Move code that uses FileRepo as a default if no repo is specified to munkilib/munkirepo/__init__.py 2017-03-11 09:06:09 -08:00
Greg Neagle
a5a9c9e73d Get rid of global variables; improve handling of options that could be defined in prefs or via cli options 2017-03-11 08:55:49 -08:00
Greg Neagle
d6daa25623 Add missing trailing parentheses 2017-03-11 08:09:27 -08:00
Greg Neagle
861b0f29c3 MWA2APIRepo: Add DEBUG flag to control amount of data added to some CurlErrors 2017-03-10 16:39:28 -08:00
Greg Neagle
753815feae FileRepo: raise a RepoError exception if we can't create the mountpoint when mounting a remote repo. 2017-03-10 16:38:11 -08:00
Greg Neagle
51d8623391 Fix for version() subcommand function 2017-03-10 14:04:11 -08:00
Greg Neagle
46376a27c8 manifestutil: handle the following cases 1) no /path/to/repo; 2) no --repo-url 3) Existing repo_path preference 2017-03-10 13:43:10 -08:00
Greg Neagle
bcf53074df makecatalogs: handle the following cases 1) no /path/to/repo; 2) no --repo-url 3) Existing repo_path preference 2017-03-10 13:29:43 -08:00
Greg Neagle
60bea033cf Extra caution to always default to FileRepo if plugin value is None or '' 2017-03-10 12:16:37 -08:00
Greg Neagle
c1a345b1ad Another fix for 'empty' repo plugin for manifestutil 2017-03-10 12:13:29 -08:00
Greg Neagle
368309c258 Update GitFileRepo to work as new-style repo plugin 2017-03-10 11:52:01 -08:00
Greg Neagle
0e3746d151 Merge branch 'Munki3' into new_repo_abstraction 2017-03-10 11:10:29 -08:00
Greg Neagle
86fbd6299c Avoid modifying NSDictionary when recording pending update dates. Fixes #720 2017-03-10 11:10:01 -08:00
Greg Neagle
d181ab4e7d manifestutil: when connecting to a repo, if plugin is undefined, use FileRepo 2017-03-10 10:34:53 -08:00
Greg Neagle
f327063a07 Merge branch 'Munki3' into new_repo_abstraction 2017-03-10 09:02:53 -08:00
Greg Neagle
056b570d3b Change featured_installs to featured_items 2017-03-10 09:02:03 -08:00
Greg Neagle
4190f1eeae Merge pull request #724 from MagerValp/featured_installs
Allow marking optional installs as featured in manifests.
2017-03-10 08:56:35 -08:00
Lafontaine
55ec9430e5 Updated French localization 2017-03-10 10:35:36 -05:00
Greg Neagle
d13a6c9926 Update prompt text for --configure 2017-03-10 06:59:27 -08:00
Per Olofsson
d958fda1cb Add warning for featured but not optional installs. 2017-03-10 09:14:57 +01:00
Greg Neagle
112aa3caa2 munkiimport: Remove prompt for repo_path 2017-03-09 18:38:51 -08:00
Greg Neagle
3faffc46d3 Updated comments 2017-03-09 18:38:04 -08:00
Greg Neagle
9319d8d943 FileRepo: update doc strings and comments 2017-03-09 17:02:22 -08:00
Greg Neagle
a895587e68 MWA2APIRepo: Large PUT/POST/PATCH request get written to a local file before being handed to curl 2017-03-09 17:01:40 -08:00
Greg Neagle
5f7dd2fe03 MWA2APIRepo: properly handle pkgs and icons uploads 2017-03-09 16:05:31 -08:00
Greg Neagle
237a1fa365 manifestutil --configure now prompts for plugin 2017-03-09 14:10:57 -08:00