Re: [gentoo-portage-dev] Custom eclass question

2005-10-10 Thread Marius Mauch

Mikey wrote:

On Sunday 09 October 2005 19:32, Marius Mauch wrote:


Well, ebuilds (and therefore eclasses) can't override anything related
to the fetch process (other than setting RESTRICT and/or SRC_URI). Your
problem has to be fixed server side (assuming you want a proper
solution), as portage *needs* the correct filename in SRC_URI for things
like md5 verification. So even if $FETCHCOMMAND would save your file
with the right name you would be in trouble.



I was wondering why pkg_fetch seemed to be the only function that cannot be 
localized in an ebuild...  Why is that?


Because fetching isn't done in the bash part, but in the python part of 
portage, and ebuild can only override things in the bash part ever. 
Fetching involves a lot more than just calling wget, take a look at 
fetch() in portage.py if you're interested.
Oh, and there are many more things that cannot be overridden, like dep 
calculation, merging, cleaning, ...


Marius
--
gentoo-portage-dev@gentoo.org mailing list



[gentoo-portage-dev] Changelogs

2005-10-10 Thread Paul de Vrieze

Hi guys,

Is there any particular reason that the changelog was dropped from recent 
portage versions. I'd like to have it to see what changed. Especially with 
release candidates that sometimes develop issues.

Paul

-- 
Paul de Vrieze
Gentoo Developer
Mail: [EMAIL PROTECTED]
Homepage: http://www.devrieze.net


pgpmwuEq3qrkA.pgp
Description: PGP signature


Re: [gentoo-portage-dev] Custom eclass question

2005-10-10 Thread Brian Harring
On Sun, Oct 09, 2005 at 06:52:24PM -0500, Mikey wrote:
 http://codeserver.wherever.net/pman/package_ids.php?action=packageid=10105
 
[snip bits about wget screwing up]

Others have already clarified that's it python side rather then bash 
so eclass is no go, but out of curiousity any got a good reason we 
can't modify FETCHCOMMAND to include FILE rather then just DISTDIR?

With wget, it's just -O.  Curl, piping probably (although haven't 
looked at their opts)...
~harring


pgpQJZHqJeJYn.pgp
Description: PGP signature


Re: [gentoo-portage-dev] Changelogs

2005-10-10 Thread Brian Harring
On Mon, Oct 10, 2005 at 08:35:03PM +0200, Paul de Vrieze wrote:
 
 Hi guys,
 
 Is there any particular reason that the changelog was dropped from recent 
 portage versions. I'd like to have it to see what changed. Especially with 
 release candidates that sometimes develop issues.
Intending on dumping the actual svn log messages, and mangling it into 
ChangeLog.  Been a bit hit or miss afaik for rc3, but that's the 
intention.

Easier for us; no duplication, the actual log message is sitting right 
in the vcs rather then as a change to a file in the vcs.  So... yah, 
it's not being killed off, just a change of how it's done.
~harring


pgpfNOMxY8Q1y.pgp
Description: PGP signature