From 27863a1dd4f069b0a77143858d283536161ea63c Mon Sep 17 00:00:00 2001 From: eleksir Date: Sat, 5 Jan 2019 03:10:39 +0300 Subject: [PATCH] Added clarification about SOURCE url and random fixes to README.md --HG-- branch : docs --- README.md | 15 ++++++++++++--- TODO | 1 - 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e478e04..e1a042e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # RPM Repositories Cloning tool -1 to 1 rpm cloning tool +1 to 1 rpm repository cloning tool ## Getting Started @@ -21,10 +21,19 @@ in case of Slackware Linux everything is already shipped with single Perl package. ``` -apt install libjson-pp-perl, libfile-spec-perl, libxml-parser-perl, -libio-compress-perl, liburi-perl +# apt install libjson-pp-perl libfile-spec-perl libxml-parser-perl \ +libio-compress-perl liburi-perl ``` +A correct path to repository. You need a string after "baseurl=" in repo-file +(one that located in /etc/yum.repos.d, for example), it must end with trailng +slash. If it does not, just add it. + +To check that url is correct you can try to download part of repository xml +metadata. Put your string into browser address bar and add +"repodata/repomd.xml" (no quotes) and if you see xml text then - vua-la! - +your string is correct. + ### Installing There are no additional effort required for one-shot sync. diff --git a/TODO b/TODO index 8ec7b56..dd1b540 100644 --- a/TODO +++ b/TODO @@ -6,7 +6,6 @@ * добавить пример debian package * добавить slackbuild * добавить ebuild -* добавить методики работы с https://packagecloud.io/ и сервисами подобными им (без автоиндекса) Факультативное задание :) * добавить возможность клонирования deb-репозиториев