1 |
On 09/13/2016 02:57 PM, Michael Mair-Keimberger wrote: |
2 |
> |
3 |
> * Redirection: There are quite a few pages which aren't exactly offline, |
4 |
> but only forward the request to the current homepage. (like most |
5 |
> of the gentoo project pages). I haven't touch them yet, but i |
6 |
> would like to know if fixing them would be appreciated? |
7 |
|
8 |
Yes please. |
9 |
|
10 |
|
11 |
> * old ebuilds: It's often the case that if a homepage get's changed, |
12 |
> older versions of the ebuild still use the old homepage. While |
13 |
> it looks like portage/eix always show's the homepage of the |
14 |
> newest ebuild i would like to know if older versions should be |
15 |
> updated as well. Especially if only the homepage gets changed |
16 |
> which usually doesn't require a reversion bump. |
17 |
|
18 |
I would personally leave these alone, but if you want to fix them, go |
19 |
ahead. The HOMEPAGE is a weird variable, and belongs in metadata.xml |
20 |
instead. Users actually want to view it, and not on a per-ebuild basis, |
21 |
but on a per-package one. As a result, all existing package managers |
22 |
already do the obvious thing and show the newest HOMEPAGE, making the |
23 |
value in older ebuilds irrelevant. |
24 |
|
25 |
If the fix were important, you should do a revision bump, but due to the |
26 |
unusual nature of HOMEPAGE, the change isn't that important. |
27 |
|
28 |
|
29 |
> Patches: |
30 |
> * Wildcard patching: Usually i use my "patchtest" script for finding |
31 |
> obsolete patches and while it still finds lots of false |
32 |
> positives i also saw a rather odd patching style: Patching via |
33 |
> wildcards. For example: |
34 |
> epatch "${FILESDIR}"/${P}*.patch |
35 |
> I looks a bit unsafe to use wildcards for patching, but I |
36 |
> couldn't find anything which forbids it. Would be nice to know |
37 |
> if that is ok. |
38 |
|
39 |
Please file a bug and tell people not to do that. If they ever need to |
40 |
add a new patch, it would affect old stable ebuilds and violate our |
41 |
policy on the matter. |
42 |
|
43 |
It would be nice if we could add this check to repoman; however, some |
44 |
wildcard constructs are safe. For example, if we're pulling in a bunch |
45 |
of Debian patches in SRC_URI, it makes sense to apply them all. The |
46 |
SRC_URI is guaranteed not to change out from under us, unlike the |
47 |
contents of FILESDIR. |
48 |
|
49 |
|
50 |
> * scripts in FILESDIR: In some packages i found scripts which doesn't |
51 |
> get used by the ebuild, but is probably used for generating |
52 |
> patches/tarballs. Should i file a bugs about them as i though the |
53 |
> FILESDIR should be only used for patches. Wouldn't be |
54 |
> /etc/portage/scripts the perfect place for such scripts? |
55 |
|
56 |
|
57 |
If they're not used by the tree, they probably don't belong in the tree, |
58 |
but maybe I lack imagination. Can you give a few examples? |