* Raise specific import errors
* Enable non-interactive script run
* Add note about processor docs generation
* Rebuild processor docs upon new tag creation
* Support using existing clone (for GH actions workflow)
This tool will help facilitate development of nupkg and chocolately
processors and associated libraries. The generated output is included in
this commit.
Testing now doesn't rely on finding the github wikipage
that describes how to do a manual test run, or
individually running each test file by hand. This also
lays groundwork for factoring out test directories.
```
The following new items were downloaded:
Download Path
-------------
/Users/Shared/AutoPkg/Cache/com.github.autopkg.AutoPkgGitMaster/downloads/autopkg.zip
The following packages were built:
Identifier Version Pkg Path
---------- ------- --------
com.github.autopkg.autopkg 2.0 /Users/Shared/AutoPkg/Cache/com.github.autopkg.AutoPkgGitMaster/autopkg-2.0.pkg
Report plist saved to /var/folders/th/3tqg05g54f73x0k_mstm5wy1_0g_xw/T/tmpollv7qcz.
** Collecting package data
** Incrementing version to 2.1..
** Creating commit for change increment
[py2-to-3 1b7b12a] Bumping to v2.1 for development.
2 files changed, 3 insertions(+), 1 deletion(-)
Ended dry-run mode. Final state of the AutoPkg repo can be found at: /var/folders/th/3tqg05g54f73x0k_mstm5wy1_0g_xw/T/tmpcz9nxym8
```
* generate_processor_docs with flake8+isort
* Also change ''' to """
* Fixing the import dependencies being broken by isort
The import order in this case is dependent on loading files into the path, and using imp to load a source file directly.
To address this, the imports are wrapped in a try/except and will simply exit 1 if they don't function. This allows the order dependencies to exist without letting isort break them.
* Ensure sidebar is sorted when generating docs
```
diff --git a/_Sidebar.md b/_Sidebar.md
index 1715e7b..75b75c6 100644
--- a/_Sidebar.md
+++ b/_Sidebar.md
@@ -29,10 +29,10 @@
* [[AppDmgVersioner|Processor-AppDmgVersioner]]
* [[AppPkgCreator|Processor-AppPkgCreator]]
* [[BrewCaskInfoProvider|Processor-BrewCaskInfoProvider]]
- * [[CodeSignatureVerifier|Processor-CodeSignatureVerifier]]
- * [[Copier|Processor-Copier]]
* [[CURLDownloader|Processor-CURLDownloader]]
* [[CURLTextSearcher|Processor-CURLTextSearcher]]
+ * [[CodeSignatureVerifier|Processor-CodeSignatureVerifier]]
+ * [[Copier|Processor-Copier]]
* [[DmgCreator|Processor-DmgCreator]]
* [[DmgMounter|Processor-DmgMounter]]
* [[EndOfCheckPhase|Processor-EndOfCheckPhase]]
@@ -42,8 +42,8 @@
* [[FlatPkgPacker|Processor-FlatPkgPacker]]
* [[FlatPkgUnpacker|Processor-FlatPkgUnpacker]]
* [[GitHubReleasesInfoProvider|Processor-GitHubReleasesInfoProvider]]
- * [[Installer|Processor-Installer]]
* [[InstallFromDMG|Processor-InstallFromDMG]]
+ * [[Installer|Processor-Installer]]
* [[MunkiCatalogBuilder|Processor-MunkiCatalogBuilder]]
* [[MunkiImporter|Processor-MunkiImporter]]
* [[MunkiInfoCreator|Processor-MunkiInfoCreator]]
@@ -63,9 +63,9 @@
* [[SparkleUpdateInfoProvider|Processor-SparkleUpdateInfoProvider]]
* [[StopProcessingIf|Processor-StopProcessingIf]]
* [[Symlinker|Processor-Symlinker]]
- * [[Unarchiver|Processor-Unarchiver]]
* [[URLDownloader|Processor-URLDownloader]]
* [[URLTextSearcher|Processor-URLTextSearcher]]
+ * [[Unarchiver|Processor-Unarchiver]]
* [[Versioner|Processor-Versioner]]
* **Development**
- * [[Packaging releases on GitHub|Packaging-AutoPkg-For-Release-on-GitHub]]
\ No newline at end of file
+ * [[Packaging releases on GitHub|Packaging-AutoPkg-For-Release-on-GitHub]]
```
* generate_processor_docs with flake8+isort
* Also change ''' to """
* Fixing the import dependencies being broken by isort
The import order in this case is dependent on loading files into the path, and using imp to load a source file directly.
To address this, the imports are wrapped in a try/except and will simply exit 1 if they don't function. This allows the order dependencies to exist without letting isort break them.