Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
portage, gentoolkit* functionality request
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Wed Nov 07, 2012 9:08 am    Post subject: portage, gentoolkit* functionality request Reply with quote

Hi guys,

would it be possible to implement a command to display the current emerge-queue ?

now I'm looking at it via emerge -p --resume but that itself already takes time

and calculates the dependency-graph again


I don't know if portage stores the current list in a file but reading that file out (with the current ebuilds to be emerged) would be more practical right ? :)

if I'm missing anything and that functionality is already provided via a separate package - mea culpa - kindly refer to its name then


Many thanks in advance for an answer
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
augury
l33t
l33t


Joined: 22 May 2004
Posts: 722
Location: philadelphia

PostPosted: Wed Nov 07, 2012 11:37 pm    Post subject: Reply with quote

man emerge wrote:
--resume(-r)
Resumes the most recent merge list that has been aborted due to an error. This re-uses the options that were given with the original command that's being resumed, and the user may also provide additional options when calling --resume. Please note that this operation will only return an error on failure. If there is nothing for portage to do, then portage will exit with a message and a success condition. A resume list will persist until it has been completed in entirety or until another aborted merge list replaces it. The resume history is capable of storing two merge lists. After one resume list completes, it is possible to invoke --resume once again in order to resume an older list.


It looks like it is possible. I am thinking maybe the --pretend command initiates and terminates the emerge itself. It would be either necessary to:
1. copy the logic from the --resume into the --pretend functionality.
2. create a autonomous --resume -p functionality.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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