one for diffing two relative paths within a pool (e.g., for comparing
snapshots), one for diffing two pools (e.g., for diffing mirror and
mirror on medium), and one for listing paths.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
that creates a new snapshot for each configured mirror, collecting the
results and printing a summary at the end. this should be suitable for
usage in a cron job or timer-triggered unit, with no output on stderr
for 100% OK execution runs.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
in dry-run mode, creating a snapshot will download (but not persist) the
Release files and any indices referenced within, but not download the
package files themselves. instead, any URLs that would still need to be
fetched are printed, and the statistics about to-be-fetched files and
bytes is updated accordingly.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
there are repositories out there that not only skip serving the
uncompressed version, but not even reference it in their Release
file(s).
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
requires proxmox-apt > 0.9.1, since earlier versions misdetect by-hash
support in the release file.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
these contain extra data that is not that important for the main
repository use case - providing deb packages.
if they are not retrievable (e.g., Ubuntu *only* provides some of they
via by-hash, which proxmox-offline-mirror doesn't yet support) a warning
should be enough, instead of failing the whole snapshot creation.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
if users want to use their offline medium via http in their internal
network.
nginx config is based off the one we use for download.proxmox.com.
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
print at least once every 30s to avoid no progress at all on small
mirrors that are part of a big pool.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
By rephasing certain parts and splitting long sentences into smaller
ones.
Also changing "licensing server" to "subscription server".
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
This patch contains the larger changes, such as splitting longer
sentences and rewording some parts.
The headline for "Reuse a Proxmox Repository for Offline Mirror Tool"
has been changed to "Set up the Repository on non Proxmox bases
systems". Sounds a bit nicer and we are in the Proxmox Offline Mirror
docs anyway.
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
switch from `Proxmox projects` to `Proxmox solutions`.
Add missing words, such as `the` and drop `also`s.
And other small changes that don't affect the actual content or meaning.
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
instead of having a .pool directory inside each mirror directory (both
on the mirror and medium side), instead
- specify a base directory for each mirror which can be shared
- create a .pool in this base directory
- create the mirror dir named after the mirror ID in this base directory
- adapt GC, wizard, .. accordingly
to re-use a shared pool on the medium side, hash the source mirror base
dir path to derive the destination pool .pool-XX directory name and
persist the resulting relative path in the medium state file.