All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Fixed listing categories (#27)
- Changed from distutils to packaging as
distutils.version.LooseVersion
was not working properly in python3. packaging
module is not included in the AutoPkg python distribution so it is now bundled into the jss_helper package.- Fixed output if running
jss_helper
without any arguments.
- Updated to work with python3. Requires AutoPkg's python to be installed, so requires a minimum of:
- AutoPkg 2.0.2
- JSSImporter 1.1.0
- python-jss 2.1.0
- AutoPkg preferences
com.github.autopkg
are now used. Note that you may need to extend the privileges of your AutoPkg API user to cover the manipulation of confiuguration profiles (other privileges are also most likely required - the wiki will be updated as this is figured out).
- Actions
-v
,--ssl
,--nossl
no longer do anything. - SSL is now set by default. Override this in your AutoPkg preferences with the
JSS_VERIFY_SSL
key.
jss_helper
now uses the python-jss that is installed along with JSSImporter.- The version of python-jss must be equal to or greater than 2.0.1
AutoPkg preferences (com.github.autopkg) are now used.This doesn't work in 2.1.0b1.- SSL is now set by default. Use the
--nossl
flag to prevent it.
2.0.2 - 2015-08-14 - Narwhal Tears in Unicode
- Basic search functions now print unicode characters without freaking out.
- Should accept unicode arguments as well.
2.0.1 - 2015-06-10 - Narwhal Tears
- Added action
configp
for OSX Configuration Profiles. scoped
now includes OSXConfigurationProfile objects. (#4). Thanks to @homebysix for the great idea!scope_diff
now also include profiles.- Added action
imaging_config
. installs
now includes imaging configurations (ComputerConfiguration
) (#3) Thanks again to @homebysix for the idea.- Added action
excluded
for showing policies and profiles from which a group is excluded. (#5) (@homebysix again!) - Added action
md_excluded
for showing profiles from which a mobile device group is excluded. - Most actions that take a search argument will now accept Unix-shell style wildcard characters for matching.
- Actions incorporating wildcard searches:
- All object search functions (
computer
,policy
, etc) installs
group
--add/--remove
optional arguments.md_group
--add/--remove
optional arguments.batch_scope
(group
andpolicy
arguments).
- All object search functions (
- Actions incorporating wildcard searches:
- Added
--add
,--remove
, and--dry-run
options togroup
andmd_group
. You can now add and remove any number of computers, specified by name, wildcard-name-search, or ID. If you specify--dry-run
it doesn't save; it just prints the group XML.
- More gracefully handles a CTRL-C exit from the menus and commands.
promote
now opens your default browser to the log page for policy if needed.- Output headers now make more sense.
- Commands which search for scoped objects now include results scoped to "all computers" or "all mobile devices" in their results, labeled as such.
scoped
md_scoped
scope_diff
md_scope_diff
- Moved all code into a python package. This means both
jss_helper
andjss_helper_lib
should be in the same folder (see README for new installation details) or use the installer package. - Now requires python-jss version 1.0.2 or newer due to a bugfix in that library.
- Policies which install multiple packages won't work correctly with
promote
command auto-detection.
2.0.0 - 2015-05-28 - Deep Fried Codpiece
This release changes the names of verbs and simplifies the arguments for running them. Therefore, there has been a major version increment!
- Added a policy_with_package command.
- Now versioned...
- Added some tests for
get_package_info
to make sure it handles all "valid" LooseVersion types.
- Improved output formatting.
- Renamed many of the commands and arguments to make more sense.
- Restructured and Refactored for elegance.
- Every command should now accept name or ID for arguments.
- Actions that previously took an "--id" argument no longer need the "--id".
- e.g.
jss_helper policy "Install Nethack"
- e.g.
promote
changes:- Now allows for interactively selecting arguments.
- Initially only shows policies which have package updates available ("F" allows you to see all install-policies).
- Tries to guess which packages you may want to install (by regex searching for similar package names). You can still see a full list with the interactive "F" command.
- Uses a "-" or a " " (blank space) as delimeters in the policy name for
--update-name
purposes. - Drops the
old-package
argument. It was used as a safeguard, but I no longer think that it's needed. If you're running with the ID's, you know what you're doing, and if you're running interactively, you've visually confirmed what you want. - Now reminds you to flush the policy logs for non-ongoing policies.
- Package options now sorted by product, then by version correctly.
- Package names and versions are more accurately determined (see README about Package Info).
- Initial Release