[eit] add man page for "eit cp", "eit log", "eit mv"
This commit is contained in:
64
server/doc/mansrc/eit-cp.1.txt
Normal file
64
server/doc/mansrc/eit-cp.1.txt
Normal file
@@ -0,0 +1,64 @@
|
||||
eit-cp(1)
|
||||
=========
|
||||
:man source: eit {eitversion}
|
||||
:man manual: eit {eitversion}
|
||||
|
||||
|
||||
NAME
|
||||
----
|
||||
eit-cp - copy packages from a repository to another
|
||||
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
eit cp [-h] [--deps] <source> <dest> <package> [<package> ...]
|
||||
|
||||
|
||||
INTRODUCTION
|
||||
------------
|
||||
Copy packages from source repository to destination repository.
|
||||
|
||||
|
||||
|
||||
OPTIONS
|
||||
-------
|
||||
"eit cp" supports the following options which alters its behaviour.
|
||||
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
*<source>*::
|
||||
source repository
|
||||
|
||||
*<dest>*::
|
||||
destination repository
|
||||
|
||||
*<package>*::
|
||||
package dependency
|
||||
|
||||
OPTIONAL ARGUMENTS
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
*--help*::
|
||||
show this help message and exit
|
||||
|
||||
*--deps*::
|
||||
include dependencies
|
||||
|
||||
|
||||
|
||||
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-mv(1)
|
||||
56
server/doc/mansrc/eit-log.1.txt
Normal file
56
server/doc/mansrc/eit-log.1.txt
Normal file
@@ -0,0 +1,56 @@
|
||||
eit-log(1)
|
||||
==========
|
||||
:man source: eit {eitversion}
|
||||
:man manual: eit {eitversion}
|
||||
|
||||
|
||||
NAME
|
||||
----
|
||||
eit-log - show log for repository
|
||||
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
eit log [-h] [<repo>]
|
||||
|
||||
|
||||
INTRODUCTION
|
||||
------------
|
||||
Show log for given repository (if any, otherwise the current working one).
|
||||
This commands opens repository ChangeLog.bz2 using *bzless*.
|
||||
|
||||
|
||||
|
||||
OPTIONS
|
||||
-------
|
||||
"eit log" supports the following options which alters its behaviour.
|
||||
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
*<repo>*::
|
||||
repository
|
||||
|
||||
OPTIONAL ARGUMENTS
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
*--help*::
|
||||
show this help message and exit
|
||||
|
||||
|
||||
|
||||
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)
|
||||
66
server/doc/mansrc/eit-mv.1.txt
Normal file
66
server/doc/mansrc/eit-mv.1.txt
Normal file
@@ -0,0 +1,66 @@
|
||||
eit-mv(1)
|
||||
=========
|
||||
:man source: eit {eitversion}
|
||||
:man manual: eit {eitversion}
|
||||
|
||||
|
||||
NAME
|
||||
----
|
||||
eit-mv - move packages from a repository to another
|
||||
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
eit mv [-h] [--deps] <source> <dest> [<package> [<package> ...]]
|
||||
|
||||
|
||||
INTRODUCTION
|
||||
------------
|
||||
Move packages from source repository to destination repository.
|
||||
The operation is transactional, first package is copied to destination,
|
||||
then is removed from source.
|
||||
|
||||
|
||||
|
||||
OPTIONS
|
||||
-------
|
||||
"eit mv" supports the following options which alters its behaviour.
|
||||
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
*<source>*::
|
||||
source repository
|
||||
|
||||
*<dest>*::
|
||||
destination repository
|
||||
|
||||
*<package>*::
|
||||
package names (all if none)
|
||||
|
||||
OPTIONAL ARGUMENTS
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
*--help*::
|
||||
show this help message and exit
|
||||
|
||||
*--deps*::
|
||||
include dependencies
|
||||
|
||||
|
||||
|
||||
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-cp(1)
|
||||
@@ -162,5 +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-notice(1), eit-repack(1)
|
||||
eit-commit(1), eit-cp(1), eit-log(1), eit-mv(1), eit-notice(1)
|
||||
eit-repack(1)
|
||||
|
||||
|
||||
@@ -95,6 +95,17 @@ class EitCp(EitCommand):
|
||||
sys.stdout.write(" ".join(outcome) + "\n")
|
||||
sys.stdout.flush()
|
||||
|
||||
INTRODUCTION = """\
|
||||
Copy packages from source repository to destination repository.
|
||||
"""
|
||||
SEE_ALSO = "eit-mv(1)"
|
||||
|
||||
def man(self):
|
||||
"""
|
||||
Overridden from EitCommand.
|
||||
"""
|
||||
return self._man()
|
||||
|
||||
def parse(self):
|
||||
""" Overridden from EitCp """
|
||||
parser = self._get_parser()
|
||||
|
||||
@@ -42,6 +42,17 @@ class EitLog(EitCommand):
|
||||
|
||||
return parser
|
||||
|
||||
INTRODUCTION = """\
|
||||
Show log for given repository (if any, otherwise the current working one).
|
||||
This commands opens repository ChangeLog.bz2 using *bzless*.
|
||||
"""
|
||||
|
||||
def man(self):
|
||||
"""
|
||||
Overridden from EitCommand.
|
||||
"""
|
||||
return self._man()
|
||||
|
||||
def parse(self):
|
||||
parser = self._get_parser()
|
||||
try:
|
||||
@@ -64,9 +75,7 @@ class EitLog(EitCommand):
|
||||
importance=1, level="error")
|
||||
return 1
|
||||
|
||||
proc = subprocess.Popen(
|
||||
"/bin/bzcat \"%s\" | ${PAGER:-/usr/bin/less}" % (
|
||||
changelog_path,), shell = True)
|
||||
proc = subprocess.Popen(["/bin/bzless", changelog_path])
|
||||
return proc.wait()
|
||||
|
||||
|
||||
|
||||
@@ -49,6 +49,19 @@ class EitMv(EitCp):
|
||||
|
||||
return parser
|
||||
|
||||
INTRODUCTION = """\
|
||||
Move packages from source repository to destination repository.
|
||||
The operation is transactional, first package is copied to destination,
|
||||
then is removed from source.
|
||||
"""
|
||||
SEE_ALSO = "eit-cp(1)"
|
||||
|
||||
def man(self):
|
||||
"""
|
||||
Overridden from EitCommand.
|
||||
"""
|
||||
return self._man()
|
||||
|
||||
def parse(self):
|
||||
parser = self._get_parser()
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user