New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Documentation] Explain how to add patches #2583
Comments
Looks like my original comment didn't get submitted appropriately. Whoops! We should likely expose that habitat supports build time patching like other software build systems and perhaps link to the core plans that are utilizing that kind of patching behavior. I'd heartily suggest avoiding diving too deep into this because patching software will be completely dependent upon the type of software being built and those behaviors are not specific to habitat. |
Then i am a little bit curious, since i thought that i can simply reuse the patches of specific distributions in an easy way. So, this means easy patching like in PKGBUILDs will never be the case? Regarding to the closed issue. How that? Isnt patching something very essential in packaging? |
@ShalokShalom sure, you can re-use patches from anyone including other distributions. What @eeyun is suggesting is that applying patches to software isn't a direct concern of Habitat itself but instead of the patch tool itself. I don't mind if this makes it into some sort of "deep continued learning section" of our docs but we shouldn't try to recreate man pages for Patch itself ;) |
I really love to see a dedicated patch function in Habitat, which got refused in the past :P Thanks, i will close this. |
Here is a proposal:
_patch_files=(URL)
To do_download()
To do_verify()
And to do_prepare()
|
I reckon the docs could demonstrate at least the two patching patterns—patching with patches versioned with the plan and patching with patches retrieved from elsewhere at build time—shown in the plans linked to by @eeyun over on #2561 (😵 hard to follow all the issues opened about this). |
The proposal here is generic and lend by the bash version. |
Indeed. That is probably roughly what would get documented for an example of retrieving and applying patches at build time. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you. |
So far as I know, got Habitat proper patch support, a few months after this issue was raised. |
See also: #2561 (comment)
The text was updated successfully, but these errors were encountered: