polygit 0.3.3__tar.gz → 0.3.4__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.
- polygit-0.3.4/.github/workflows/ci.yml +42 -0
- {polygit-0.3.3 → polygit-0.3.4}/AGENTS.md +2 -2
- {polygit-0.3.3 → polygit-0.3.4}/PKG-INFO +2 -2
- {polygit-0.3.3 → polygit-0.3.4}/pyproject.toml +2 -2
- polygit-0.3.3/.gitlab-ci.yml +0 -57
- {polygit-0.3.3 → polygit-0.3.4}/.gitignore +0 -0
- {polygit-0.3.3 → polygit-0.3.4}/CLAUDE.md +0 -0
- {polygit-0.3.3 → polygit-0.3.4}/LICENSE.txt +0 -0
- {polygit-0.3.3 → polygit-0.3.4}/README.md +0 -0
- {polygit-0.3.3 → polygit-0.3.4}/src/polygit/__init__.py +0 -0
- {polygit-0.3.3 → polygit-0.3.4}/src/polygit/cli.py +0 -0
- {polygit-0.3.3 → polygit-0.3.4}/src/polygit/config.py +0 -0
- {polygit-0.3.3 → polygit-0.3.4}/src/polygit/repo.py +0 -0
- {polygit-0.3.3 → polygit-0.3.4}/src/polygit/repos.py +0 -0
- {polygit-0.3.3 → polygit-0.3.4}/tests/__init__.py +0 -0
- {polygit-0.3.3 → polygit-0.3.4}/tests/test_polygit.py +0 -0
- {polygit-0.3.3 → polygit-0.3.4}/uv.lock +0 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
tags: ["v*.*.*"]
|
|
7
|
+
pull_request:
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
test:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
|
+
- uses: astral-sh/setup-uv@v3
|
|
15
|
+
- run: uv sync
|
|
16
|
+
- run: uv run pytest
|
|
17
|
+
|
|
18
|
+
build:
|
|
19
|
+
needs: test
|
|
20
|
+
if: startsWith(github.ref, 'refs/tags/v')
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
steps:
|
|
23
|
+
- uses: actions/checkout@v4
|
|
24
|
+
- uses: astral-sh/setup-uv@v3
|
|
25
|
+
- run: uv build
|
|
26
|
+
- uses: actions/upload-artifact@v4
|
|
27
|
+
with:
|
|
28
|
+
name: dist
|
|
29
|
+
path: dist/
|
|
30
|
+
|
|
31
|
+
deploy:
|
|
32
|
+
needs: build
|
|
33
|
+
if: startsWith(github.ref, 'refs/tags/v')
|
|
34
|
+
runs-on: ubuntu-latest
|
|
35
|
+
steps:
|
|
36
|
+
- uses: actions/checkout@v4
|
|
37
|
+
- uses: astral-sh/setup-uv@v3
|
|
38
|
+
- uses: actions/download-artifact@v4
|
|
39
|
+
with:
|
|
40
|
+
name: dist
|
|
41
|
+
path: dist/
|
|
42
|
+
- run: uv publish --token ${{ secrets.PYPI_API_TOKEN }}
|
|
@@ -8,8 +8,8 @@ manages multiple git repos (across GitHub/GitLab, multiple orgs/namespaces) from
|
|
|
8
8
|
very `~/development/gitlab` tree these AGENTS.md files live in.
|
|
9
9
|
|
|
10
10
|
Standard `src`-layout Python package (`pyproject.toml`, `uv.lock` — uses `uv`, not
|
|
11
|
-
pip/poetry, for dev dependency management).
|
|
12
|
-
|
|
11
|
+
pip/poetry, for dev dependency management). Hosted on GitHub (moved from GitLab); CI is
|
|
12
|
+
`.github/workflows/ci.yml` — test on every push/PR, build+publish to PyPI on `v*.*.*` tags.
|
|
13
13
|
|
|
14
14
|
Replaced an older `sync.sh` script (see recent commit history) — if you find references to
|
|
15
15
|
`sync.sh` elsewhere in the user's dotfiles/bootstrap scripts, they're stale.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: polygit
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.4
|
|
4
4
|
Summary: Manage multiple git repos from a single .pgit config file.
|
|
5
|
-
Project-URL: Repository, https://
|
|
5
|
+
Project-URL: Repository, https://github.com/gschaetz/polygit
|
|
6
6
|
Author-email: Gary Schaetz <gary@schaetzkc.com>
|
|
7
7
|
License: MIT License
|
|
8
8
|
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "polygit"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.4"
|
|
8
8
|
description = "Manage multiple git repos from a single .pgit config file."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { file = "LICENSE.txt" }
|
|
@@ -16,7 +16,7 @@ dependencies = [
|
|
|
16
16
|
]
|
|
17
17
|
|
|
18
18
|
[project.urls]
|
|
19
|
-
Repository = "https://
|
|
19
|
+
Repository = "https://github.com/gschaetz/polygit"
|
|
20
20
|
|
|
21
21
|
[project.scripts]
|
|
22
22
|
pgit = "polygit.cli:main"
|
polygit-0.3.3/.gitlab-ci.yml
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
include:
|
|
2
|
-
- project: "gary.schaetz/private/pipelines"
|
|
3
|
-
ref: main
|
|
4
|
-
file: 'templates/rules/rules.yml'
|
|
5
|
-
|
|
6
|
-
stages:
|
|
7
|
-
- test
|
|
8
|
-
- build
|
|
9
|
-
- deploy
|
|
10
|
-
|
|
11
|
-
variables:
|
|
12
|
-
UV_NO_SYNC: "0"
|
|
13
|
-
|
|
14
|
-
test:
|
|
15
|
-
image: gschaetz/python:latest
|
|
16
|
-
stage: test
|
|
17
|
-
tags:
|
|
18
|
-
- docker
|
|
19
|
-
- kubernetes
|
|
20
|
-
# Explicit rules instead of relying on GitLab's implicit default (only: [branches, tags]):
|
|
21
|
-
# that default happens to exclude merge_request_event already, but making it explicit here
|
|
22
|
-
# matches the pattern every other repo running on these self-hosted runners uses, rather
|
|
23
|
-
# than depending on undocumented default behavior for a job that runs arbitrary repo code.
|
|
24
|
-
rules:
|
|
25
|
-
- !reference [.job_rules, standard-rule]
|
|
26
|
-
- !reference [.job_rules, manual-rule]
|
|
27
|
-
- !reference [.job_rules, schedule-rule]
|
|
28
|
-
script:
|
|
29
|
-
- uv sync
|
|
30
|
-
- uv run pytest
|
|
31
|
-
|
|
32
|
-
build:
|
|
33
|
-
image: gschaetz/python:latest
|
|
34
|
-
stage: build
|
|
35
|
-
tags:
|
|
36
|
-
- docker
|
|
37
|
-
- kubernetes
|
|
38
|
-
rules:
|
|
39
|
-
- if: $CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+$/
|
|
40
|
-
script:
|
|
41
|
-
- uv build
|
|
42
|
-
artifacts:
|
|
43
|
-
paths:
|
|
44
|
-
- dist/
|
|
45
|
-
|
|
46
|
-
deploy:
|
|
47
|
-
image: gschaetz/python:latest
|
|
48
|
-
stage: deploy
|
|
49
|
-
tags:
|
|
50
|
-
- docker
|
|
51
|
-
- kubernetes
|
|
52
|
-
rules:
|
|
53
|
-
- if: $CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+$/
|
|
54
|
-
dependencies:
|
|
55
|
-
- build
|
|
56
|
-
script:
|
|
57
|
-
- uv publish --token $PYPI_API_TOKEN
|
|
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
|