diff --git a/TODO b/TODO index 502e369..8ec7b56 100644 --- a/TODO +++ b/TODO @@ -6,7 +6,6 @@ * добавить пример debian package * добавить slackbuild * добавить ebuild -* добавить man page * добавить методики работы с https://packagecloud.io/ и сервисами подобными им (без автоиндекса) Факультативное задание :) diff --git a/docs/rrclone.1 b/docs/rrclone.1 new file mode 100644 index 0000000..2578246 --- /dev/null +++ b/docs/rrclone.1 @@ -0,0 +1,41 @@ +.TH "RRCLONE" "1" "5 December 2019" +.SH "NAME" +rrclone \- RPM Repository Cloning tool +.SH "SYNOPSIS" +.B rrclone +[\fI\,OPTION\/\fR]... +SOURCE +DESTINATION +.SH "DESCRIPTION" +.PP +Copies all packages and metadata from remote repository to local folder. +To guess package list it parses metadata. For now only XML metadata is supported. +.SH "OPTIONS" +.TP +\fB\-\-help\fR +show brief help message +.TP +\fB\-\-version\fR +show version +.TP +\fB\-\-verbose\fR +more verbose output +.TP +\fB\-\-noclean\fR +do not clean packages that are missing in metadata +.TP +\fBSOURCE\fR +is http(s) url that does not include repodata part. +For example if full (index) metadata path is http://server/repo/Packages/repodata/repomd.xml +then SOURCE will be http://server/repo/Packages/ with trailing slash. +.TP +\fBDESTINATION\fR +full path to local directory, for example /var/www/repository/ with triling slash. +.SH "AUTHOR" +.TP +Sergei Fedosoff aka eleksir +.SH "COPYRIGHT" +Copyright © 2018 Sergei Fedosoff. License 2 clause BSD: +https://directory.fsf.org/wiki?title=License:FreeBSD +.SH "SEE ALSO" +.B rpm (1).