Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5623 - emerge rsync helper utility for gentoolkit
Summary: emerge rsync helper utility for gentoolkit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-26 18:22 UTC by Marko Mikulicic
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

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


Attachments
emerge-rsync shell script (emerge-rsync,1015 bytes, text/plain)
2002-07-26 18:23 UTC, Marko Mikulicic
Details
man page (emerge-rsync.1,663 bytes, text/plain)
2002-07-26 18:23 UTC, Marko Mikulicic
Details
a bit more robust (emerge-rsync,1.09 KB, text/plain)
2002-07-28 19:37 UTC, Marko Mikulicic
Details
frontend for webrsync (emerge-rsync,1.26 KB, text/plain)
2002-11-03 14:42 UTC, Marko Mikulicic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Mikulicic 2002-07-26 18:22:06 UTC
the emerge-rsync script lists new and removed ebuilds after
doing an emerge rsync.

I hope it can be added to gentoolkit
Comment 1 Marko Mikulicic 2002-07-26 18:23:16 UTC
Created attachment 2616 [details]
emerge-rsync shell script
Comment 2 Marko Mikulicic 2002-07-26 18:23:30 UTC
Created attachment 2617 [details]
man page
Comment 3 Marko Mikulicic 2002-07-28 19:37:53 UTC
Created attachment 2651 [details]
a bit more robust
Comment 4 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-07-28 19:40:48 UTC
The first version did not work; it didn't do any reporting after running emerge
rsync. I'll have to wait until a few new ebuilds have appeared in the tree
before I test the newer one.
Comment 5 Marko Mikulicic 2002-07-28 19:48:06 UTC
You can delete a directory, say rm -rf /usr/portage/app-text/acroread,
and then start the script emerge-rsync.
 I guarantee you that it works. I use it for every rsync and it
regulary informs me when new packages arrive. 
 There are some issues when new directories appear in "profiles"
since it cannot find the description. The last attachment
fixes the output and displays a warning message.
 I will implement a more complete filtering in the next release,
but for now I prefer to keep it simple.
Comment 6 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-08-07 20:59:23 UTC
Found a bug:

x11-themes/gtk-engines-cleanice: Cleanice theme engine for GTK+
./emerge-rsync: inherit: command not found


Apparently, emerge-rsync does not support eclasses. We need to have that fixed 
before we include it.
Comment 7 Marko Mikulicic 2002-08-09 07:32:33 UTC
what ares the commands that have to be escaped ?

I found:

inherit
need-kde

Are there other?

I imagine future eclasses will add more functions.
I could fix that redefining "inherit" and "need-kde" to empty functions,
but I think a more general parsing of ebuild will be needed in the future.
Comment 8 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-08-12 08:14:00 UTC
I think those are it for now. Also, I've been looking around the gentoolkit dir,
and found emerge-webrsync. Can we merge those two into one tool ? That is, add
the  possibility of syncing over web to your emerge-rsync tool ? 
Comment 9 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-11-03 08:05:09 UTC
Still alive on this one ? Any chance you could have a peek at emerge-webrsync
and combine it with your rsync script ? I really think emerge-webrsync would
benefit from it.

If you're still around on this one, please reopen the bug with
questions/comments/requests.
Comment 10 Marko Mikulicic 2002-11-03 14:39:59 UTC
I'm still here :-)

I think that the two scrips do quite different things and I'd like to keep them
separate. However I propose a "cooperation".
 I've modified my "emerge-rsync" so that it can use "emerge-webrsync" as 'backend',
instead of "emerge rsync".

For now I have put the configuration at the beginning of the script, but of course
this should go in /etc/conf.d/emerge-rsync
Comment 11 Marko Mikulicic 2002-11-03 14:42:19 UTC
Created attachment 5354 [details]
frontend for webrsync
Comment 12 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-11-11 11:01:37 UTC
I've added this to gentoolkit's CVS repository. It'll show up in the next
release of Gentoolkit, probably later this month. Thanks for you contribution.

Even though it's not yet in Portage, I'm closing it, because it's on its way.