Skip to content
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

Drop epatch command and rework eapply explanation #331

Merged
merged 4 commits into from Apr 22, 2024

Conversation

ulm
Copy link
Member

@ulm ulm commented Apr 21, 2024

Take 2, completely reworked (instead of #329 which was too simplistic).

Update references throughout.

Signed-off-by: Ulrich Müller <ulm@gentoo.org>
@ulm ulm requested review from mgorny and thesamesam April 21, 2024 10:03
Copy link
Member

@thesamesam thesamesam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once backup file is removed.

ebuild-writing/functions/src_prepare/eapply/text.xml~ Outdated Show resolved Hide resolved
ebuild-writing/functions/src_prepare/eapply/text.xml Outdated Show resolved Hide resolved
ebuild-writing/functions/src_prepare/eapply/text.xml Outdated Show resolved Hide resolved
ebuild-writing/functions/src_prepare/eapply/text.xml Outdated Show resolved Hide resolved
Comment on lines 96 to 112
PATCHES=(
"${FILESDIR}/${P}-destdir.patch"
"${FILESDIR}/${P}-parallel_build.patch"
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps add some example comments and upstream patch links, to make it clear that we really want people documenting why they apply patches, and where they get them from.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added a reference to the Patches chapter where all these things are explained. IMHO it doesn't make much sense to repeat it here.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, but let's add some example comments nevertheless, for good measure.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better now?

ebuild-writing/functions/src_prepare/eapply/text.xml Outdated Show resolved Hide resolved
Comment on lines 96 to 112
PATCHES=(
"${FILESDIR}/${P}-destdir.patch"
"${FILESDIR}/${P}-parallel_build.patch"
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, but let's add some example comments nevertheless, for good measure.

ulm added 3 commits April 22, 2024 13:55
Drop explanation of epatch. Rework the eapply sections and add
additional examples.

Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Copy link
Member

@mgorny mgorny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gentoo-bot gentoo-bot merged commit 5997a5c into gentoo:master Apr 22, 2024
1 check passed
@ulm ulm deleted the epatch-removal branch April 22, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants