Changes

Jump to: navigation, search

Package:Ego

2,632 bytes added, 2 years ago
Added query versions documentation
{{c|ego}} is a meta-tool that works similarly to eselect. Typing {{c|ego}} will show a list of available commands. Some of the benefits of ego over eselect are that ego modules can be implemented in any language. In addition, the ego architecture is designed so that the modules are themselves stand-alone commands, which allows you to access these sub-commands using shortcuts. For example, {{c|epro}} is a shortcut for {{c|ego profile}}.
=== Ego Modules ===
{{TableStart}}
{{3Col|'''type'''|'''sub-command'''|'''description'''}}
{{3Col|profile|{{c|epro}}|Profile management -- see [[Funtoo Profiles]] for usage information}}
{{3Col|doc|{{c|edoc}}|Display wiki documentation}}
{{3Col|query|-|Query information about packages}}
{{3Col|sync|-|Synchronize Portage tree}}
{{TableEnd}}
 
=== Query module ===
 
{{c|ego query}} module is a tool to display information about packages. Bellow are described the various available commands.
 
==== Versions ====
 
The {{c|versions}} (shortcut: {{c|v}}) command, lists all available versions matching a given atom. For each version, it also shows its slot and repository (along with git branch if any).
 
<console>
$##i## ego query versions python
dev-lang/python| slot| repo
----------------+---------+---------------------
##c##2.7.12##!c##| ##y##2.7##!y##| ##bl##python-kit##!bl##/##g##3.6-prime
##b##* ##c##2.7.13##!c####!b##| | ##bl##python-kit##!bl##/##g##3.6-prime
----------------+---------+---------------------
##c##3.4.5##!c##| ##y##3.4/3.4m##!y##| ##bl##python-kit##!bl##/##g##3.6-prime
##c##3.4.6##!c##| | ##bl##python-kit##!bl##/##g##3.6-prime
----------------+---------+---------------------
##b##* ##c##3.5.3##!c####!b##| ##y##3.5/3.5m##!y##| ##bl##python-kit##!bl##/##g##3.6-prime
----------------+---------+---------------------
##b##* ##c##3.6.1-r1##!c####!b##| ##y##3.6/3.6m##!y##| ##bl##python-kit##!bl##/##g##3.6-prime
 
$##i## ego query versions '=python-3*'
dev-lang/python| slot| repo
----------------+---------+---------------------
##c##3.4.5##!c##| ##y##3.4/3.4m##!y##| ##bl##python-kit##!bl##/##g##3.6-prime
##c##3.4.6##!c##| | ##bl##python-kit##!bl##/##g##3.6-prime
----------------+---------+---------------------
##b##* ##c##3.5.3##!c####!b##| ##y##3.5/3.5m##!y##| ##bl##python-kit##!bl##/##g##3.6-prime
----------------+---------+---------------------
##b##* ##c##3.6.1-r1##!c####!b##| ##y##3.6/3.6m##!y##| ##bl##python-kit##!bl##/##g##3.6-prime
 
$##i## ego query v dev-lang/python:3.5
dev-lang/python| slot| repo
----------------+---------+---------------------
##b##* ##c##3.5.3##!c####!b##| ##y##3.5/3.5m##!y##| ##bl##python-kit##!bl##/##g##3.6-prime
 
$##i## ego query v coffee-script
dev-lang/coffee-script| slot| repo
-----------------------+-----+---------------
##c##1.9.3-r1##!c##| ##y##0##!y##| ##bl##dev-kit##!bl##/##g##master
##b##* ##c##1.12.5##!c####!b##| | ##bl##dev-kit##!bl##/##g##master
 
dev-ruby/coffee-script| slot| repo
-----------------------+-----+---------------
##c##2.4.1##!c##| ##y##0##!y##| ##bl##dev-kit##!bl##/##g##master
 
Installed versions are bold and marked with a star ({{c|*}}).
</console>
{{EbuildFooter}}
wiki-staff
336
edits

Navigation menu