-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor internals, add new features and fix several bugs
See changelog for details. This commit is a squash merge from a development branch.
- Loading branch information
Showing
1,694 changed files
with
34,939 additions
and
23,487 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
# Ensure changes to these dependencies are reflected in pyproject.toml | ||
asyncinotify==4.0.9 | ||
attrs==22.1.0 | ||
msgpack==1.0.7 | ||
parse==1.19.1 | ||
path==16.14.0 | ||
rich==13.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
{ | ||
"python.terminal.activateEnvironment": false, | ||
"ltex.additionalRules.motherTongue": "en-US", | ||
"ltex.language": "en-US" | ||
"ltex.language": "en-US", | ||
"python.testing.pytestArgs": [ | ||
"tests" | ||
], | ||
"python.testing.unittestEnabled": false, | ||
"python.testing.pytestEnabled": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
#!/usr/bin/env bash | ||
git clean -qdfX . | ||
export COLUMNS=80 | ||
unset STEPUP_ROOT | ||
stepup -n -w1 | sed -f ../../clean_stdout.sed > stdout.txt | ||
stepup -n 1 | sed -f ../../clean_stdout.sed > stdout.txt | ||
|
||
# INP: plan.py | ||
# INP: config.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env python | ||
#!/usr/bin/env python3 | ||
from stepup.core.api import amend, static | ||
|
||
static("config.txt") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
DIRECTOR │ Listening on /tmp/stepup-########/director | ||
DIRECTOR │ Listening on /tmp/stepup-########/director (StepUp version 1.3.1.post6) | ||
STARTUP │ (Re)initialized boot script | ||
DIRECTOR │ Launched worker 0 | ||
PHASE │ run | ||
START │ ./plan.py | ||
SUCCESS │ ./plan.py | ||
─────────────────────────────── Standard output ──────────────────────────────── | ||
This is a config file. | ||
──────────────────────────────────────────────────────────────────────────────── | ||
WORKFLOW │ Dumped to .stepup/workflow.mpk.xz | ||
DIRECTOR │ Trying to delete 0 outdated output(s). | ||
DIRECTOR │ Stopping workers. | ||
DIRECTOR │ See you! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
#!/usr/bin/env bash | ||
git clean -qdfX . | ||
export COLUMNS=80 | ||
unset STEPUP_ROOT | ||
stepup -n -w1 | sed -f ../../clean_stdout.sed > stdout.txt | ||
stepup -n 1 | sed -f ../../clean_stdout.sed > stdout.txt | ||
|
||
# INP: plan.py | ||
# INP: step.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env python | ||
#!/usr/bin/env python3 | ||
from stepup.core.api import static, step | ||
|
||
static("step.py") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
#!/usr/bin/env python | ||
#!/usr/bin/env python3 | ||
from stepup.core.api import amend | ||
|
||
# Parse the sources.txt file | ||
with open("sources.txt") as fh: | ||
paths_inp = fh.read().split() | ||
|
||
# Request the additional input. | ||
amend(inp=paths_inp) | ||
|
||
# Write all files from source.txt to the standard output. | ||
keep_going = amend(inp=paths_inp) | ||
if keep_going: | ||
# This branch is only executed if the amended input is present. | ||
for path_inp in paths_inp: | ||
print(f"Contents of {path_inp}:") | ||
with open(path_inp) as fh: | ||
print(fh.read()) | ||
# This part is reachable only if the amended input is present. | ||
for path_inp in paths_inp: | ||
print(f"Contents of {path_inp}:") | ||
with open(path_inp) as fh: | ||
print(fh.read()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#!/usr/bin/env bash | ||
git clean -qdfX . | ||
export COLUMNS=80 | ||
unset STEPUP_ROOT | ||
stepup -n -w1 | sed -f ../../clean_stdout.sed > stdout.txt | ||
stepup -n 1 | sed -f ../../clean_stdout.sed > stdout.txt | ||
|
||
# INP: plan.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
DIRECTOR │ Listening on /tmp/stepup-########/director | ||
DIRECTOR │ Listening on /tmp/stepup-########/director (StepUp version 1.3.1.post6) | ||
STARTUP │ (Re)initialized boot script | ||
DIRECTOR │ Launched worker 0 | ||
PHASE │ run | ||
START │ ./plan.py | ||
SUCCESS │ ./plan.py | ||
START │ echo hello > a.txt | ||
SUCCESS │ echo hello > a.txt | ||
WARNING │ 2 steps remain pending due to blocked steps | ||
WARNING │ 2 step(s) remained pending due to blocked steps | ||
──────────────────────────────── Blocked steps ───────────────────────────────── | ||
step:cp -aT a.txt b.txt | ||
──────────────────────────────────────────────────────────────────────────────── | ||
WARNING │ Skipping cleanup due to incomplete build. | ||
WORKFLOW │ Dumped to .stepup/workflow.mpk.xz | ||
WARNING │ Check logs: .stepup/warning.log | ||
DIRECTOR │ Stopping workers. | ||
DIRECTOR │ See you! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#!/usr/bin/env bash | ||
git clean -qdfX . | ||
export COLUMNS=80 | ||
unset STEPUP_ROOT | ||
stepup -n -w1 | sed -f ../../clean_stdout.sed > stdout.txt | ||
stepup -n 1 | sed -f ../../clean_stdout.sed | sed -e 's|/home/.*/stepup-core/||' > stdout.txt | ||
|
||
# INP: plan.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env python | ||
#!/usr/bin/env python3 | ||
from stepup.core.api import copy | ||
|
||
copy("a.txt", "b.txt") | ||
|
Oops, something went wrong.