[#3] Point manifest download_urls at public release assets (v1.0.0) #4

Open
justin wants to merge 1 commit from bugfix/3-manifest-public-release-urls into main
Owner

Closes #3

What changed

manifest.json — four download_url values repointed from the private cgg archives to the public release assets on v1.0.0.

- "https://git.comfac-it.net/api/v1/repos/cgg/Comfac-MEP_Tools/archive/main.zip"
+ "https://git.comfac-it.net/comfac-dist/ComfacCAD/releases/download/v1.0.0/Comfac-MEP_Tools.zip"

(and the same for Comfac-Archi_Tools, Comfac-2D, Comfac-cadassets)

The four source repositories in cgg remain private. Only the built archives are published, on the release created at comfac-dist/ComfacCAD tag v1.0.0.

How to test

  1. Anonymously (no CITFJ account) fetch the manifest:
    curl -s -o /dev/null -w '%{http_code}' https://git.comfac-it.net/comfac-dist/ComfacCAD/raw/branch/main/manifest.json -> 200
  2. For each download_url in it, confirm 200 anonymously.
  3. Clean install, launch FreeCAD, confirm all four workbenches deploy and none logs AutoSetup Error: Failed downloading workbench.

Why pinned tag URLs

releases/latest/download/<asset> returns 404 on this instance (Forgejo 13.0.5) — verified, not assumed. So the tag is explicit. Cutting a new bundle release therefore requires a manifest commit to bump the tag; this is deliberate, so an already-published manifest cannot silently change under an existing install.

Provenance

Each asset is the unmodified main archive of its source repo, which preserves the single root wrapper folder that InitGui.py::download_and_extract_wb() relies on (zip_ref.namelist()[0].split('/')[0]).

Not in scope

FreeCAD itself and the system dependencies (blueCFD-Core-2024, Gmsh, ParaView, ODAFileConverter) are not distributed by this release — they are staged separately by assemble_build.py.

Closes #3 ## What changed `manifest.json` — four `download_url` values repointed from the private `cgg` archives to the public release assets on **v1.0.0**. ```diff - "https://git.comfac-it.net/api/v1/repos/cgg/Comfac-MEP_Tools/archive/main.zip" + "https://git.comfac-it.net/comfac-dist/ComfacCAD/releases/download/v1.0.0/Comfac-MEP_Tools.zip" ``` (and the same for `Comfac-Archi_Tools`, `Comfac-2D`, `Comfac-cadassets`) The four source repositories in `cgg` **remain private**. Only the built archives are published, on the release created at `comfac-dist/ComfacCAD` tag `v1.0.0`. ## How to test 1. Anonymously (no CITFJ account) fetch the manifest: `curl -s -o /dev/null -w '%{http_code}' https://git.comfac-it.net/comfac-dist/ComfacCAD/raw/branch/main/manifest.json` -> `200` 2. For each `download_url` in it, confirm `200` anonymously. 3. Clean install, launch FreeCAD, confirm all four workbenches deploy and none logs `AutoSetup Error: Failed downloading workbench`. ## Why pinned tag URLs `releases/latest/download/<asset>` returns **404** on this instance (Forgejo 13.0.5) — verified, not assumed. So the tag is explicit. **Cutting a new bundle release therefore requires a manifest commit to bump the tag**; this is deliberate, so an already-published manifest cannot silently change under an existing install. ## Provenance Each asset is the unmodified `main` archive of its source repo, which preserves the single root wrapper folder that `InitGui.py::download_and_extract_wb()` relies on (`zip_ref.namelist()[0].split('/')[0]`). ## Not in scope FreeCAD itself and the system dependencies (blueCFD-Core-2024, Gmsh, ParaView, ODAFileConverter) are not distributed by this release — they are staged separately by `assemble_build.py`.
This pull request has changes conflicting with the target branch.
  • manifest.json
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin bugfix/3-manifest-public-release-urls:bugfix/3-manifest-public-release-urls
git switch bugfix/3-manifest-public-release-urls

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff bugfix/3-manifest-public-release-urls
git switch bugfix/3-manifest-public-release-urls
git rebase main
git switch main
git merge --ff-only bugfix/3-manifest-public-release-urls
git switch bugfix/3-manifest-public-release-urls
git rebase main
git switch main
git merge --no-ff bugfix/3-manifest-public-release-urls
git switch main
git merge --squash bugfix/3-manifest-public-release-urls
git switch main
git merge --ff-only bugfix/3-manifest-public-release-urls
git switch main
git merge bugfix/3-manifest-public-release-urls
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
comfac-dist/ComfacCAD!4
No description provided.