falconindy / pkgbuild-introspection

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

Feature Request: Support for passing --skipinteg to makepkg #19

Closed Firef0x closed 10 years ago

Firef0x commented 10 years ago

Hello, @falconindy !

Thanks for your contribution first. :kiss: You really did a great job! :100: :exclamation: To my surprise :astonished: , someone just makes the issue https://github.com/falconindy/pkgbuild-introspection/issues/18 . As I have an opposite requirement. That is: skip any integrity checks in packaging source tarball. :package:

Since there is an option in the manpage of makepkg: :book:

--skipinteg
           Do not perform any integrity checks (checksum and PGP) on source files.

Why I need this?

Assuming that I am managing to package a software that has a very large file, such as 0ad-data :horse: , or has many many files, such as ttf-ms-win8 :ab: . When I finished writing PKGBUILD :pencil2: , I must have updated the checksum of the source files :heavy_check_mark: , and I have no reason to modify any source files between finishing PKGBUILD and packaging the source tarball. :no_good:

That means, I don't need to verify the checksums which are generated a while ago. For most of the software, verifing lasts less than a second, it's bearable :bear: ; for the case I mentioned above, verifing lasts more than a minute, so long that I'm in a trance. :sweat:

If I know that I've updated the checksums a while ago :clock1: , why couldn't I choose to skip the integrity checks when packaging the source tarball? :question: :confounded:

I hope that mkaurball could support for passing --skipinteg to makepkg. It could be an option, use -i or -s as mnemonic name. :octocat:

Is it worth a shot? :confused:

Hope for your reply! :joy:

Yours sincerely :bow:

kyrias commented 10 years ago

Honest question, are you literally doing all you can to make your text as unreadable as possible? Because it does feel that way.

falconindy commented 10 years ago

I reject your logic as to why this feature should exist. What you're describing is purely laziness -- a trait which is ill-suited for a packager.

However, there are valid reasons for this option to exist. They can be summarily described as: repackaging/redistributing the software would be a violation of the licensing agreement. I don't have a good feel for how many packages this affects, but you've already mentioned one of them: ttf-ms-win8.

dffaafeab0796 implements a superset of your request. Please, in the future, focus on the text and not the emoji.

Firef0x commented 10 years ago

Thank you very much, @falconindy ! By the way, I still don't understand the meaning of the following sentence:

Because in a vote between yellow and shoe, it was more or less a tie.

Is it a proverb, a saying or an aphorism? (for I'm still learning English and may not understand some complicated sentences)

falconindy commented 10 years ago

It doesn't mean anything at all.