Skip to content

Commit

Permalink
Version bump to official 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Graham Pugh committed Sep 25, 2019
1 parent ebc882b commit df120ed
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 40 deletions.
42 changes: 7 additions & 35 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,53 +10,25 @@ All notable changes to this project will be documented in this file. This projec
- The above efforts to improve package upload reliability may conversely cause problems on setups with multiple DPs of different types. Scenarios involving Cloud plus Local DPs are not yet tested, and there probably needs to be a more intelligent method of treating each DP as a separate package upload process than currently exists.


## [1.0.2b7] - 2019-09-14 - 1.0.2b7
## [1.0.2] - 2019-09-25 - 1.0.2

### Added
This is the official 1.0.2 release, exactly the same as the former 1.0.2b8.

- @grahamrpugh added a new `wait_for_id` definition, which provides a common method to check for feedback on the upload of each API object, in an attempt to reduce the chance of cloud clusters returning conflicting information about whether an object has been successfully uploaded or not.
- Verbosity is increased with respect to reporting object IDs.
- References to JSS are changed to "Jamf Pro Server"... except in the name `JSSImporter` of course! I think we're stuck with that one.


## [1.0.2b6] - 2019-08-29 - 1.0.2b6

### Fixed

- Fixed a bug that was introduced in 1.0.2b5 which prevented certain packages from uploading (relevant to #162).


## [1.0.2b5] - 2019-08-08 - 1.0.2b5

### Added

- @grahamrpugh added a `do_update` feature to prevent overwriting a computer group if it already exists on the server, while continuing to create the group if it is not there.
- @nstrauss added a `skip_scope` feature to allow the upload of a policy without changing any existing scope.
- @nstrauss added a `skip_scripts` feature to allow the upload of a policy without changing any existing script objects in the script.

### Fixed

- Changed the order of the code which waits for the creation of a package id, and added a wait for the creation of a category id, to fix problems with package objects not yet existing when uploading a package.


## [1.0.2b4] - 2019-06-25 - 1.0.2b4

### Fixed

- Minor update to embedded python-jss, which fixes a `urllib` problem when running in python2 (#151)


## [1.0.2b3] - 2019-06-13 - A brave new world (with just a handful of men)

There are a bunch of small fixes and improvements in this release, plus a few known issues - we'll update this file as time allows.

### Added

- @grahamrpugh added a feature that prevents policies from being overwritten if there is no new package to upload, called `STOP_IF_NO_JSS_UPLOAD`. It is enabled by default. To override this behaviour and force the processor to continue and overwrite policies etc., run your autopkg recipe with the `--key STOP_IF_NO_JSS_UPLOAD=False` parameter.
- @grahamrpugh contributed (#135) which prevents uploaded scripts from having certain special characters incorrectly escaped, namely `>`, `<` and `&`.

### Fixed

- @grahamrpugh contributed (#135) which prevents uploaded scripts from having certain special characters incorrectly escaped, namely `>`, `<` and `&`.
- Fixed a bug that prevented Types `AFP` and `SMB` from being accepted (was introduced in 1.0.2b5).
- Fixed a bug that was introduced in 1.0.2b5 which prevented certain packages from uploading (relevant to #162).
- Changed the order of the code which waits for the creation of a package id, and added a wait for the creation of a category id, to fix problems with package objects not yet existing when uploading a package.
- Updated the embedded python-jss, which fixes a `urllib` problem when running in python2 (#151)


## [1.0.2b2] - 2018-09-22 - Bundled Dependency Testing
Expand Down
6 changes: 3 additions & 3 deletions JSSImporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@


__all__ = ["JSSImporter"]
__version__ = "1.0.2b7"
__version__ = "1.0.2"
REQUIRED_PYTHON_JSS_VERSION = StrictVersion("2.0.1")


Expand Down Expand Up @@ -474,7 +474,7 @@ def handle_package(self):
except ValueError:
raise ProcessorError("Failed to get Package ID from {}.".format(self.repo_type()))

elif self.repo_type() == "DP" or self.repo_type() == "Local":
elif self.repo_type() == "DP" or self.repo_type() == "SMB" or self.repo_type() == "AFP" or self.repo_type() == "Local":
# for AFP/SMB shares, we create the package object first and then copy the package
# if it is not already there
self.output("Creating Package object...")
Expand All @@ -486,7 +486,7 @@ def handle_package(self):
"JSSImporter can't upload the Package at '{}'! Repo type {} is not supported. Please reconfigure your JSSImporter prefs.".format(pkg_path, self.repo_type()))

# For local DPs we check that the package is already on the distribution point and upload it if not
if self.repo_type() == "DP" or self.repo_type() == "Local":
if self.repo_type() == "DP" or self.repo_type() == "SMB" or self.repo_type() == "AFP" or self.repo_type() == "Local":
if not self.jss.distribution_points.exists(os.path.basename(pkg_path)):
self.copy(pkg_path)
package = self.wait_for_id(jss.Package, self.pkg_name)
Expand Down
2 changes: 1 addition & 1 deletion pkg/jssimporter/build-info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
<key>suppress_bundle_relocation</key>
<true/>
<key>version</key>
<string>1.0.2b7</string>
<string>1.0.2</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion version.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<plist version="1.0">
<dict>
<key>Version</key>
<string>1.0.2b7</string>
<string>1.0.2</string>
</dict>
</plist>

0 comments on commit df120ed

Please sign in to comment.