Skip to content

Releases: grahampugh/plist-yaml-plist

0.6.4

08 Feb 13:30
Compare
Choose a tag to compare
  • Fixed the installation of ruamel.yaml if not already present.
  • Limit the ruamel.yaml version to less than 0.18.0, because newer versions are completely changed so will need more work to fix. Note that if you already have a newer version of ruamel.yaml in the python that you are using, it is advised to run the following command to remove it, after which running this script will reinstall a working version:
/path/to/your/python -m pip uninstall ruamel.yaml

0.6.3

21 Jun 11:29
Compare
Choose a tag to compare
  • Fixed running on folders without a destination when converting from YAML to PLIST or vice versa.
  • Adding ParentRecipeTrustInfo to the desired_order dict so that when autopkg recipes are converted or tidied, the Trust Info is retained. Also adding this to the processors which gain a new line before them for readability (#10 - thanks to @smithjw).
  • Shebangs changed to #!/usr/bin/env python3

0.6

02 Mar 14:22
4a0e3cc
Compare
Choose a tag to compare
0.6
  • When converting an AutoPkg recipe to yaml format, specific formatting is carried out:
    • The different process dictionaries are ordered by Processor, Comment, Arguments.
    • The Input dictionary is ordered such that NAME is always at the top.
    • The items are ordered thus: Comment, Description, Identifier, ParentRecipe, MinimumVersion, Input, Process
    • Blank lines are added for human readability. Specifically these are added above Input and Process dictionaries, and between each Processor dictionary.
  • You can use yaml_tidy.py to reformat existing .recipe.yaml files as above.
  • An entire directory structure can have .recipe.yaml files reformatted as above using the command plistyamlplist /path/to/YAML --tidy. Any directory with a YAML or _YAML folder in it will be processed, including subdirectories.

0.5

11 Feb 00:05
Compare
Choose a tag to compare
0.5 Pre-release
Pre-release
  • Switched from pyyaml to ruamel.

0.4

10 Feb 23:33
Compare
Choose a tag to compare
0.4
  • You can now use this tool to convert json > plist. Note that the plist format do not accept null/None values, so this script will extract any keys with null/None values before converting.
  • Add the ability to just reference a folder if JSON is in the path.
  • You can now use _JSON as well as JSON for the folder.
  • pyyaml is installed automatically if not already installed.

0.3

14 Sep 09:49
Compare
Choose a tag to compare
0.3 Pre-release
Pre-release
  • Added the ability to convert an entire directory of .yaml files at once using the syntax:

    plistyamlplist /path/to/YAML/\*.yaml
    

0.2

14 Sep 09:48
Compare
Choose a tag to compare
0.2 Pre-release
Pre-release

v0.1

06 Mar 21:42
Compare
Choose a tag to compare
v0.1 Pre-release
Pre-release

Initial release as an installable package.