Skip to content

fix(scripts): stage prepared files byte for byte - #42

Merged
noctuum merged 1 commit into
mainfrom
fix/stage-exact-bytes
Oct 16, 2026
Merged

noctuum merged 1 commit into
mainfrom
fix/stage-exact-bytes

Conversation

@noctuum

@noctuum noctuum commented Oct 16, 2026

Copy link
Copy Markdown
Member

publish-pkg.sh staged the prepared PKGBUILD and .SRCINFO with git add, which passes them through the .gitattributes of the AUR repo. With PKGBUILD working-tree-encoding=UTF-7, a comment inside a checksum array such as # +AAo-)+AAo-echo PWNED+AAo-x=( passed the checks and was committed as the lines ), echo PWNED and x=(. An ident attribute turned $Id: ... $ into $Id$.

The two files now enter the index through git hash-object --no-filters and git update-index. aur_commit_push no longer runs git add, and update-pkg.sh stages the files itself before it calls it.

bats tests/ --recursive: 421 pass.

@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 eedb33f into main Oct 16, 2026
5 checks passed
@noctuum
noctuum deleted the fix/stage-exact-bytes branch October 16, 2026 22:40
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