Public Access
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6402f31345 | ||
|
|
f017fec8f5 | ||
|
|
add02273b6 | ||
|
|
e489fdb206 |
@@ -190,7 +190,7 @@ jobs:
|
|||||||
PYTHONPATH: src
|
PYTHONPATH: src
|
||||||
run: |
|
run: |
|
||||||
. .venv/bin/activate 2>/dev/null || true
|
. .venv/bin/activate 2>/dev/null || true
|
||||||
python3 -m devx.ci.sync_wiki --repo "${{ github.repository }}" --strict
|
python3 -m devx.ci.sync_wiki --repo "${{ github.repository }}" --verify
|
||||||
- name: Notify on failure
|
- name: Notify on failure
|
||||||
if: failure()
|
if: failure()
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -2,6 +2,18 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## [0.35.4] - 2026-07-06
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Configure git identity before commit in sync_wiki
|
||||||
|
|
||||||
|
## [0.35.3] - 2026-07-06
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Replace --strict with --verify for sync_wiki
|
||||||
|
|
||||||
## [0.35.2] - 2026-07-06
|
## [0.35.2] - 2026-07-06
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ extra index and list devx in your dependencies:
|
|||||||
```toml
|
```toml
|
||||||
[project]
|
[project]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"devx>=0.35.2",
|
"devx>=0.35.4",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.pip]
|
[tool.pip]
|
||||||
@@ -101,8 +101,8 @@ pip install -e .
|
|||||||
```
|
```
|
||||||
|
|
||||||
> **Note:** If your project requires a specific devx version, pin it in
|
> **Note:** If your project requires a specific devx version, pin it in
|
||||||
> `dependencies` (for example, `"devx==0.35.2"`) or use a version constraint
|
> `dependencies` (for example, `"devx==0.35.4"`) or use a version constraint
|
||||||
> (for example, `"devx>=0.35.2,<0.36"`).
|
> (for example, `"devx>=0.35.4,<0.36"`).
|
||||||
|
|
||||||
### Optional extras
|
### Optional extras
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -74,14 +74,14 @@ Add devx to your `pyproject.toml` dependencies and configure the registry:
|
|||||||
```toml
|
```toml
|
||||||
[project]
|
[project]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"devx>=0.35.2",
|
"devx>=0.35.4",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.pip]
|
[tool.pip]
|
||||||
extra-index-url = "https://git.oblachno.oblachno.fyi/api/packages/oblachno-oss/pypi/simple"
|
extra-index-url = "https://git.oblachno.oblachno.fyi/api/packages/oblachno-oss/pypi/simple"
|
||||||
```
|
```
|
||||||
|
|
||||||
Pin a specific version if needed: `"devx==0.35.2"` or `"devx>=0.35.2,<0.36"`.
|
Pin a specific version if needed: `"devx==0.35.4"` or `"devx>=0.35.4,<0.36"`.
|
||||||
|
|
||||||
### Optional extras
|
### Optional extras
|
||||||
|
|
||||||
|
|||||||
@@ -48,12 +48,12 @@ Add devx to your `pyproject.toml`:
|
|||||||
```toml
|
```toml
|
||||||
[project]
|
[project]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"devx>=0.35.2",
|
"devx>=0.35.4",
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
dev = [
|
dev = [
|
||||||
"devx>=0.35.2",
|
"devx>=0.35.4",
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
"""devx — reusable development and CI/CD tools for oblachno-oss projects."""
|
"""devx — reusable development and CI/CD tools for oblachno-oss projects."""
|
||||||
|
|
||||||
__version__ = "0.35.2"
|
__version__ = "0.35.4"
|
||||||
|
|||||||
@@ -208,7 +208,19 @@ def commit_and_push(wiki_dir: Path, wiki_url: str, dry_run: bool) -> bool:
|
|||||||
click.echo(_("No changes to sync — wiki is up to date."))
|
click.echo(_("No changes to sync — wiki is up to date."))
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# Commit
|
# Commit — ensure git identity is configured (CI environments may lack it)
|
||||||
|
subprocess.run( # nosec
|
||||||
|
["git", "config", "user.email", "devin-ai-integration[bot]@users.noreply.github.com"],
|
||||||
|
cwd=wiki_dir,
|
||||||
|
capture_output=True,
|
||||||
|
check=True,
|
||||||
|
)
|
||||||
|
subprocess.run( # nosec
|
||||||
|
["git", "config", "user.name", "Devin CI"],
|
||||||
|
cwd=wiki_dir,
|
||||||
|
capture_output=True,
|
||||||
|
check=True,
|
||||||
|
)
|
||||||
subprocess.run( # nosec
|
subprocess.run( # nosec
|
||||||
["git", "commit", "-m", "Sync wiki from docs/ [skip ci]"],
|
["git", "commit", "-m", "Sync wiki from docs/ [skip ci]"],
|
||||||
cwd=wiki_dir,
|
cwd=wiki_dir,
|
||||||
|
|||||||
@@ -208,6 +208,8 @@ class TestCommitAndPush:
|
|||||||
mock_run.side_effect = [
|
mock_run.side_effect = [
|
||||||
MagicMock(returncode=0), # git add
|
MagicMock(returncode=0), # git add
|
||||||
MagicMock(returncode=1), # git diff --cached --quiet (has changes)
|
MagicMock(returncode=1), # git diff --cached --quiet (has changes)
|
||||||
|
MagicMock(returncode=0), # git config user.email
|
||||||
|
MagicMock(returncode=0), # git config user.name
|
||||||
MagicMock(returncode=0), # git commit
|
MagicMock(returncode=0), # git commit
|
||||||
MagicMock(returncode=0, stdout="", stderr=""), # git push
|
MagicMock(returncode=0, stdout="", stderr=""), # git push
|
||||||
]
|
]
|
||||||
@@ -219,6 +221,8 @@ class TestCommitAndPush:
|
|||||||
mock_run.side_effect = [
|
mock_run.side_effect = [
|
||||||
MagicMock(returncode=0), # git add
|
MagicMock(returncode=0), # git add
|
||||||
MagicMock(returncode=1), # git diff --cached --quiet (has changes)
|
MagicMock(returncode=1), # git diff --cached --quiet (has changes)
|
||||||
|
MagicMock(returncode=0), # git config user.email
|
||||||
|
MagicMock(returncode=0), # git config user.name
|
||||||
MagicMock(returncode=0), # git commit
|
MagicMock(returncode=0), # git commit
|
||||||
MagicMock(returncode=1, stdout="", stderr="push failed"), # git push
|
MagicMock(returncode=1, stdout="", stderr="push failed"), # git push
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user