falconindy / pkgbuild-introspection

Tools for generating .SRCINFO files and PKGBUILD data extraction
MIT License
39 stars 9 forks source link

Update package sums before verifying them. #18

Closed lots0logs closed 10 years ago

lots0logs commented 10 years ago

It would be great if the mkaurball command would take care of generating new pkgsums (even if just to call updpkgsums). I'm more than happy to submit a pull request if you are open to the idea. Cheers!

falconindy commented 10 years ago

I'd rather not do this. mkaurball is meant to be a stand-in for makepkg -S. In the Near Future™, mkaurball will go away, as I plan to move .SRCINFO generation to makepkg itself, obviating .AURINFO in the process.

So, I don't think this makes sense. Please, let's not turn a simple utility into a kitchen sink.

lots0logs commented 10 years ago

Adding a simple function that runs the updpkgsums command couldnt be farther from "the kitchen sink". There's no need to blow this out of proportion. IMO it would be much more "K.I.S.S"-like if this was included so that the user does not have to run two separate commands while updating AUR packages. Especially when it would only require two, maybe three new lines in the script? Anyway, that's of course just my opinion. I appreciate your quick response even though we don't agree :wink: