[eit] add "eit graph", "eit revgraph" man pages

This commit is contained in:
Fabio Erculiani
2011-11-19 18:01:45 +01:00
parent 6c39444d75
commit 4e7a895938
5 changed files with 162 additions and 2 deletions

View File

@@ -0,0 +1,67 @@
eit-graph(1)
============
:man source: eit {eitversion}
:man manual: eit {eitversion}
NAME
----
eit-graph - show dependency graph for packages
SYNOPSIS
--------
eit graph [-h] [--in <repository>] [--complete] [--quiet]
<package> [<package> ...]
INTRODUCTION
------------
Show direct dependency graph (printed as tree, actually) for given
package dependencies.
For a reverse dependency graph, please see *eit revgraph*.
OPTIONS
-------
"eit graph" supports the following options which alters its behaviour.
POSITIONAL ARGUMENTS
~~~~~~~~~~~~~~~~~~~~
*<package>*::
package name
OPTIONAL ARGUMENTS
~~~~~~~~~~~~~~~~~~
*--help*::
show this help message and exit
*--in*=<repository>::
search packages in given repository
*--complete*::
show system packages, build deps, circular deps
*-q*::
quiet output, for scripting purposes
AUTHORS
-------
Eit has been accidentally prototyped during a rainy Sunday by Fabio
Erculiani who was looking for innovative ways of handling package
bumps in Sabayon Entropy repositories.
A few months later, Eit saw the light.
REPORTING BUGS
--------------
Report bugs to https://bugs.sabayon.org or directly to the author at
lxnay@sabayon.org.
SEE ALSO
--------
eit(1), eit-revgraph(1)

View File

@@ -0,0 +1,67 @@
eit-revgraph(1)
===============
:man source: eit {eitversion}
:man manual: eit {eitversion}
NAME
----
eit-revgraph - show reverse dependency graph for packages
SYNOPSIS
--------
eit revgraph [-h] [--in <repository>] [--complete] [--quiet]
<package> [<package> ...]
INTRODUCTION
------------
Show reverse dependency graph (printed as tree, actually) for given
package dependencies.
For a direct dependency graph, please see *eit graph*.
OPTIONS
-------
"eit revgraph" supports the following options which alters its behaviour.
POSITIONAL ARGUMENTS
~~~~~~~~~~~~~~~~~~~~
*<package>*::
package name
OPTIONAL ARGUMENTS
~~~~~~~~~~~~~~~~~~
*--help*::
show this help message and exit
*--in*=<repository>::
search packages in given repository
*--complete*::
show system packages, build deps, circular deps
*-q*::
quiet output, for scripting purposes
AUTHORS
-------
Eit has been accidentally prototyped during a rainy Sunday by Fabio
Erculiani who was looking for innovative ways of handling package
bumps in Sabayon Entropy repositories.
A few months later, Eit saw the light.
REPORTING BUGS
--------------
Report bugs to https://bugs.sabayon.org or directly to the author at
lxnay@sabayon.org.
SEE ALSO
--------
eit(1), eit-graph(1)

View File

@@ -162,6 +162,6 @@ lxnay@sabayon.org.
SEE ALSO
--------
eit-add(1), eit-branch(1), eit-bump(1), eit-checkout(1), eit-cleanup(1)
eit-commit(1), eit-cp(1), eit-files(1), eit-log(1), eit-mv(1)
eit-notice(1), eit-own(1), eit-repack(1)
eit-commit(1), eit-cp(1), eit-files(1), eit-graph(1), eit-log(1)
eit-mv(1), eit-notice(1), eit-own(1), eit-repack(1), eit-revgraph(1)

View File

@@ -57,6 +57,19 @@ class EitGraph(EitCommand):
return parser
INTRODUCTION = """\
Show direct dependency graph (printed as tree, actually) for given
package dependencies.
For a reverse dependency graph, please see *eit revgraph*.
"""
SEE_ALSO = "eit-revgraph(1)"
def man(self):
"""
Overridden from EitCommand.
"""
return self._man()
def parse(self):
parser = self._get_parser()
try:

View File

@@ -58,6 +58,19 @@ class EitRevgraph(EitCommand):
return parser
INTRODUCTION = """\
Show reverse dependency graph (printed as tree, actually) for given
package dependencies.
For a direct dependency graph, please see *eit graph*.
"""
SEE_ALSO = "eit-graph(1)"
def man(self):
"""
Overridden from EitCommand.
"""
return self._man()
def parse(self):
""" Overridden from EitCommand """
parser = self._get_parser()