gitfetch icon indicating copy to clipboard operation
gitfetch copied to clipboard

Homebrew formula sha256 key not up to date

Open joeliscoding opened this issue 1 year ago • 9 comments

It seems to me that your GitHub Actions script for the Matars/homebrew-gitfetch repo is not working properly at the moment, since I get this error when trying to update:

Error: gitfetch: SHA-256 mismatch
Expected: a4db93164c974401e757d65134f7eb1d2324e900bdb9260cc97a00897a7a4213
Actual: 47c09d31ccf2acf0be3f701ea53595ee7e0b8fa08801c6624be771df09ae7b43

I found this GitHub Actions script, made for automating the Homebrew formula update.

If you need help, you can also push your .github folder so I can take a look at it, or you can just tag me here :)

joeliscoding avatar Oct 23 '25 18:10 joeliscoding

@joeliscoding so sorry about this- this is actually my first project where I tried hosting on homebrew and AUR.

If you don't mind I would appreciate a PR for the workflow, if you're too busy no worries I will be working one the project late tomorrow.

Again, sorry for these repeating issues.

Matars avatar Oct 23 '25 19:10 Matars

@Matars No worries, I will give it a try. May I ask where you currently store your GitHub Actions script of the homebrew-gitfetch repo?

joeliscoding avatar Oct 23 '25 19:10 joeliscoding

@joeliscoding homebrew-gitfetch repo does not have .github/workflow folder, just the main gitfetch repo

On a new release it will will calculate the new sha256 and push to the homebrew-gitfetch repo.

Both repos are public under my profile.

Not sure if that fully answers your question.

I was talking to a friend about this and they suggested having the Forumla inside the main repo, however when I was reading the docs on homebrew and it was recommended to have a new repo with the homebrew- prefix.

Matars avatar Oct 23 '25 19:10 Matars

@joeliscoding the .github folder should already be pushed to this repo

Matars avatar Oct 23 '25 19:10 Matars

@Matars ohh, that makes sense. I was just confused.

joeliscoding avatar Oct 23 '25 19:10 joeliscoding

@Matars I'm not quite sure if you like this approach. Please read the PR and feel free to make suggestions for improvement.

joeliscoding avatar Oct 23 '25 22:10 joeliscoding

Could work, ill merge and test

Might make some tweaks after

probably wont

Matars avatar Oct 23 '25 22:10 Matars

Image

@joeliscoding I'll play around with it a bit

Matars avatar Oct 24 '25 00:10 Matars

@joeliscoding Fixed now,

Only issues where path related.

Thanks for help<3

Matars avatar Oct 24 '25 00:10 Matars