Categories are evil

Rainer Müller raimue at macports.org
Wed Aug 22 09:11:55 PDT 2007


Vincent Lefevre wrote:
> On 2007-08-22 11:06:33 -0400, Daniel J. Luke wrote:
>> On Aug 22, 2007, at 10:57 AM, Vincent Lefevre wrote:
>>> But that should be easier to find where a port is located
>> easier than 'port dir portname' ?
> 
> 'port dir portname' only lists the first directory (when a port is
> present in several sources).

That's good, otherwise we wouldn't be able to do something like
cd $(port dir foo)

And that's also the port used if you type a command with this portname.

>>> (and the primary category could be changed more easily if need be).
>> How often does this really happen? (and svn mv isn't really that hard 
>> anyway).
> 
> There are drawbacks with some commands when one wants to look at
> the history before the port was moved.
> 

What kind of drawbacks? Even if you did a svn mv in r42 and request an
earlier revision 23 via http://.../foo/Portfile@23 subversion fetches it
from the old location. That's the advantage of svn mv over pure mv.

Rainer



More information about the macports-dev mailing list