* [gentoo-dev] [RFC] [epatch_user] Proposal: add possibility to tolerable-fail for some patches (plus add groupping support)
@ 2014-06-15 9:06 99% Vadim A. Misbakh-Soloviov
0 siblings, 0 replies; 1+ results
From: Vadim A. Misbakh-Soloviov @ 2014-06-15 9:06 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1.1: Type: text/plain, Size: 5065 bytes --]
=2D-nextPart4345078.5UjSnvs4xp
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="utf-8"
My idea is to allow failing for some patches without breaking build at all. And, in parallel, to
add groupping.
How I imagine that:
etc/portage/patches/app-cat/<name>/
|
| - group_name/
| |
| |- 01_foo.patch
| |- 02_bar.patch
| |- <...>
|
|- 01_moo.patch
|- 99_meow.patch
Where every first-level piece (patch or group) in ```etc/portage/patches/app-cat/<name>/``` MAY
tolerably fail (not causing "die" for emerge), but if one of the patches inside the group fails, then
group MUST NOT be applied at all (and all previously applied patches from this group MUST be
reversed).
Any objections/approvals/suggestions?
=2D-nextPart4345078.5UjSnvs4xp
Content-Transfer-Encoding: 7Bit
Content-Type: text/html; charset="utf-8"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Droid Sans Mono for Powerline'; font-size:8pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">My idea is to allow failing for some patches without breaking build at all. And, in parallel, to add groupping.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">How I imagine that:</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">etc/portage/patches/app-cat/<name>/</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> |</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> | - group_name/</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> | |</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> | |- 01_foo.patch</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> | |- 02_bar.patch</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> | |- <...></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> |</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> |- 01_moo.patch</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> |- 99_meow.patch</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Where every first-level piece (patch or group) in ```etc/portage/patches/app-cat/<name>/``` MAY tolerably fail (not causing "die" for emerge), but if one of the patches inside the group fails, then group MUST NOT be applied at all (and all previously applied patches from this group MUST be reversed).</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Any objections/approvals/suggestions?</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p></body></html>
=2D-nextPart4345078.5UjSnvs4xp--
This is a multi-part message in MIME format.
[-- Attachment #1.2: Type: text/plain, Size: 675 bytes --]
My idea is to allow failing for some patches without breaking build at all. And, in parallel, to
add groupping.
How I imagine that:
etc/portage/patches/app-cat/<name>/
|
| - group_name/
| |
| |- 01_foo.patch
| |- 02_bar.patch
| |- <...>
|
|- 01_moo.patch
|- 99_meow.patch
Where every first-level piece (patch or group) in ```etc/portage/patches/app-cat/<name>/``` MAY
tolerably fail (not causing "die" for emerge), but if one of the patches inside the group fails, then
group MUST NOT be applied at all (and all previously applied patches from this group MUST be
reversed).
Any objections/approvals/suggestions?
[-- Attachment #1.3: Type: text/html, Size: 4099 bytes --]
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2014-06-15 9:06 99% [gentoo-dev] [RFC] [epatch_user] Proposal: add possibility to tolerable-fail for some patches (plus add groupping support) Vadim A. Misbakh-Soloviov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox