Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"What's new" Feature after rsyncing?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
cvk
Guru
Guru


Joined: 06 Jan 2003
Posts: 314
Location: Our house, in the middle of our street

PostPosted: Thu Aug 21, 2003 9:05 am    Post subject: "What's new" Feature after rsyncing? Reply with quote

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
View user's profile Send private message
Braempje
l33t
l33t


Joined: 31 Jan 2003
Posts: 748

PostPosted: Thu Aug 21, 2003 9:27 am    Post subject: Reply with quote

Code:
emerge -upD world

_________________
Dictionary of the Flemish Sign Language - Woordenboek Vlaamse Gebarentaal
Back to top
View user's profile Send private message
cvk
Guru
Guru


Joined: 06 Jan 2003
Posts: 314
Location: Our house, in the middle of our street

PostPosted: Thu Aug 21, 2003 10:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Ben2040
Guru
Guru


Joined: 07 May 2003
Posts: 445
Location: UK

PostPosted: Thu Aug 21, 2003 12:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
cvk
Guru
Guru


Joined: 06 Jan 2003
Posts: 314
Location: Our house, in the middle of our street

PostPosted: Fri Aug 22, 2003 8:53 am    Post subject: Reply with quote

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
View user's profile Send private message
compu-tom
Guru
Guru


Joined: 09 Jan 2003
Posts: 415
Location: Berlin, Germany

PostPosted: Fri Aug 22, 2003 7:18 pm    Post subject: Reply with quote

Take a look at this:
https://forums.gentoo.org/viewtopic.php?t=54933

It works great for me :)
Back to top
View user's profile Send private message
cvk
Guru
Guru


Joined: 06 Jan 2003
Posts: 314
Location: Our house, in the middle of our street

PostPosted: Sat Aug 23, 2003 7:49 am    Post subject: Reply with quote

Ah great - thanks a lot. :D
_________________
Adopt an unanswered post now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum