gitronics 0.5.19__tar.gz → 0.5.21__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.
- {gitronics-0.5.19 → gitronics-0.5.21}/.github/workflows/docs.yml +18 -6
- {gitronics-0.5.19 → gitronics-0.5.21}/.github/workflows/release.yml +19 -1
- {gitronics-0.5.19 → gitronics-0.5.21}/Cargo.lock +1 -1
- {gitronics-0.5.19 → gitronics-0.5.21}/Cargo.toml +1 -1
- {gitronics-0.5.19 → gitronics-0.5.21}/PKG-INFO +1 -1
- {gitronics-0.5.19 → gitronics-0.5.21}/docs/index.md +1 -1
- {gitronics-0.5.19 → gitronics-0.5.21}/.github/workflows/ci.yml +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/.gitignore +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/.vscode/settings.json +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/LICENSE +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/README.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/docs/assets/logo.png +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/docs/best_practices.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/docs/examples.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/docs/getting_started/assessments.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/docs/getting_started/building_a_model.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/docs/getting_started/card_id_numbers.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/docs/getting_started/concepts.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/docs/getting_started/configuration_file.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/docs/getting_started/file_types.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/docs/getting_started/migrating.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/docs/getting_started/new_project.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/docs/getting_started/project_structure.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/docs/getting_started.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/docs/hooks/version_from_git.py +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/docs/installation.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/docs/requirements.txt +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/docs/usage/build.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/docs/usage/migrate.md +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/example_project/assessment_specific/filler_model_3.mcnp +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/example_project/assessment_specific/filler_model_3.metadata +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/example_project/assessment_specific/small_override.yaml +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/example_project/configurations/valid_configuration.yaml +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/example_project/output/.gitignore +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/example_project/reference_model/data_cards/fine_mesh.tally +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/example_project/reference_model/data_cards/materials.mat +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/example_project/reference_model/data_cards/my_transform.transform +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/example_project/reference_model/data_cards/volumetric_source.source +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/example_project/reference_model/envelope_structure.mcnp +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/example_project/reference_model/envelope_structure.metadata +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/example_project/reference_model/filler_models/filler_model_1.mcnp +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/example_project/reference_model/filler_models/filler_model_1.metadata +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/example_project/reference_model/filler_models/filler_model_2.mcnp +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/example_project/reference_model/filler_models/filler_model_2.metadata +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/mkdocs.yml +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/pyproject.toml +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/python/gitronics/__init__.py +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/python/gitronics/__main__.py +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/python/gitronics/gitronics.pyi +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/python/tests/test_build_model.py +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/python/tests/test_cli_works.py +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/resources/simple_model.mcnp +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/src/build_model.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/src/build_report.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/src/cli.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/src/lib.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/src/main.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/src/migrate_model.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/src/model_config.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/src/project_manager/load_metadata.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/src/project_manager/load_model_config.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/src/project_manager/load_project_files.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/src/project_manager.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/src/python.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/src/report.css +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/src/types.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/src/utils.rs +0 -0
- {gitronics-0.5.19 → gitronics-0.5.21}/tests/test_example_project.rs +0 -0
|
@@ -3,7 +3,8 @@ name: Docs
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
5
|
tags:
|
|
6
|
-
|
|
6
|
+
# GitHub Actions uses glob patterns here (not regex).
|
|
7
|
+
- "v*.*.*"
|
|
7
8
|
# Allow manual triggering from the Actions tab
|
|
8
9
|
workflow_dispatch:
|
|
9
10
|
|
|
@@ -32,16 +33,27 @@ jobs:
|
|
|
32
33
|
- name: Extract version from tag
|
|
33
34
|
id: version
|
|
34
35
|
run: |
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
if [[ "${GITHUB_REF_TYPE}" == "tag" ]]; then
|
|
37
|
+
# Strip the leading "v" so MkDocs sees "1.2.3", not "v1.2.3"
|
|
38
|
+
VERSION="${GITHUB_REF_NAME#v}"
|
|
39
|
+
else
|
|
40
|
+
# For manual runs, resolve the most recent semantic tag in the repo.
|
|
41
|
+
VERSION="$(git tag --list 'v*.*.*' --sort=-v:refname | head -n1 | sed 's/^v//')"
|
|
42
|
+
fi
|
|
43
|
+
|
|
44
|
+
if [[ -z "$VERSION" ]]; then
|
|
45
|
+
echo "No semantic version tag found (expected pattern: v*.*.*)." >&2
|
|
46
|
+
exit 1
|
|
47
|
+
fi
|
|
48
|
+
|
|
37
49
|
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
|
|
38
50
|
|
|
39
51
|
- name: Build & deploy to GitHub Pages
|
|
40
52
|
run: |
|
|
41
53
|
git config user.name "github-actions[bot]"
|
|
42
54
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
43
|
-
|
|
55
|
+
# Deploy this version and update the "latest" alias
|
|
44
56
|
pip install mike
|
|
45
57
|
mike deploy --push --update-aliases "${{ steps.version.outputs.version }}" latest
|
|
46
|
-
|
|
47
|
-
|
|
58
|
+
# Keep docs root pinned to latest so it always follows new releases.
|
|
59
|
+
mike set-default --push latest
|
|
@@ -3,7 +3,8 @@ name: Release
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
5
|
tags:
|
|
6
|
-
|
|
6
|
+
# GitHub Actions tag filters use glob patterns (not regex).
|
|
7
|
+
- "v*.*.*"
|
|
7
8
|
|
|
8
9
|
env:
|
|
9
10
|
CARGO_TERM_COLOR: always
|
|
@@ -135,3 +136,20 @@ jobs:
|
|
|
135
136
|
|
|
136
137
|
- name: Publish to PyPI
|
|
137
138
|
uses: pypa/gh-action-pypi-publish@release/v1
|
|
139
|
+
|
|
140
|
+
# ──────────────────────────────────────────────
|
|
141
|
+
# 5. Create/update GitHub Release for the tag
|
|
142
|
+
# ──────────────────────────────────────────────
|
|
143
|
+
github-release:
|
|
144
|
+
name: Publish GitHub Release
|
|
145
|
+
runs-on: ubuntu-latest
|
|
146
|
+
needs: [publish-pypi]
|
|
147
|
+
permissions:
|
|
148
|
+
contents: write
|
|
149
|
+
steps:
|
|
150
|
+
- name: Create or update GitHub Release
|
|
151
|
+
uses: softprops/action-gh-release@v2
|
|
152
|
+
with:
|
|
153
|
+
tag_name: ${{ github.ref_name }}
|
|
154
|
+
name: ${{ github.ref_name }}
|
|
155
|
+
generate_release_notes: true
|
|
@@ -36,7 +36,7 @@ output/
|
|
|
36
36
|
The `build` command reads a configuration file, loads all referenced components, inserts `FILL` cards into the envelope cells, and writes a single self-contained MCNP input file.
|
|
37
37
|
It is highly recommended to use [Git](https://git-scm.com/) to track changes to your project files.
|
|
38
38
|
|
|
39
|
-
If you have never used Gitronics before, please take a few minutes to read the whole [Getting Started](getting_started.md) guide to understand the
|
|
39
|
+
If you have never used Gitronics before, please take a few minutes to read the whole [Getting Started](getting_started.md) guide to understand the methodology.
|
|
40
40
|
|
|
41
41
|
---
|
|
42
42
|
|
|
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
|
|
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
|
{gitronics-0.5.19 → gitronics-0.5.21}/example_project/assessment_specific/filler_model_3.mcnp
RENAMED
|
File without changes
|
{gitronics-0.5.19 → gitronics-0.5.21}/example_project/assessment_specific/filler_model_3.metadata
RENAMED
|
File without changes
|
{gitronics-0.5.19 → gitronics-0.5.21}/example_project/assessment_specific/small_override.yaml
RENAMED
|
File without changes
|
{gitronics-0.5.19 → gitronics-0.5.21}/example_project/configurations/valid_configuration.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{gitronics-0.5.19 → gitronics-0.5.21}/example_project/reference_model/data_cards/fine_mesh.tally
RENAMED
|
File without changes
|
{gitronics-0.5.19 → gitronics-0.5.21}/example_project/reference_model/data_cards/materials.mat
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gitronics-0.5.19 → gitronics-0.5.21}/example_project/reference_model/envelope_structure.mcnp
RENAMED
|
File without changes
|
{gitronics-0.5.19 → gitronics-0.5.21}/example_project/reference_model/envelope_structure.metadata
RENAMED
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|