From fbaa4e3a00e3124ec8ffd7d9b9dc6c85cdbf7e7d Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 15 Dec 2019 10:38:26 +0100 Subject: [PATCH] debmirror --- docs/index.rst | 1 + docs/public/debian/index.rst | 1 - docs/public/debian/mirror.rst | 57 --------------------------------- docs/public/debmirror/index.rst | 48 +++++++++++++++++++++++++++ 4 files changed, 49 insertions(+), 58 deletions(-) delete mode 100644 docs/public/debian/mirror.rst create mode 100644 docs/public/debmirror/index.rst diff --git a/docs/index.rst b/docs/index.rst index cc598b2..7a2584b 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -14,6 +14,7 @@ RTFD public/curl/index public/dd/index public/debian/index + public/debmirror/index public/debootstrap/index public/dns/index public/docker/index diff --git a/docs/public/debian/index.rst b/docs/public/debian/index.rst index 3222f4b..e10e813 100644 --- a/docs/public/debian/index.rst +++ b/docs/public/debian/index.rst @@ -3,7 +3,6 @@ debian .. toctree:: - mirror packages repositories system diff --git a/docs/public/debian/mirror.rst b/docs/public/debian/mirror.rst deleted file mode 100644 index ae543ef..0000000 --- a/docs/public/debian/mirror.rst +++ /dev/null @@ -1,57 +0,0 @@ -****** -Mirror -****** - -apt-mirror -========== - -.. todo:: syntax - -debmirror -========= - -traditional ------------ - -.. code:: shell - - debmirror \ - --source \ - --method="http" \ - --host="sous.domaine.tld" \ - --root="chemin/ressource" \ - --dist="stretch" \ - --section="main" \ - --keyring="/etc/apt/trusted.gpg" \ - --arch="amd64" \ - --check-gpg \ - --checksums \ - --diff="none" \ - --postcleanup \ - --progress \ - --rsync-extra="none" \ - --timeout=360000 \ - --verbose \ - "répertoire_miroirs/nom" \ - -debian only ------------ - -.. code:: shell - - --di-arch="arches" \ - --di-dist="stretch" \ - --i18n \ - --keyring="/usr/share/keyrings/debian-archive-keyring.gpg" \ - -violations ----------- - -.. code:: shell - - --no-source \ - --method="https" \ - --root="/" \ - --ignore-missing-release \ - --dist="nom,chemin/ressource" \ - --section="autre,1.2/main" \ diff --git a/docs/public/debmirror/index.rst b/docs/public/debmirror/index.rst new file mode 100644 index 0000000..3662d38 --- /dev/null +++ b/docs/public/debmirror/index.rst @@ -0,0 +1,48 @@ +debmirror +========= + +traditional +----------- + +.. code:: shell + + debmirror \ + --source \ + --method="http" \ + --host="sub.domain.tld" \ + --root="path/resource" \ + --dist="buster" \ + --section="main" \ + --keyring="/etc/apt/trusted.gpg" \ + --arch="amd64" \ + --check-gpg \ + --checksums \ + --diff="none" \ + --postcleanup \ + --progress \ + --rsync-extra="none" \ + --timeout=360000 \ + --verbose \ + "mirrors_directory/name" + +debian only +----------- + +.. code:: shell + + --di-arch="arches" \ + --di-dist="buster" \ + --i18n \ + --keyring="/usr/share/keyrings/debian-archive-keyring.gpg" \ + +violations +---------- + +.. code:: shell + + --no-source \ + --method="https" \ + --root="/" \ + --ignore-missing-release \ + --dist="name,path/resource" \ + --section="other,1.2/main" \