Skip to content

fix(scripts): accept dated names of SKIP sources - #39

Merged
noctuum merged 1 commit into
mainfrom
fix/nightly-source-names
Oct 16, 2026
Merged

noctuum merged 1 commit into
mainfrom
fix/nightly-source-names

Conversation

@noctuum

@noctuum noctuum commented Oct 16, 2026

Copy link
Copy Markdown
Member

neovim-nightly-bin saves its nightly download as "$_pkgname-$_date.tar.gz::<url>" with _date="$(date -u +%Y%m%d)", and its checksum is SKIP. Each update changes that name in .SRCINFO, so check_prepared_srcinfo refused it: neovim-20261016.tar.gz against neovim-20261014.tar.gz in the AUR copy. Reported in noctuum#170.

A source that is SKIP in every checksum array of its arch in the AUR copy may now change the digits in the part before ::. The URL after :: still must be the AUR URL with the version replaced, and a source with a hash keeps a strict name.

bats tests/ --recursive: 413 pass. The real AUR .SRCINFO of neovim-nightly-bin, with a new version and the date moved, passes check_prepared_srcinfo.

@codecov

codecov Bot commented Oct 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@noctuum
noctuum merged commit c1ec82b into main Oct 16, 2026
5 checks passed
@noctuum
noctuum deleted the fix/nightly-source-names branch October 16, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant