Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4084 - doins not recursive
Summary: doins not recursive
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: Highest enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 3277 15193
  Show dependency tree
 
Reported: 2002-06-24 00:04 UTC by Jacob Perkins
Modified: 2011-10-30 22:20 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
doins.diff (doins-recur,943 bytes, patch)
2003-07-30 17:07 UTC, SpanKY
Details | Diff
doins-recur.patch (doins-recur,1.04 KB, patch)
2003-07-30 17:59 UTC, SpanKY
Details | Diff
doins.patch (doins.patch,1.14 KB, patch)
2004-10-04 07:39 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Perkins 2002-06-24 00:04:47 UTC
the doins function in portage is not recursive.  I know I would appreciate if
there was a recursive function to copy directories.
Comment 1 Burton Samograd 2003-01-07 23:30:45 UTC
You can try the following to install all the files in a directory in your
src_install() function:

cd ${S}/<source directory>
insinto <destination directory>
doins `find -type f`

Those are back quotes (`) and not a normal quote (').  That should install all
of the files in the directory.  Take out the -type f part to install empty
directories as well.
Comment 2 SpanKY gentoo-dev 2003-07-30 16:23:22 UTC
the prob with that is that it'll clobber files of the same name and totally lose 
directory structure 
Comment 3 SpanKY gentoo-dev 2003-07-30 17:07:39 UTC
Created attachment 15253 [details, diff]
doins.diff

yeah baby here it is !
Comment 4 SpanKY gentoo-dev 2003-07-30 17:59:52 UTC
Created attachment 15256 [details, diff]
doins-recur.patch

this one makes recurision optional ...
this way we wont break previous ebuilds and we provide the option ... i know
sometimes i wanna do `dohtml` but not give it -r
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-10-10 08:20:27 UTC
please add this asap
Comment 6 Brian Harring (RETIRED) gentoo-dev 2004-04-08 19:48:36 UTC
Technically it's an enhancement, so changing the severity to reflect...
Comment 7 Bolke de Bruin 2004-09-26 14:09:27 UTC
this is a *very* old request and it is still not part of the base. Could this please be implemented.


Off-topic: I am running into some really old bugs, which are hampering progress imho. Maybe bugzilla could use some voting system a la mozilla? As it seems that developers are getting overwhelmed with the amount of bugs (that is my impression)
Comment 8 SpanKY gentoo-dev 2004-10-04 07:39:01 UTC
Created attachment 41071 [details, diff]
doins.patch

updated version to apply against cvs
Comment 9 Nicholas Jones (RETIRED) gentoo-dev 2004-10-22 08:47:52 UTC
Bug has been fixed and released in stable portages on or before 2.0.51-r2