Commit graph

65 commits

Author SHA1 Message Date
Tiara Rodney
657e8b1e4c
todo(21): done
parse_base_url and parse_repo_name accept SCP-style URLs for any host: the bitbucket.org-only ValueError is removed, SCP-style format validation (colon required, no scheme) retained, Bitbucket behavior unchanged. parse_repo_name's stale copy-pasted docstring corrected. Additionally parse_base_url now returns str as annotated (was Path), eliminating the mypy return-value error. 10 unit tests cover Bitbucket-, Forgejo- and GitHub-shaped URLs, .git suffix handling, str return type, and both rejection cases; 106/106 pass via tox -e unit-py313 with vcs/git.py down to 4 pre-existing baseline mypy errors.
2026-06-06 16:15:41 +02:00
Tiara Rodney
1fd75e11c1
todo(21): in-progress
parse_base_url and parse_repo_name accept SCP-style URLs for any host (e.g. git@git.code.tiararodney.com:h5p-mirror/foo.git) instead of rejecting everything but bitbucket.org. Non-SCP-style URLs (scheme://, missing colon) are still rejected with ValueError. Behavior for bitbucket.org URLs is unchanged. Unit tests cover Bitbucket- and Forgejo-shaped URLs plus the rejection cases, and pass via tox with no new mypy errors beyond the repo baseline.
2026-06-06 16:08:31 +02:00
Tiara Rodney
936f9cb974
todo(21): open 2026-06-06 16:05:08 +02:00
Tiara Rodney
fa34977452 todo(18): done
byteb4rb1e.utils.saas.forgejo delivered as a thin layer over byteb4rb1e.utils.http.client, mirroring the Bitbucket wrapper against the Forgejo REST API v1: token auth headers, repository existence check, repository creation under the authenticated user (/user/repos) or an organization (/orgs/{org}/repos). No instance URL hardcoded — every operation takes a host parameter via api_url(). Both ssh_clone_url and https_clone_url exposed. 12 unit tests cover all operations; 95/95 pass via tox -e unit-py313 with no mypy errors beyond the repo baseline.
2026-06-06 15:03:02 +02:00
Tiara Rodney
73c32fdee0 todo(18): in-progress
byteb4rb1e.utils.saas.forgejo exists as a thin layer over byteb4rb1e.utils.http.client, mirroring the Bitbucket wrapper's operations against the Forgejo REST API (api/v1): token auth headers, repository existence check, repository creation under the authenticated user or an organization. No instance URL is hardcoded: every operation takes a host parameter. Both SSH and HTTPS clone URL construction are exposed. Unit tests cover all operations and pass via tox; no new mypy errors beyond the repo baseline.
2026-06-06 14:58:00 +02:00
Tiara Rodney
b707325c69 Merge branch 'feature/20' into develop 2026-06-06 14:55:06 +02:00
Tiara Rodney
f9f61c3978 todo(20): done
HttpSession (cookie persistence via http.cookiejar, GET with query params, form-encoded POST, default/per-request header merging, HTTPError-to-response conversion) and the HttpResponse frozen-dataclass refactor live on feature/20 as separate refactor and feat commits. 14 new unit tests covering HttpResponse semantics and HttpSession behavior pass via tox -e unit-py313; the test file adds no new mypy errors beyond the repo-wide baseline. develop working tree clean of http/client.py changes.
2026-06-06 14:54:55 +02:00
Tiara Rodney
fef5ee1bf2 todo(19): done
byteb4rb1e.utils.config (INI loading/writing, per-flag CLI integration, dotted-path --config KEY=VALUE overrides, help formatting) and byteb4rb1e.utils.argparse.actions.KeyValueAction with package export live on feature/19 in five granular commits (production code before tests, module boundaries separate). 46 unit tests pass via tox -e unit-py313. develop working tree clean of these files.
2026-06-06 14:54:41 +02:00
Tiara Rodney
18aca33e42 todo(20): in-progress
HttpSession and the HttpResponse frozen-dataclass refactor live on branch feature/20 as separate refactor and feat commits; unit tests covering HttpResponse and HttpSession (cookie persistence, header merging, params, form POST, HTTPError handling) added and passing via tox; develop working tree is clean of http/client.py changes.
2026-06-06 14:34:45 +02:00
Tiara Rodney
358ce939a9 todo(19): in-progress
byteb4rb1e.utils.config and byteb4rb1e.utils.argparse.actions.KeyValueAction (with package export) live on branch feature/19 with spec-compliant commit granularity (production code before tests, module boundaries separate); unit test suites for both pass via tox; develop working tree is clean of these files.
2026-06-06 14:34:43 +02:00
Tiara Rodney
a0fd3e5d48 todo(20): open 2026-06-06 14:34:27 +02:00
Tiara Rodney
1879157fab todo(19): open 2026-06-06 14:34:12 +02:00
Tiara Rodney
307f7c322c todo(18): open 2026-06-06 14:26:27 +02:00
Tiara Rodney
d296f135d1 chore: convert TODO to MIME TODO format 2026-06-06 14:14:02 +02:00
Tiara Rodney
22aeecd630
todo(17): in-progress 2025-12-31 14:28:27 +01:00
Tiara Rodney
90567899e0
todo(17): open 2025-12-31 14:27:59 +01:00
Tiara Rodney
0a23243b76
todo(16): change priority
project that uses it is currently on hold, hence priority is low
2025-12-31 14:24:38 +01:00
Tiara Rodney
b257fd3d88
todo(16): in-progress 2025-12-31 14:24:09 +01:00
Tiara Rodney
6b29a8d525
todo(16): open 2025-12-31 14:22:38 +01:00
Tiara Rodney
74dac5249b
todo(15): done 2025-06-28 01:42:13 +02:00
Tiara Rodney
9d09a4abaa
todo(15): in-progress 2025-06-28 01:40:17 +02:00
Tiara Rodney
b9e9e13630
todo(15): open 2025-06-28 01:39:37 +02:00
Tiara Rodney
7e18e4795d
todo(14): done 2025-06-21 20:27:09 +02:00
Tiara Rodney
981985e51a
todo(14): in-progress 2025-06-21 20:26:15 +02:00
Tiara Rodney
5beb699dda
todo(13): done 2025-06-21 20:25:28 +02:00
Tiara Rodney
69d498a203
todo(13): in-progress 2025-06-21 20:24:51 +02:00
Tiara Rodney
3b5097a99c
todo(14): open 2025-06-21 20:23:41 +02:00
Tiara Rodney
81dc18c506
todo(13): open 2025-06-21 20:22:19 +02:00
Tiara Rodney
16c12b5576
todo(12): done 2025-06-21 18:16:18 +02:00
Tiara Rodney
e6bf657919
todo(12): in-progress 2025-06-21 18:14:22 +02:00
Tiara Rodney
6b6fb02f41
todo(12): open 2025-06-21 18:13:59 +02:00
Tiara Rodney
53dc780a04
todo(11): done 2025-06-21 01:42:16 +02:00
Tiara Rodney
55ec6323bb
todo(11): in-progress 2025-06-21 01:34:30 +02:00
Tiara Rodney
0eee6c5771
todo(11): open 2025-06-21 01:34:14 +02:00
Tiara Rodney
a4fa083980
todo(6): done 2025-06-21 00:39:13 +02:00
Tiara Rodney
03561be791
todo(10): done 2025-06-20 21:48:21 +02:00
Tiara Rodney
c579ddd022
todo(10): in-progress 2025-06-20 21:00:53 +02:00
Tiara Rodney
44e35846a5
todo(10): open 2025-06-20 21:00:31 +02:00
Tiara Rodney
324df0e6d2
todo(9): done 2025-06-20 20:39:53 +02:00
Tiara Rodney
e0e99480e3
todo(9): in-progress 2025-06-20 20:38:14 +02:00
Tiara Rodney
576aad9d4c
todo(9): open 2025-06-20 20:37:49 +02:00
Tiara Rodney
fb0c65c6af
todo(8): done 2025-06-20 20:35:11 +02:00
Tiara Rodney
dd57ecabb9
todo(8): in-progress 2025-06-20 20:25:51 +02:00
Tiara Rodney
f0f36542f4
todo(7): done 2025-06-20 20:21:06 +02:00
Tiara Rodney
c0adb4cdfb
todo(8): open 2025-06-20 20:19:05 +02:00
Tiara Rodney
c6c6d806ac
todo(7): in-progress 2025-06-20 19:48:22 +02:00
Tiara Rodney
d4068f464b
todo(7): open 2025-06-20 19:48:05 +02:00
Tiara Rodney
32d6a7a0df
todo(6): in-progress 2025-06-20 19:44:25 +02:00
Tiara Rodney
a384efbe05
todo(6): open 2025-06-20 19:43:43 +02:00
Rodney, Tiara
b29ae6087d
todo(1): hold
I don't have a real use for KMP at the moment. I'm putting it on hold but
leaning towards cancelling the feature completely as I'm not trying to create a
collection of algorithms... My utilities should only contain what I really
need...
2025-05-05 01:36:58 +02:00