View previous topic :: View next topic |
Author |
Message |
cvk Guru
Joined: 06 Jan 2003 Posts: 314 Location: Our house, in the middle of our street
|
Posted: Thu Aug 21, 2003 9:05 am Post subject: "What's new" Feature after rsyncing? |
|
|
I'd like to see a summary of new and updated packages after rsyncing. Are there any means to achieve this, and if not: What is missing?
Regards,
Chris _________________ Adopt an unanswered post now. |
|
Back to top |
|
|
Braempje l33t
Joined: 31 Jan 2003 Posts: 748
|
|
Back to top |
|
|
cvk Guru
Joined: 06 Jan 2003 Posts: 314 Location: Our house, in the middle of our street
|
Posted: Thu Aug 21, 2003 10:21 am Post subject: |
|
|
That's not exactly what I meant - I rather thought of something like this:
Code: |
Woohoo, I'm done rsyncing. Here's what I did:
dev-lib/darts [new version: 0.2] [not installed]
kde-base/arts [new version: 1.1.3] [installed: 1.1.2]
x11-wm/fluxbox [new version: 0.1.14-r1] [not installed]
media-sound/musik [new version: 0.1.2] [new in portage]
|
So it would be pretty much like "emerge -up world" including all packages that aren't installed.
Regards,
Chris _________________ Adopt an unanswered post now. |
|
Back to top |
|
|
Ben2040 Guru
Joined: 07 May 2003 Posts: 445 Location: UK
|
Posted: Thu Aug 21, 2003 12:17 pm Post subject: |
|
|
Hi
This would work well with a change to the emerge -u world command, in that first emerge did a sync if one had not been done for say, 24 hours. Then afterwards it displayed what was updated, and showed the list proposed by Chris. Kind of like every other emerge -u being normal, and then a seperate bit altogether if -u world was input.
Ben |
|
Back to top |
|
|
cvk Guru
Joined: 06 Jan 2003 Posts: 314 Location: Our house, in the middle of our street
|
Posted: Fri Aug 22, 2003 8:53 am Post subject: |
|
|
I don't know wether or not the package data is stored anywhere, but if there was any file where all packages and versions are listed, it would be quite simple to compare the pre-rsync (='old') and post-rsync (='new') versions of that file.
What exactly is stored in /usr/portage/metadata/cache? If it's a complete directory of all ebuilds, it could be quite easy to write out the differences when rebuilding the portage cache.
Another idea would be to parse the rsync logfile and get the info from it... I think I'll take a look at the sourcecode.
Regards,
Chris _________________ Adopt an unanswered post now. |
|
Back to top |
|
|
compu-tom Guru
Joined: 09 Jan 2003 Posts: 415 Location: Berlin, Germany
|
|
Back to top |
|
|
cvk Guru
Joined: 06 Jan 2003 Posts: 314 Location: Our house, in the middle of our street
|
Posted: Sat Aug 23, 2003 7:49 am Post subject: |
|
|
Ah great - thanks a lot. _________________ Adopt an unanswered post now. |
|
Back to top |
|
|
|