87 Commits
Author SHA1 Message Date
Nick McSpadden b8923c359b Fixing package symlinks 2023-08-23 16:51:46 -07:00
Nick McSpadden 3090b48cda Moving python package to specific folder, not / 2023-08-23 16:23:58 -07:00
Nick McSpadden a113d5a17d Added python package script 2023-08-23 14:32:36 -07:00
Nick McSpadden 1831864ae1 Removing pkg-scripts folder 2023-08-23 13:31:30 -07:00
Nick McSpadden 7f75c60c0e Adding package build scripts 2023-08-23 13:02:03 -07:00
Elliot Jordan 8fa4a6689a Automatically rebuild processor wiki pages upon creation of new GitHub tags (#844)
* 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)
2022-11-26 12:55:13 -08:00
Nick McSpadden 1091d7687a Fixing raise error in make_new_release 2022-04-18 14:47:02 +01:00
github-actions 79ebef0cb3 pre-commit auto fixes 2022-04-18 13:29:19 +00:00
Nick McSpadden 222de8b9fd More safety around release script using master and tokens 2022-04-18 14:15:36 +01:00
Nick McSpadden c34ede5cf6 Update make_new_release.py 2022-03-15 10:10:29 -07:00
Elliot Jordan 577e0bef22 Avoid trailing dots when printing paths 2021-11-11 12:24:52 -08:00
Elliot Jordan 6591e57758 Allow skipping of experimental processors 2021-11-11 12:24:52 -08:00
Elliot Jordan 33e91e281f Resolve issue producing binary text output on wiki 2021-11-11 12:24:52 -08:00
Elliot Jordan eec4ea1241 Remove redundant output when building release 2021-03-01 18:13:17 -08:00
Elliot Jordan 2a6a94a163 Make run_tests.py executable 2021-02-23 08:23:52 -08:00
Brian Smith 941986bfe7 Windows: Add autopkg powershell wrapper script.
This faciliates usage of autopkg when installed via chocolatey.
2020-07-21 18:35:48 -07:00
Brian Smith 55956e4d17 Add script to generate Nuspec wrapper library.
This tool will help facilitate development of nupkg and chocolately
processors and associated libraries. The generated output is included in
this commit.
2020-07-14 12:46:29 -07:00
Brian Smith 0bb7bafb22 New run_tests.py script makes testing easier
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.
2020-06-30 21:25:51 -07:00
Nick McSpadden fca40526a3 Encode data payload for pushing Github release 2020-01-31 11:28:33 -08:00
Nick McSpadden 7fc807ab73 Merge branch 'dev' 2019-12-06 09:49:51 -08:00
Nick McSpadden 135d3ad3e8 Updating bulk_repo_add script for more flexibility 2019-12-06 09:42:49 -08:00
Nick McSpadden 3cc3537a0e Adding a bulk repo-add script 2019-12-06 08:22:07 -08:00
Elliot Jordan a90aa255b1 Use SSH instead of HTTPS for temp clones 2019-12-05 19:03:39 -08:00
Elliot Jordan c3afbccce8 Ensure data is sent as bytes 2019-12-05 19:03:17 -08:00
Nick McSpadden bebeb3615e Deleting extraneous prints from make_new_release.py 2019-12-03 17:10:29 -08:00
Nick McSpadden 34874d2f1f Merge branch 'master' into py2-to-3 2019-12-03 15:43:05 -08:00
Nick McSpadden 1373b31d40 Adding some more output to make_new_release.py 2019-12-02 13:19:52 -08:00
Nick McSpadden 8bb4c7b3a1 Fixed a whole bunch of unnecesasry extra quotes 2019-11-17 20:01:13 -08:00
Nick McSpadden 03d1bfafd2 Changing python interpreter path to /usr/local/autopkg/python 2019-11-06 14:38:50 -08:00
Nick McSpadden 4217f3af8d make_new_release now uses "beta" in the title for prereleases 2019-11-06 11:40:35 -08:00
Nick McSpadden 6bf14f2686 Use the branch option for make_new_release 2019-11-06 10:51:23 -08:00
Nick McSpadden cdce0944f9 make_new_release allows use of custom branches
```
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
```
2019-11-06 10:36:28 -08:00
Nick McSpadden 368a424fa2 Fixing Github tokens URL in make_new_release 2019-11-04 16:19:47 -08:00
Nick McSpadden fa40e86909 Updating autopkg scripts 2019-11-04 09:05:47 -08:00
Nick McSpadden 60fd0fcdde Extra isort run 2019-10-29 14:55:06 -07:00
Nick McSpadden f1314c081c Py2-to-3 conversion 2019-10-24 16:23:20 -07:00
Michal Moravec 81aed1464c Fix isort errors (#536) 2019-06-11 08:06:30 -07:00
Nick McSpadden 29cbe1c0ca Blackening all Python code (#526) 2019-05-17 12:26:25 -07:00
Nick McSpadden 91278f33af Adding a per-processor option to generate_processor_docs (#524) 2019-05-17 06:14:10 -07:00
Nick McSpadden 49ac6f6f4d Moving sidebar into separate function (#523)
Separate out some of the existing functionality into smaller functions, for added testability in the future.
2019-05-16 14:31:45 -07:00
Greg Neagle 7638c1900f Change sorting of processor names to case-insensitive to better match HFS+ os.listdir() behavior. 2019-05-12 09:50:13 -07:00
Nick McSpadden 2160697934 generate_processor_docs sorts the sidebar alphabetically (#520)
* 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]]
```
2019-05-12 09:26:14 -07:00
Nick McSpadden 5af4cf1f82 make_new_release with flake8+isort (#515) 2019-05-11 08:05:48 -07:00
Nick McSpadden 06d04cdbf1 setup_new_recipe_repo with flake8+isort (#516) 2019-05-10 21:52:22 -07:00
Nick McSpadden 3855fabd17 generate_processor_docs with flake8+isort (#517)
* 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.
2019-05-10 21:41:51 -07:00
Timothy Sutton 439c7d7964 Set default team permission level for new team to 'push'
- Much of the team membership stuff still probably needs to be updated for the newer Teams and permissions model
2017-03-21 09:35:31 -04:00
Timothy Sutton 1cb563f239 Add --user-repo to make_new_release.py for testing 2016-11-30 12:03:53 -05:00
Timothy Sutton 577eb95795 make_new_release --prerelease option now takes a suffix to be appended to the git tag 2016-11-16 23:33:57 -05:00
Timothy Sutton feb100b120 Add --prerelease option to make_new_release.py
- also fix one pylint warning on a regex
2016-11-16 12:19:44 -05:00
Timothy Sutton 91312a665b setup_new_recipe_repo now handles source repos from orgs
- also, print out a "here's what's going to happen" confirmation before doing anything
2015-10-08 16:38:27 -04:00