[elbe-devel] [PATCH] Add manpage for prjrepo commands

Manuel Traut manuel.traut at linutronix.de
Tue Jun 13 19:10:45 CEST 2017


applied to devel/elbe-2.0 - thx!

> Signed-off-by: Philipp Arras <philipp.arras at linutronix.de>
> ---
>  docs/elbe-prjrepo.txt | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 74 insertions(+)
>  create mode 100644 docs/elbe-prjrepo.txt
> 
> diff --git a/docs/elbe-prjrepo.txt b/docs/elbe-prjrepo.txt
> new file mode 100644
> index 0000000..db37034
> --- /dev/null
> +++ b/docs/elbe-prjrepo.txt
> @@ -0,0 +1,74 @@
> +elbe-prjrepo(1)
> +===============
> +
> +NAME
> +----
> +elbe-prjrepo - Provides access to the Debian repositories in each project folder.
> +
> +
> +SYNOPSIS
> +--------
> +[verse]
> +'elbe prjrepo download' <project_dir>
> +'elbe prjrepo upload_pkg' <project_dir> [<debfile> | <dscfile>]
> +'elbe prjrepo list_packages' <project_dir>
> +
> +DESCRIPTION
> +-----------
> +
> +Whenever ELBE pbuilder builds a Debian package, it is added to a local Debian
> +repository which is located in the project folder inside the initvm. Packages in
> +this repository can then be installed into a root file system. The
> +`elbe-prjrepo` command allows the user to interact with this repository,
> +i.e. list, upload and download packages.
> +
> +OPTIONS
> +-------
> +
> +--user <username>::
> +	Username to use for login (defaults to root).
> +
> +--pass <password>::
> +	Password for login (defaults to 'foo').
> +
> +--retries <N>::
> +	How many times to retry the connection to the server before giving up
> +	(default is 10 times, yielding 10 seconds).
> +
> +COMMANDS
> +--------
> +
> +'download' <project_dir>::
> +
> +Downloads the Debian repository of the project located in <project_dir> to the
> +host machine.
> +
> +
> +'upload_pkg' <project_dir> [<debfile> | <dscfile>]::
> +
> +Loads a Debian package into the Debian repository of an existing Elbe project in
> +the initvm. Both binary and source packages are supported. In order to upload a
> +source package you need to specify the dsc-file in the command as shown above.
> +The actual source files which are required for the source package need to be
> +located in the same directory as the dsc-file.
> +
> +
> +'list_packages' <project_dir>::
> +
> +Lists all packages available in the Debian repository of the project.
> +
> +
> +Example
> +-------
> +
> +* List the packages available in the project 38599ce2-4cad-4578-bfe1-06fa793b883a:
> ++
> +------------
> +$ elbe prjrepo list_packages "/var/cache/elbe/38599ce2-4cad-4578-bfe1-06fa793b883a"
> +------------
> +
> +
> +
> +ELBE
> +----
> +Part of the linkgit:elbe[1] suite
> -- 
> 2.1.4
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel




More information about the elbe-devel mailing list