Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 47442

Summary: etc-update: Support mv_opts for -5 auto-merge
Product: Portage Development Reporter: Doug Weimer <dougw>
Component: ToolsAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: enhancement CC: tools-portage
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 181949, 187293    
Attachments: Removes -i rather than all mv_opts

Description Doug Weimer 2004-04-10 10:51:21 UTC
A small change that allows mv options such as -b to be used when selecting a -5 auto-merge.
Comment 1 Doug Weimer 2004-04-10 10:54:03 UTC
Created attachment 29036 [details, diff]
Removes -i rather than all mv_opts

This patch is against /usr/sbin/etc-update from portage-2.0.50-r3. It makes the
following change:

- export mv_opts=""
+ export mv_opts=${mv_opts//-i/};
Comment 2 SpanKY gentoo-dev 2004-04-11 19:30:06 UTC
better patch:
export mv_opts=" ${mv_opts} "
mv_opts="${mv_opts// -i }"
Comment 3 Doug Weimer 2004-04-12 06:02:29 UTC
It's probably due to a misunderstanding of the changes, but I can't see the improvement. The new version seems to produce the following for various mv_opts settings:

1. "-i"                              -> ""
2. "-b -i" or "-i -b"                -> extra leading or trailing whitespace
3. "--backup=existing -i --suffix=^" -> mv failure
Comment 4 SpanKY gentoo-dev 2004-04-12 11:52:46 UTC
correct patch:
export mv_opts=" ${mv_opts} "
mv_opts="${mv_opts// -i / }"
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2005-07-28 07:24:35 UTC
Putting a hold on feature requests for portage as they are drowning out the 
bugs. Most of these features should be available in the next major version of 
portage. But for the time being, they are just drowning out the major bugs and 
delaying the next version's progress. 
 
Any bugs that contain patches and any bugs for etc-update or dispatch-conf can 
be reopened. Sorry, I'm just not good enough with bugzilla. ;) 
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 12:45:44 UTC
Reopening for consideration
Comment 7 Zac Medico gentoo-dev 2007-06-09 05:27:40 UTC
This has been released in 2.1.2.10.