mirror of
https://github.com/khodges42/nightShift.git
synced 2026-06-14 10:08:37 +00:00
- Added nightshift what-happened to summarize the latest run/task failure from artifacts. - Added integ-run --setup with setup options, so sandbox creation can immediately run integ-setup. - integ-setup output now explicitly shows the venv activation command. - Command stages now prefer a detected project/adjacent .venv, so python -m pytest -q should use the integ venv without relying on shell activation. - Retry command outputs now get attempt-specific artifact names, like test-output-1.txt, instead of overwriting. - Docs updated in README.md, the pastebin template README, and examples/tutorial/03-pastebin. - Added pytest config so root python -m pytest -q ignores generated integ/template target tests. - Version bumped to 0.2.4-alpha-bratwurst-relish.
47 lines
754 B
Python
47 lines
754 B
Python
"""NightShift version metadata."""
|
|
|
|
from __future__ import annotations
|
|
|
|
|
|
PACKAGE_VERSION = "0.2.4"
|
|
RELEASE_CHANNEL = "alpha"
|
|
hotdog_version = "bratwurst"
|
|
topping_version = "relish"
|
|
|
|
HOTDOG_VERSIONS = (
|
|
"bratwurst",
|
|
"italian-sausage",
|
|
"footlong",
|
|
"new-york",
|
|
"chicago",
|
|
"coney",
|
|
"corn-dog",
|
|
"kielbasa",
|
|
"vienna",
|
|
"andouille",
|
|
"chorizo",
|
|
"frankfurter",
|
|
)
|
|
|
|
TOPPING_VERSIONS = (
|
|
"relish",
|
|
"mustard",
|
|
"mayo",
|
|
"onions",
|
|
"sauerkraut",
|
|
"jalapenos",
|
|
"pickles",
|
|
"chili",
|
|
"cheese",
|
|
"sport-peppers",
|
|
"ketchup",
|
|
"slaw",
|
|
)
|
|
|
|
|
|
def display_version() -> str:
|
|
return f"{PACKAGE_VERSION}-{RELEASE_CHANNEL}-{hotdog_version}-{topping_version}"
|
|
|
|
|
|
__version__ = PACKAGE_VERSION
|