chewcw-work-queue 0.3.0__tar.gz → 0.3.1__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.
Files changed (21) hide show
  1. {chewcw_work_queue-0.3.0 → chewcw_work_queue-0.3.1}/PKG-INFO +17 -19
  2. {chewcw_work_queue-0.3.0 → chewcw_work_queue-0.3.1}/README.md +16 -18
  3. {chewcw_work_queue-0.3.0 → chewcw_work_queue-0.3.1}/chewcw_work_queue.egg-info/PKG-INFO +17 -19
  4. chewcw_work_queue-0.3.1/work_queue/__init__.py +1 -0
  5. chewcw_work_queue-0.3.0/work_queue/__init__.py +0 -1
  6. {chewcw_work_queue-0.3.0 → chewcw_work_queue-0.3.1}/LICENSE +0 -0
  7. {chewcw_work_queue-0.3.0 → chewcw_work_queue-0.3.1}/chewcw_work_queue.egg-info/SOURCES.txt +0 -0
  8. {chewcw_work_queue-0.3.0 → chewcw_work_queue-0.3.1}/chewcw_work_queue.egg-info/dependency_links.txt +0 -0
  9. {chewcw_work_queue-0.3.0 → chewcw_work_queue-0.3.1}/chewcw_work_queue.egg-info/entry_points.txt +0 -0
  10. {chewcw_work_queue-0.3.0 → chewcw_work_queue-0.3.1}/chewcw_work_queue.egg-info/top_level.txt +0 -0
  11. {chewcw_work_queue-0.3.0 → chewcw_work_queue-0.3.1}/pyproject.toml +0 -0
  12. {chewcw_work_queue-0.3.0 → chewcw_work_queue-0.3.1}/setup.cfg +0 -0
  13. {chewcw_work_queue-0.3.0 → chewcw_work_queue-0.3.1}/work_queue/__main__.py +0 -0
  14. {chewcw_work_queue-0.3.0 → chewcw_work_queue-0.3.1}/work_queue/artefacts.py +0 -0
  15. {chewcw_work_queue-0.3.0 → chewcw_work_queue-0.3.1}/work_queue/cli.py +0 -0
  16. {chewcw_work_queue-0.3.0 → chewcw_work_queue-0.3.1}/work_queue/commands.py +0 -0
  17. {chewcw_work_queue-0.3.0 → chewcw_work_queue-0.3.1}/work_queue/docs/pipeline.md +0 -0
  18. {chewcw_work_queue-0.3.0 → chewcw_work_queue-0.3.1}/work_queue/gates.py +0 -0
  19. {chewcw_work_queue-0.3.0 → chewcw_work_queue-0.3.1}/work_queue/gh.py +0 -0
  20. {chewcw_work_queue-0.3.0 → chewcw_work_queue-0.3.1}/work_queue/labels.py +0 -0
  21. {chewcw_work_queue-0.3.0 → chewcw_work_queue-0.3.1}/work_queue/verify.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chewcw-work-queue
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: One script that owns every GitHub label write for the agent work queue
5
5
  Author: chew cw
6
6
  License-Expression: MIT
@@ -22,24 +22,20 @@ The one place that writes a GitHub label for the agent queue. Python 3, standard
22
22
 
23
23
  ## Install
24
24
 
25
- From a checkout, without installing anything:
25
+ From a checkout, without installing anything. Run this from `dev-tools/work-queue`:
26
26
 
27
27
  bin/work-queue --version
28
28
 
29
- As a command on `PATH`, editable, so a checkout edit takes effect immediately:
29
+ As a command on `PATH`, editable, so a checkout edit takes effect immediately. Run this from the
30
+ repository root:
30
31
 
31
- uv tool install --editable ./work-queue
32
+ uv tool install --editable dev-tools/work-queue
32
33
 
33
- From a private or public remote, with no release needed:
34
+ From PyPI:
34
35
 
35
- uv tool install "git+ssh://git@github.com/<owner>/dev-tools.git#subdirectory=work-queue"
36
+ uv tool install chewcw-work-queue
36
37
 
37
- Pin a tag or a commit when you need a fixed version. The ref goes after the repository and
38
- before the fragment:
39
-
40
- uv tool install "git+ssh://git@github.com/<owner>/dev-tools.git@work-queue-v0.2.0#subdirectory=work-queue"
41
-
42
- `pipx install .` works the same way if you prefer pipx.
38
+ `pipx install chewcw-work-queue` works the same way if you prefer pipx.
43
39
 
44
40
  `uv tool install` writes its shim to `~/.local/bin`. If a non-interactive shell cannot find
45
41
  `work-queue`, that directory is the reason — it has to be on `PATH`.
@@ -48,12 +44,14 @@ before the fragment:
48
44
 
49
45
  `uvx` runs the tool in a throwaway environment, the way `npx` does:
50
46
 
51
- uvx --from "git+ssh://git@github.com/<owner>/dev-tools.git@work-queue-v0.2.0#subdirectory=work-queue" work-queue docs
47
+ uvx --from chewcw-work-queue work-queue docs
52
48
 
53
49
  It is the right form for a one-off. It is the wrong form for the queue itself, which is called
54
50
  dozens of times per session and whose gates must not change between two calls: an unpinned `uvx`
55
51
  gives you whatever the machine cached, so the gate that refuses a move may not be the one the
56
- skill described.
52
+ skill described. Pin it for that:
53
+
54
+ uv tool install chewcw-work-queue==<version>
57
55
 
58
56
  The tool drives `gh`, so `gh` must be installed and authenticated. Every command that writes exits
59
57
  2 with the reason when it is not.
@@ -126,11 +124,11 @@ and touches no network. Needs `bash`, `python3` and `jq`.
126
124
 
127
125
  1. Bump `__version__` in `work_queue/__init__.py`. That is the only place the version lives;
128
126
  `pyproject.toml` reads it from there.
129
- 2. Commit, then tag that commit with the tool's name in front:
130
- `git tag work-queue-v<version> && git push origin work-queue-v<version>`.
131
- 3. No release artifact is needed:
132
- `pipx install "git+https://…/dev-tools.git@work-queue-v<version>#subdirectory=work-queue"`
133
- resolves the tag.
127
+ 2. Move the version assertions in `tests/test.sh`, then run `python3 scripts/bump_tool_ref.py` from
128
+ the repository root, so every skill names the new version.
129
+ 3. Commit, then tag: `git tag work-queue-v<version> && git push origin work-queue-v<version>`. The
130
+ `release work-queue` workflow publishes to PyPI over OIDC, with no stored token.
131
+ 4. Confirm: `uv tool install chewcw-work-queue==<version>` and `work-queue --version`.
134
132
 
135
133
  Tags are per tool, never per repo: a second tool at its own `0.1.0` gets `other-tool-v0.1.0`, and
136
134
  neither tag blocks the other. The prefix must match the tool's directory name, and the version in
@@ -5,24 +5,20 @@ The one place that writes a GitHub label for the agent queue. Python 3, standard
5
5
 
6
6
  ## Install
7
7
 
8
- From a checkout, without installing anything:
8
+ From a checkout, without installing anything. Run this from `dev-tools/work-queue`:
9
9
 
10
10
  bin/work-queue --version
11
11
 
12
- As a command on `PATH`, editable, so a checkout edit takes effect immediately:
12
+ As a command on `PATH`, editable, so a checkout edit takes effect immediately. Run this from the
13
+ repository root:
13
14
 
14
- uv tool install --editable ./work-queue
15
+ uv tool install --editable dev-tools/work-queue
15
16
 
16
- From a private or public remote, with no release needed:
17
+ From PyPI:
17
18
 
18
- uv tool install "git+ssh://git@github.com/<owner>/dev-tools.git#subdirectory=work-queue"
19
+ uv tool install chewcw-work-queue
19
20
 
20
- Pin a tag or a commit when you need a fixed version. The ref goes after the repository and
21
- before the fragment:
22
-
23
- uv tool install "git+ssh://git@github.com/<owner>/dev-tools.git@work-queue-v0.2.0#subdirectory=work-queue"
24
-
25
- `pipx install .` works the same way if you prefer pipx.
21
+ `pipx install chewcw-work-queue` works the same way if you prefer pipx.
26
22
 
27
23
  `uv tool install` writes its shim to `~/.local/bin`. If a non-interactive shell cannot find
28
24
  `work-queue`, that directory is the reason — it has to be on `PATH`.
@@ -31,12 +27,14 @@ before the fragment:
31
27
 
32
28
  `uvx` runs the tool in a throwaway environment, the way `npx` does:
33
29
 
34
- uvx --from "git+ssh://git@github.com/<owner>/dev-tools.git@work-queue-v0.2.0#subdirectory=work-queue" work-queue docs
30
+ uvx --from chewcw-work-queue work-queue docs
35
31
 
36
32
  It is the right form for a one-off. It is the wrong form for the queue itself, which is called
37
33
  dozens of times per session and whose gates must not change between two calls: an unpinned `uvx`
38
34
  gives you whatever the machine cached, so the gate that refuses a move may not be the one the
39
- skill described.
35
+ skill described. Pin it for that:
36
+
37
+ uv tool install chewcw-work-queue==<version>
40
38
 
41
39
  The tool drives `gh`, so `gh` must be installed and authenticated. Every command that writes exits
42
40
  2 with the reason when it is not.
@@ -109,11 +107,11 @@ and touches no network. Needs `bash`, `python3` and `jq`.
109
107
 
110
108
  1. Bump `__version__` in `work_queue/__init__.py`. That is the only place the version lives;
111
109
  `pyproject.toml` reads it from there.
112
- 2. Commit, then tag that commit with the tool's name in front:
113
- `git tag work-queue-v<version> && git push origin work-queue-v<version>`.
114
- 3. No release artifact is needed:
115
- `pipx install "git+https://…/dev-tools.git@work-queue-v<version>#subdirectory=work-queue"`
116
- resolves the tag.
110
+ 2. Move the version assertions in `tests/test.sh`, then run `python3 scripts/bump_tool_ref.py` from
111
+ the repository root, so every skill names the new version.
112
+ 3. Commit, then tag: `git tag work-queue-v<version> && git push origin work-queue-v<version>`. The
113
+ `release work-queue` workflow publishes to PyPI over OIDC, with no stored token.
114
+ 4. Confirm: `uv tool install chewcw-work-queue==<version>` and `work-queue --version`.
117
115
 
118
116
  Tags are per tool, never per repo: a second tool at its own `0.1.0` gets `other-tool-v0.1.0`, and
119
117
  neither tag blocks the other. The prefix must match the tool's directory name, and the version in
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chewcw-work-queue
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: One script that owns every GitHub label write for the agent work queue
5
5
  Author: chew cw
6
6
  License-Expression: MIT
@@ -22,24 +22,20 @@ The one place that writes a GitHub label for the agent queue. Python 3, standard
22
22
 
23
23
  ## Install
24
24
 
25
- From a checkout, without installing anything:
25
+ From a checkout, without installing anything. Run this from `dev-tools/work-queue`:
26
26
 
27
27
  bin/work-queue --version
28
28
 
29
- As a command on `PATH`, editable, so a checkout edit takes effect immediately:
29
+ As a command on `PATH`, editable, so a checkout edit takes effect immediately. Run this from the
30
+ repository root:
30
31
 
31
- uv tool install --editable ./work-queue
32
+ uv tool install --editable dev-tools/work-queue
32
33
 
33
- From a private or public remote, with no release needed:
34
+ From PyPI:
34
35
 
35
- uv tool install "git+ssh://git@github.com/<owner>/dev-tools.git#subdirectory=work-queue"
36
+ uv tool install chewcw-work-queue
36
37
 
37
- Pin a tag or a commit when you need a fixed version. The ref goes after the repository and
38
- before the fragment:
39
-
40
- uv tool install "git+ssh://git@github.com/<owner>/dev-tools.git@work-queue-v0.2.0#subdirectory=work-queue"
41
-
42
- `pipx install .` works the same way if you prefer pipx.
38
+ `pipx install chewcw-work-queue` works the same way if you prefer pipx.
43
39
 
44
40
  `uv tool install` writes its shim to `~/.local/bin`. If a non-interactive shell cannot find
45
41
  `work-queue`, that directory is the reason — it has to be on `PATH`.
@@ -48,12 +44,14 @@ before the fragment:
48
44
 
49
45
  `uvx` runs the tool in a throwaway environment, the way `npx` does:
50
46
 
51
- uvx --from "git+ssh://git@github.com/<owner>/dev-tools.git@work-queue-v0.2.0#subdirectory=work-queue" work-queue docs
47
+ uvx --from chewcw-work-queue work-queue docs
52
48
 
53
49
  It is the right form for a one-off. It is the wrong form for the queue itself, which is called
54
50
  dozens of times per session and whose gates must not change between two calls: an unpinned `uvx`
55
51
  gives you whatever the machine cached, so the gate that refuses a move may not be the one the
56
- skill described.
52
+ skill described. Pin it for that:
53
+
54
+ uv tool install chewcw-work-queue==<version>
57
55
 
58
56
  The tool drives `gh`, so `gh` must be installed and authenticated. Every command that writes exits
59
57
  2 with the reason when it is not.
@@ -126,11 +124,11 @@ and touches no network. Needs `bash`, `python3` and `jq`.
126
124
 
127
125
  1. Bump `__version__` in `work_queue/__init__.py`. That is the only place the version lives;
128
126
  `pyproject.toml` reads it from there.
129
- 2. Commit, then tag that commit with the tool's name in front:
130
- `git tag work-queue-v<version> && git push origin work-queue-v<version>`.
131
- 3. No release artifact is needed:
132
- `pipx install "git+https://…/dev-tools.git@work-queue-v<version>#subdirectory=work-queue"`
133
- resolves the tag.
127
+ 2. Move the version assertions in `tests/test.sh`, then run `python3 scripts/bump_tool_ref.py` from
128
+ the repository root, so every skill names the new version.
129
+ 3. Commit, then tag: `git tag work-queue-v<version> && git push origin work-queue-v<version>`. The
130
+ `release work-queue` workflow publishes to PyPI over OIDC, with no stored token.
131
+ 4. Confirm: `uv tool install chewcw-work-queue==<version>` and `work-queue --version`.
134
132
 
135
133
  Tags are per tool, never per repo: a second tool at its own `0.1.0` gets `other-tool-v0.1.0`, and
136
134
  neither tag blocks the other. The prefix must match the tool's directory name, and the version in
@@ -0,0 +1 @@
1
+ __version__ = "0.3.1"
@@ -1 +0,0 @@
1
- __version__ = "0.3.0"