Skip to content

Commit

Permalink
move dangerous processors
Browse files Browse the repository at this point in the history
  • Loading branch information
jgstew committed Sep 26, 2023
1 parent d023679 commit bf74332
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
17 changes: 17 additions & 0 deletions SharedDangerousProcessors/jgstew-SharedDangerousProcessors.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Dummy recipe for referencing shared processors in this directory.</string>
<key>Identifier</key>
<string>com.github.jgstew.SharedDangerousProcessors</string>
<key>Input</key>
<dict />
<key>MinimumVersion</key>
<string>1.0</string>
<key>Process</key>
<array />
</dict>
</plist>
2 changes: 1 addition & 1 deletion Test-Recipes/DangerousCommandRunner.test.recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Input:
NAME: DangerousCommandRunnerTest
MinimumVersion: "2.3"
Process:
- Processor: com.github.jgstew.SharedProcessors/DangerousCommandRunner
- Processor: com.github.jgstew.SharedDangerousProcessors/DangerousCommandRunner
Arguments:
# curl is only being used here as a cross platform example
# this processor was NOT designed to be used with curl
Expand Down
2 changes: 1 addition & 1 deletion Test-Recipes/DangerousEvaluate.test.recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ Input:
Test_ENV_VAR: "test value %NAME%"
MinimumVersion: "2.3"
Process:
- Processor: com.github.jgstew.SharedProcessors/DangerousEvaluate
- Processor: com.github.jgstew.SharedDangerousProcessors/DangerousEvaluate
Arguments:
evaluate_string: "for item in self.env: print(f'{item} = {str(self.env[item])[0:60]}...')"
2 changes: 1 addition & 1 deletion Test-Recipes/DangerousRunProcessors.test.recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Input:
NAME: DangerousRunProcessorsTest
MinimumVersion: "2.3"
Process:
- Processor: com.github.jgstew.SharedProcessors/DangerousRunProcessors
- Processor: com.github.jgstew.SharedDangerousProcessors/DangerousRunProcessors
Arguments:
dangerous_processor_array: ["FileFinder"]
pattern: "*/*.recipe*"
Expand Down

0 comments on commit bf74332

Please sign in to comment.