Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159005 - app-portage/eix - request option for emerge-delta-webrsync
Summary: app-portage/eix - request option for emerge-delta-webrsync
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Martin Väth
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-24 01:45 UTC by Roberto Castagnola
Modified: 2006-12-25 00:12 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roberto Castagnola 2006-12-24 01:45:03 UTC
Can you add an option to eix to "use emerge-delta-webrsync" instead of "emerge --sync"?
Since it depend on app-portage/emerge-delta-webrsync, you can use a patch file that will be applied only if a useflag is used.
As 2nd choice you can add a commented line that will be uncommented using sed command if a useflag is used: suppose to call '-x' the option and 'delta' the useflag,
in eix-sync you can add

### x) EMERGECMD=("emerge-delta-webrsync");;

while in ebuild

if use delta; then
    sed -i 's,### ,    ,' eix-sync
fi
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-12-24 03:04:27 UTC
I suppose -x would be enough. Use flags are ot supposed to be used inflationary
Comment 2 Martin Väth 2006-12-24 05:01:51 UTC
In eix' current svn trunk flag -W is added to eix-sync for emerge-delta-webrsync (in order to be consistent with -w for emerge-webrsync).
In addition, more general flags -c -C are added which allow using any other command or additional options. Also a flag -M is added for "strange" local "emerge --sync" commands.
Comment 3 Martin Väth 2006-12-25 00:12:50 UTC
Change is in the Christmas release (0.8.4).