Commit Graph

2703 Commits

Author SHA1 Message Date
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 7aa2c45e44 Merge branch 'Munki3' of https://github.com/munki/munki into Munki3 2017-03-15 08:59:34 -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
Erik Gomez 8be9722007 Remove RunAtLoad from munki-notifier (#728)
* Remove RunAtLoad from munki-notifier

* remove RunAtLoad
2017-03-15 08:53:11 -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 e8d93119f6 Removed no-longer-needed 'notes_about_this_branch.md', which applied to the removed new_repo_abstraction branch 2017-03-13 14:24:08 -07:00
Greg Neagle 759f3f3a11 Merge pull request #727 from erikng/Munki3
standardize format of all launchagents and launchdaemons
2017-03-13 14:21:03 -07:00
Erik Gomez 2aa51773d6 lint all launchagents and launchdaemons 2017-03-13 13:47:45 -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 880d6735f4 Merge branch 'master' into new_repo_abstraction 2017-03-13 09:23:22 -07:00
Greg Neagle d3ff4434ca Merge branch 'master' into Munki3 2017-03-13 09:22:51 -07:00
Greg Neagle 4790a9a250 Merge branch 'master' into Munki3 2017-03-13 09:21:52 -07:00
Greg Neagle e341589f57 Create CONTRIBUTING.md 2017-03-13 08:14:49 -07:00
Greg Neagle e37be8ca0b Update and rename ISSUE_TEMPLATE to ISSUE_TEMPLATE.md 2017-03-13 08:10:21 -07:00
Greg Neagle 04f1f5e749 Create ISSUE_TEMPLATE 2017-03-13 08:06:09 -07:00
Greg Neagle b803a3c2b6 Created ISSUE_TEMPLATE in the wrong place 2017-03-13 08:04:43 -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
Greg Neagle abc20aae4b Create ISSUE_TEMPLATE 2017-03-13 07:07:22 -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 6edd8676a4 Update branch notes 2017-03-11 19:39:36 -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 7e4932e737 Add notes about GitFileRepo 2017-03-10 11:58: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