Repository navigation
Fix packaging drift: secfoo-com references, version check, link checker (#120 items 2, 3) - #158
Conversation
… and link checks - install.sh, install.ps1, Dockerfile, release.yml, README, docs and the GitLab example referenced rakfortltd/secfoo, which returns 404. They now use secfoo-com/secfoo; the npm scope stays @rakfortltd (a published name) and docs/REFERENCE.md says so. - __about__.py 0.3.0 -> 0.3.1 to match the v0.3.1 tag and PyPI; docs state releases are cut from this repository. - CI: scripts/check_pypi_version.py fails when __about__.py is behind PyPI; lychee checks links in README.md and docs/. - tests/test_docs_consistency.py guards against the old org references.
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
- Pin lycheeverse/lychee-action to the v2.9.0 commit like every other action here, pass GITHUB_TOKEN so github.com links are not rate limited, and do not persist checkout credentials. - The old-org guard read every file under the checkout; on main it now crashes on the invalid-UTF-8 fuzz reproducers, and a local .venv/build/dist would give false hits. It now scans git ls-files, skipping fuzz/corpus and tests/fixtures. - check_pypi_version orders dev/a/b/rc/post releases per PEP 440, so a 0.3.1.dev0 no longer counts as level with 0.3.1. - main is ahead of the v0.3.1 tag, so it carries 0.3.2.dev0 rather than claiming to be the released 0.3.1; documented in REFERENCE.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Thanks again @RiccardoBifulco, two in one day! This closes out #120. I checked the key premise: the public I pushed one commit to your branch with these fixes:
Full suite passes locally (1834 passed). Merging once CI is green. |
Leaderboard update
RiccardoBifulco now has 6 points (rank #8). 19 more to reach Bronze. |
Fixes #120
Items 1, 4 and 5 are already merged (#156, #157, #151). This PR covers the rest:
Item 3: org references.
rakfortltd/secfooreturns 404 today, soinstall.shandinstall.ps1could not download anything. They, the Dockerfile comment,release.yml(GHCR tags), README,docs/CI.md,docs/REFERENCE.md, the GitLab example and the npmrepository/homepageURLs now point atsecfoo-com/secfoo. The npm scope@rakfortltdis a package name, not a URL, so I left it and said so indocs/REFERENCE.md. I could not confirm anonymously thatghcr.io/secfoo-com/secfooexists; the next release run publishes it.Item 2: version.
__about__.pyis bumped to 0.3.1 to match thev0.3.1tag and PyPI.docs/REFERENCE.mdnow says releases and tags are cut from this repository. Newscripts/check_pypi_version.pyfails the newdocsCI job when__about__.pyis behind PyPI.Link checker. The
docsjob also runs lychee overREADME.mdanddocs/. It skips ghcr.io and npmjs.com (they reject anonymous crawlers). I could not run lychee locally, so its first CI run is the real test.Tests.
tests/test_docs_consistency.pyfails if the old org URLs or image come back.Local:
pytest testspasses (with mermaid vendored, as in CI), andruff checkis clean on the new files.