1 |
On 08/03/2010 03:03 PM, Peter Volkov wrote: |
2 |
> Hi. |
3 |
> |
4 |
> How should we version our packages in case we've backported upstream |
5 |
> patches from stable branch of development? |
6 |
|
7 |
PV reflects the status of upstream that we base the ebuild on (usually a |
8 |
release) and then we apply individual reviewed patches on top of that in |
9 |
Gentoo revisions. |
10 |
|
11 |
> Bug 330667 requests _p or |
12 |
> _pre. I feel that _p|_pre versions should be left for VCS (read |
13 |
> development) versions of the package, while during backports we have the |
14 |
> best version with all important upstream+gentoo fixes available to the |
15 |
> moment and I'd better avoid to call it development. |
16 |
> |
17 |
|
18 |
If you read the bug you will see that our python has essentially been |
19 |
development versions so _p is in line with what you say above. |
20 |
|
21 |
|
22 |
> If we decide to go with _p or _pre could we agree on answers for the |
23 |
> following questions: |
24 |
> - Does single patch from upstream's VCS justify _p$(date|rev) version? |
25 |
> What if this is _the only_ patch in the upstream's VCS? |
26 |
|
27 |
No if the patch is small and can be reasonably understood. If the patch |
28 |
for example switches the used build system and I would think _p is |
29 |
called for. |
30 |
|
31 |
> - Now what about two patches? Three? N? When does few patches became |
32 |
> pile? |
33 |
|
34 |
You should ask upstream to make a release when they start to pile up. |
35 |
|
36 |
> - What if I drop single patch from the upstream's patchset for stable |
37 |
> branch, should we drop _pre _p version and add -rN? |
38 |
|
39 |
_p reflects upstream situation so dropping a patch from that is a Gentoo |
40 |
modification there so it would be _p12323-r1. |
41 |
|
42 |
> - What if there are two dependent patches, and first one fixes |
43 |
> indentation? Should we spend time on backporting second patch (time |
44 |
> consuming and error prone process) or use both and live closer to |
45 |
> upstream? |
46 |
> |
47 |
|
48 |
I would leave this up to the maintainer. Depends on how much time |
49 |
backporting takes. |
50 |
|
51 |
Regards, |
52 |
Petteri |