[debpool] Re: Subversion repository up

Magnus Holmgren holmgren at lysator.liu.se
Tue Apr 10 14:05:33 UTC 2007


On Tuesday 10 April 2007 15:19, Magnus Holmgren wrote:
> Weird, I did it right in my patch to http://bugs.debian.org/350503, but
> then I for some reason told myself that Tree_Mkdir() created directories
> recursively, which it doesn't. The question is: should it, or should I call
> it twice in Install_Package()?

I think it should, for the purpose of allowing more flexibility in the pool 
structure. pool/section/p/package is the standard, but no requirement. If you 
merely have a couple of dozen source packages then pool/section/package will 
suffice, and not everyone needs or cares about subdividing the pool by 
section (e.g. if you aren't selling CDs or if you only have "main").

I can't see any reason that DebPool::Dirs::PoolDir() shouldn't include the 
final component (nominally the package name) in the return value. Can you? 
All invocations have the package name joined to the end of the return value, 
like so:

  join('/', PoolDir($pkg_name, $section), $pkg_name)

-- 
Magnus Holmgren        holmgren at lysator.liu.se
                       (No Cc of list mail needed, thanks)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debpool-devel/attachments/20070410/491cfd72/attachment.pgp


More information about the Debpool-devel mailing list