fdl-cli 0.12.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.
- fdl_cli-0.12.1/.github/workflows/docs.yml +41 -0
- fdl_cli-0.12.1/.github/workflows/publish.yml +29 -0
- fdl_cli-0.12.1/.github/workflows/release.yml +33 -0
- fdl_cli-0.12.1/.gitignore +20 -0
- fdl_cli-0.12.1/.python-version +1 -0
- fdl_cli-0.12.1/CHANGELOG.md +1067 -0
- fdl_cli-0.12.1/CLAUDE.md +41 -0
- fdl_cli-0.12.1/CONTRIBUTING.md +65 -0
- fdl_cli-0.12.1/LICENSE +21 -0
- fdl_cli-0.12.1/PKG-INFO +116 -0
- fdl_cli-0.12.1/README.md +98 -0
- fdl_cli-0.12.1/docs/CNAME +1 -0
- fdl_cli-0.12.1/docs/cli.md +55 -0
- fdl_cli-0.12.1/docs/index.md +12 -0
- fdl_cli-0.12.1/docs/spec.md +286 -0
- fdl_cli-0.12.1/pyproject.toml +50 -0
- fdl_cli-0.12.1/src/fdl/__init__.py +16 -0
- fdl_cli-0.12.1/src/fdl/catalog.py +476 -0
- fdl_cli-0.12.1/src/fdl/cli.py +159 -0
- fdl_cli-0.12.1/src/fdl/layout.py +64 -0
- fdl_cli-0.12.1/src/fdl/py.typed +0 -0
- fdl_cli-0.12.1/src/fdl/refs.py +115 -0
- fdl_cli-0.12.1/src/fdl/repo.py +433 -0
- fdl_cli-0.12.1/src/fdl/store.py +64 -0
- fdl_cli-0.12.1/src/fdl/stores.py +177 -0
- fdl_cli-0.12.1/src/fdl/version.py +140 -0
- fdl_cli-0.12.1/tests/test_cli.py +72 -0
- fdl_cli-0.12.1/tests/test_repo.py +244 -0
- fdl_cli-0.12.1/tests/test_stores.py +52 -0
- fdl_cli-0.12.1/uv.lock +1153 -0
- fdl_cli-0.12.1/zensical.toml +61 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
name: Docs
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
paths:
|
|
7
|
+
- "docs/**"
|
|
8
|
+
- "zensical.toml"
|
|
9
|
+
- "CHANGELOG.md"
|
|
10
|
+
- ".github/workflows/docs.yml"
|
|
11
|
+
workflow_dispatch:
|
|
12
|
+
|
|
13
|
+
permissions:
|
|
14
|
+
contents: read
|
|
15
|
+
pages: write
|
|
16
|
+
id-token: write
|
|
17
|
+
|
|
18
|
+
concurrency:
|
|
19
|
+
group: pages
|
|
20
|
+
cancel-in-progress: false
|
|
21
|
+
|
|
22
|
+
jobs:
|
|
23
|
+
build:
|
|
24
|
+
runs-on: ubuntu-latest
|
|
25
|
+
steps:
|
|
26
|
+
- uses: actions/checkout@v5
|
|
27
|
+
- uses: astral-sh/setup-uv@v7
|
|
28
|
+
- run: uv run zensical build
|
|
29
|
+
- uses: actions/upload-pages-artifact@v4
|
|
30
|
+
with:
|
|
31
|
+
path: site
|
|
32
|
+
|
|
33
|
+
deploy:
|
|
34
|
+
needs: build
|
|
35
|
+
runs-on: ubuntu-latest
|
|
36
|
+
environment:
|
|
37
|
+
name: github-pages
|
|
38
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
|
39
|
+
steps:
|
|
40
|
+
- id: deployment
|
|
41
|
+
uses: actions/deploy-pages@v5
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
name: Publish
|
|
2
|
+
|
|
3
|
+
# Builds a tagged release and publishes it to PyPI via trusted publishing.
|
|
4
|
+
# Decoupled from release.yml so a publish failure (e.g. a trusted-publisher
|
|
5
|
+
# misconfiguration) does not strand an already-created release: re-run this
|
|
6
|
+
# workflow with the tag to retry the upload.
|
|
7
|
+
|
|
8
|
+
on:
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
inputs:
|
|
11
|
+
ref:
|
|
12
|
+
description: Git ref (tag) to build and publish to PyPI
|
|
13
|
+
required: true
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
publish:
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
permissions:
|
|
19
|
+
id-token: write
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v5
|
|
22
|
+
with:
|
|
23
|
+
ref: ${{ inputs.ref }}
|
|
24
|
+
|
|
25
|
+
- uses: astral-sh/setup-uv@v7
|
|
26
|
+
|
|
27
|
+
- run: uv build
|
|
28
|
+
|
|
29
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
release:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
permissions:
|
|
10
|
+
contents: write
|
|
11
|
+
actions: write
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v5
|
|
14
|
+
with:
|
|
15
|
+
fetch-depth: 0
|
|
16
|
+
|
|
17
|
+
- uses: python-semantic-release/python-semantic-release@v9
|
|
18
|
+
id: release
|
|
19
|
+
with:
|
|
20
|
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
21
|
+
|
|
22
|
+
# Publishing runs in a separate workflow so a failed upload can be
|
|
23
|
+
# retried against the tag without re-running semantic-release (which
|
|
24
|
+
# would refuse, the tag already existing).
|
|
25
|
+
- if: steps.release.outputs.released == 'true'
|
|
26
|
+
run: gh workflow run publish.yml --ref main -f ref=${{ steps.release.outputs.tag }}
|
|
27
|
+
env:
|
|
28
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
29
|
+
|
|
30
|
+
- if: steps.release.outputs.released == 'true'
|
|
31
|
+
run: gh workflow run docs.yml --ref main
|
|
32
|
+
env:
|
|
33
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.13
|