Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 210575
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Portage team <dev-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Benedikt Böhm <hollow@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
doins.diff patch to remove recursive doins call patch Benedikt Böhm 2008-02-18 16:31 0000 990 bytes Details | Diff
doins.diff faster doins that should work with spaces patch Benedikt Böhm 2008-02-19 07:48 0000 1.44 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 210575 depends on: Show dependency tree
Bug 210575 blocks: 216231
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-02-18 10:59 0000
the current approach for doins -r is painfully slow and should be replaced with
cp -R, find|xargs cp, or something similar ...

------- Comment #1 From SpanKY 2008-02-18 14:53:38 0000 -------
propose a patch that actually works then ... your suggestions dont as subdirs
will break with find|xargs cp, and both will break by not respecting
$INSOPTIONS

------- Comment #2 From Benedikt Böhm 2008-02-18 16:31:09 0000 -------
Created an attachment (id=143885) [details]
patch to remove recursive doins call

this reduces `doins -r` time by about 6x on my machine

------- Comment #3 From Benedikt Böhm 2008-02-18 16:33:06 0000 -------
oops, it doesn't handle symlink recursivly, needs another for f in $(find ..)
..

------- Comment #4 From SpanKY 2008-02-18 23:46:58 0000 -------
i'm pretty sure that's broken with whitespace in the paths, but it's a good
first crack

------- Comment #5 From Bo Ørsted Andresen (RETIRED) 2008-02-18 23:51:08 0000 -------
(In reply to comment #4)
> i'm pretty sure that's broken with whitespace in the paths, [...]

It is. `for f in $(find -type f)` breaks it.

------- Comment #6 From Benedikt Böhm 2008-02-19 07:48:51 0000 -------
Created an attachment (id=143938) [details]
faster doins that should work with spaces

------- Comment #7 From SpanKY 2008-02-19 17:21:42 0000 -------
while you're in there, you should convert basename/dirname to the bash
equivalents

errors also need to be passed back up (from `install` and `cp`)

------- Comment #8 From Arfrever Frehtes Taifersar Arahesis 2008-03-20 18:03:04 0000 -------
Fixed in r9485 and released in sys-apps/portage-2.2_pre5.

This bug should be RESOLVED FIXED and block bug #210077.

------- Comment #9 From Marius Mauch (RETIRED) 2008-03-20 18:14:58 0000 -------
This is supposed to be fixed in portage-2.2_pre5 or earlier.

------- Comment #10 From Marius Mauch (RETIRED) 2008-03-20 18:15:44 0000 -------
This is supposed to be fixed in portage-2.2_pre5 or earlier.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug