1 |
On Mon, Jan 25, 2016 at 10:45 AM, Martin Vaeth <martin@×××××.de> wrote: |
2 |
|
3 |
> Mike Gilbert <floppym@g.o> wrote: |
4 |
> > On Mon, Jan 25, 2016 at 11:31 AM, Luis Ressel <aranea@×××××.de> wrote: |
5 |
> >> |
6 |
> >> I might be asking this for a second time, but why does repoman download |
7 |
> >> the metadata.dtd at all? If one fetches from |
8 |
> >> git://../gentoo-mirror/gentoo (or via rsync, afaik) it is included |
9 |
> >> in /usr/portage/metadata/dtd/. |
10 |
> > |
11 |
> > repoman is a developer tool. The git repo used by developers does not |
12 |
> > include metadata.dtd. |
13 |
> |
14 |
> repoman is useful for everybody who manages a local |
15 |
> or public repository. I guess only a small number |
16 |
> of these people use the developers' git repo. |
17 |
> (For instance, I am one of these...) |
18 |
> |
19 |
> It would be nice if repoman would first check whether |
20 |
> the file is in some ${repo}/metadata/dtd/ |
21 |
> and download to DISTDIR only as a fallback. |
22 |
> Or if it can be at least configured (e.g. with an option) |
23 |
> to check for this file (maybe the path can be configured, too) |
24 |
> before downloading metadata.dtd. |
25 |
> |
26 |
> In fact, I was so annoyed by the forced downloading |
27 |
> (which as mentioned is a permission/security issue) |
28 |
> that I regularly apply a patch to portage which sets |
29 |
> the download interval to (almost) infinity. |
30 |
> Perhaps I am not the only one who did such a hack. |
31 |
> |
32 |
> |
33 |
> |
34 |
|
35 |
So submit a patch to portage? |
36 |
|
37 |
-A |