roboherd 0.1.10__tar.gz → 0.1.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of roboherd might be problematic. Click here for more details.
- {roboherd-0.1.10 → roboherd-0.1.11}/.woodpecker/publish_docker.yml +2 -2
- {roboherd-0.1.10 → roboherd-0.1.11}/CHANGES.md +5 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/PKG-INFO +1 -1
- {roboherd-0.1.10 → roboherd-0.1.11}/pyproject.toml +6 -1
- {roboherd-0.1.10 → roboherd-0.1.11}/resources/docker/Dockerfile +2 -1
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/__main__.py +18 -2
- roboherd-0.1.11/roboherd/version.py +1 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/uv.lock +1 -1
- {roboherd-0.1.10 → roboherd-0.1.11}/.gitignore +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/.woodpecker/create_release.yml +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/.woodpecker/publish_pypi.yml +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/.woodpecker/test.yml +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/.woodpecker/website.yml +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/README.md +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/docs/annotations.md +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/docs/assets/bull-horns.png +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/docs/assets/mastodon.png +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/docs/cli.md +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/docs/cow.md +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/docs/herd.md +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/docs/index.md +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/docs/main.md +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/docs/util.md +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/mkdocs.yml +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/resources/docker/build.sh +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/__init__.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/annotations/__init__.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/annotations/bovine.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/annotations/common.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/cow/__init__.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/cow/const.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/cow/handlers.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/cow/profile.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/cow/test_handlers.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/cow/test_init.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/cow/test_profile.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/cow/test_util.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/cow/types.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/cow/util.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/examples/__init__.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/examples/dev_null.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/examples/json_echo.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/examples/meta.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/examples/moocow.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/examples/number.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/examples/rooster.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/examples/scarecrow.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/herd/__init__.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/herd/builder.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/herd/manager/__init__.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/herd/manager/config.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/herd/manager/load.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/herd/manager/test_config.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/herd/manager/test_load.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/herd/manager/test_manager.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/herd/processor.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/herd/scheduler.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/herd/test_herd.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/herd/test_scheduler.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/herd/types.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/register.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/test_validators.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/util.py +0 -0
- {roboherd-0.1.10 → roboherd-0.1.11}/roboherd/validators.py +0 -0
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changes to roboherd
|
|
2
2
|
|
|
3
|
+
## 0.1.11
|
|
4
|
+
|
|
5
|
+
- Add `--version` flag [roboherd#50](https://codeberg.org/bovine/roboherd/issues/50)
|
|
6
|
+
- Repair passing build_args to docker buildx [roboherd#51](https://codeberg.org/bovine/roboherd/issues/51)
|
|
7
|
+
|
|
3
8
|
## 0.1.10
|
|
4
9
|
|
|
5
10
|
- Add check command [roboherd#48](https://codeberg.org/bovine/roboherd/issues/48)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "roboherd"
|
|
3
|
-
version = "0.1.10"
|
|
4
3
|
description = "A Fediverse bot framework"
|
|
5
4
|
readme = "README.md"
|
|
6
5
|
requires-python = ">=3.11"
|
|
@@ -16,6 +15,8 @@ dependencies = [
|
|
|
16
15
|
"watchfiles>=1.0.4",
|
|
17
16
|
]
|
|
18
17
|
|
|
18
|
+
dynamic = ["version"]
|
|
19
|
+
|
|
19
20
|
[project.urls]
|
|
20
21
|
Documentation = "https://bovine.codeberg.page/roboherd/"
|
|
21
22
|
Repository = "https://codeberg.org/bovine/roboherd"
|
|
@@ -25,6 +26,10 @@ requires = ["hatchling"]
|
|
|
25
26
|
build-backend = "hatchling.build"
|
|
26
27
|
|
|
27
28
|
|
|
29
|
+
[tool.hatch.version]
|
|
30
|
+
path = "roboherd/version.py"
|
|
31
|
+
|
|
32
|
+
|
|
28
33
|
[project.scripts]
|
|
29
34
|
roboherd = "roboherd.__main__:main"
|
|
30
35
|
|
|
@@ -11,12 +11,13 @@ from roboherd.herd.manager import HerdManager
|
|
|
11
11
|
from roboherd.util import create_connection
|
|
12
12
|
from roboherd.register import register as run_register
|
|
13
13
|
from roboherd.validators import validators
|
|
14
|
+
from roboherd.version import __version__
|
|
14
15
|
|
|
15
16
|
logging.basicConfig(level=logging.INFO)
|
|
16
17
|
logging.captureWarnings(True)
|
|
17
18
|
|
|
18
19
|
|
|
19
|
-
@click.group()
|
|
20
|
+
@click.group(invoke_without_command=True)
|
|
20
21
|
@click.option(
|
|
21
22
|
"--connection_string",
|
|
22
23
|
default=None,
|
|
@@ -28,9 +29,22 @@ logging.captureWarnings(True)
|
|
|
28
29
|
help="Base url to create cows with",
|
|
29
30
|
)
|
|
30
31
|
@click.option("--config_file", default="roboherd.toml", help="Configuration file")
|
|
32
|
+
@click.option(
|
|
33
|
+
"--version", is_flag=True, default=False, help="display version then exit"
|
|
34
|
+
)
|
|
31
35
|
@click.pass_context
|
|
32
|
-
def main(
|
|
36
|
+
def main(
|
|
37
|
+
ctx: click.Context,
|
|
38
|
+
connection_string: str,
|
|
39
|
+
base_url: str,
|
|
40
|
+
config_file: str,
|
|
41
|
+
version: bool,
|
|
42
|
+
):
|
|
33
43
|
"""Configuration is usually loaded from the config_file. These options can be overwritten by passing as a command line argument."""
|
|
44
|
+
if version:
|
|
45
|
+
print(f"roboherd version: {__version__}")
|
|
46
|
+
exit(0)
|
|
47
|
+
|
|
34
48
|
settings = dynaconf.Dynaconf(
|
|
35
49
|
settings_files=[config_file],
|
|
36
50
|
envvar_prefix="ROBOHERD",
|
|
@@ -51,6 +65,8 @@ def main(ctx: click.Context, connection_string: str, base_url: str, config_file:
|
|
|
51
65
|
else:
|
|
52
66
|
ctx.obj["base_url"] = settings.base_url # type: ignore
|
|
53
67
|
|
|
68
|
+
print("Please specify a command")
|
|
69
|
+
|
|
54
70
|
|
|
55
71
|
@main.command()
|
|
56
72
|
@click.option("--fail", is_flag=True, default=False, help="Fail if actors do not exist")
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.11"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|