]> git.proxmox.com Git - proxmox-offline-mirror.git/log
proxmox-offline-mirror.git
19 months agofix #4259: mirror: add ignore-errors option
Fabian Grünbichler [Fri, 23 Sep 2022 10:33:51 +0000 (12:33 +0200)]
fix #4259: mirror: add ignore-errors option

to make fetching errors from broken repositories non-fatal.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
19 months agobump version to 0.4.0-1
Thomas Lamprecht [Fri, 16 Sep 2022 12:26:02 +0000 (14:26 +0200)]
bump version to 0.4.0-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
19 months agocli: add `mirror snapshot create-all` command
Fabian Grünbichler [Fri, 16 Sep 2022 10:35:35 +0000 (12:35 +0200)]
cli: add `mirror snapshot create-all` command

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>
19 months agocli: extract subscription key helper
Fabian Grünbichler [Fri, 16 Sep 2022 10:35:34 +0000 (12:35 +0200)]
cli: extract subscription key helper

for re-use in the (not-yet-created) create-all command.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
19 months agomirror: add --dry-run parameter
Fabian Grünbichler [Fri, 16 Sep 2022 10:35:33 +0000 (12:35 +0200)]
mirror: add --dry-run parameter

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>
19 months agocargo: bump proxmox-apt dependency to 0.9.2
Thomas Lamprecht [Fri, 16 Sep 2022 12:20:37 +0000 (14:20 +0200)]
cargo: bump proxmox-apt dependency to 0.9.2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
19 months agomirror: handle indices which are only available compressed
Fabian Grünbichler [Thu, 15 Sep 2022 14:36:15 +0000 (16:36 +0200)]
mirror: handle indices which are only available compressed

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>
19 months agomirror: use new architecture helper
Fabian Grünbichler [Thu, 15 Sep 2022 13:09:18 +0000 (15:09 +0200)]
mirror: use new architecture helper

in order to avoid having a list of arch-specific references on two
places.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
19 months agomirror: support acquiring indices by hash
Fabian Grünbichler [Thu, 15 Sep 2022 13:09:16 +0000 (15:09 +0200)]
mirror: support acquiring indices by hash

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>
19 months agomirror: skip failed, non Packages references
Fabian Grünbichler [Thu, 15 Sep 2022 13:09:14 +0000 (15:09 +0200)]
mirror: skip failed, non Packages references

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>
19 months agomirror: use xz multi decoder
Fabian Grünbichler [Thu, 15 Sep 2022 13:09:12 +0000 (15:09 +0200)]
mirror: use xz multi decoder

Ubuntu's Packages.xz files require it, because they contain multiple
streams.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
19 months agodocs: expand/structure using medium section
Thomas Lamprecht [Thu, 15 Sep 2022 12:11:54 +0000 (14:11 +0200)]
docs: expand/structure using medium section

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
19 months agobuildsys: clean: remove all $(PACKAGE)-*/ directories
Thomas Lamprecht [Thu, 15 Sep 2022 09:39:00 +0000 (11:39 +0200)]
buildsys: clean: remove all $(PACKAGE)-*/ directories

to ensure we also get the old, left over ones on a new version bump

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
19 months agobuildsys: add lintian-overrides for shipped javascript libraries
Thomas Lamprecht [Thu, 15 Sep 2022 09:37:47 +0000 (11:37 +0200)]
buildsys: add lintian-overrides for shipped javascript libraries

albei we may want to really reuse the system ones..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
19 months agod/control: fix line length of helper description
Thomas Lamprecht [Thu, 15 Sep 2022 09:29:25 +0000 (11:29 +0200)]
d/control: fix line length of helper description

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
19 months agobuildsys: pass all relevant debs to linitan
Thomas Lamprecht [Thu, 15 Sep 2022 09:18:47 +0000 (11:18 +0200)]
buildsys: pass all relevant debs to linitan

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
19 months agodocs: offline keys: add info about minimum product version that got activation support
Thomas Lamprecht [Thu, 15 Sep 2022 09:05:35 +0000 (11:05 +0200)]
docs: offline keys: add info about minimum product version that got activation support

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
19 months agod/control: fix font build-dependencies for docs
Thomas Lamprecht [Thu, 15 Sep 2022 08:25:17 +0000 (10:25 +0200)]
d/control: fix font build-dependencies for docs

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agodocs: offline media: fix source text width to 100cc
Thomas Lamprecht [Mon, 12 Sep 2022 08:33:48 +0000 (10:33 +0200)]
docs: offline media: fix source text width to 100cc

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agodocs: add minimal sample nginx config
Stoiko Ivanov [Fri, 9 Sep 2022 15:45:06 +0000 (17:45 +0200)]
docs: add minimal sample nginx config

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>
20 months agobuild: track docs build-dependencies
Fabian Grünbichler [Fri, 9 Sep 2022 12:48:18 +0000 (14:48 +0200)]
build: track docs build-dependencies

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agodocs: fix too-short title underline
Fabian Grünbichler [Fri, 9 Sep 2022 12:14:17 +0000 (14:14 +0200)]
docs: fix too-short title underline

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agobump version to 0.3.0-1
Fabian Grünbichler [Fri, 9 Sep 2022 11:54:59 +0000 (13:54 +0200)]
bump version to 0.3.0-1

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agodocs: correct CLI titles
Fabian Grünbichler [Fri, 9 Sep 2022 12:09:57 +0000 (14:09 +0200)]
docs: correct CLI titles

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agorename proxmox-apt-repo to proxmox-offline-mirror-helper
Fabian Grünbichler [Fri, 9 Sep 2022 11:26:40 +0000 (13:26 +0200)]
rename proxmox-apt-repo to proxmox-offline-mirror-helper

and move it into its own package

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agopool sync: improve progress report
Fabian Grünbichler [Fri, 9 Sep 2022 11:58:34 +0000 (13:58 +0200)]
pool sync: improve progress report

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>
20 months agodocs: add snapshot term
Fabian Grünbichler [Fri, 9 Sep 2022 11:18:19 +0000 (13:18 +0200)]
docs: add snapshot term

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agodocs: adapt to pool/mirror changes
Fabian Grünbichler [Fri, 9 Sep 2022 11:18:08 +0000 (13:18 +0200)]
docs: adapt to pool/mirror changes

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agodocs: intro: avoid office@ mail address for sales related questions
Thomas Lamprecht [Fri, 9 Sep 2022 11:32:04 +0000 (13:32 +0200)]
docs: intro: avoid office@ mail address for sales related questions

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agodocs: offline-media: improve read- and understandability
Aaron Lauterer [Fri, 9 Sep 2022 10:28:38 +0000 (12:28 +0200)]
docs: offline-media: improve read- and understandability

by rephrasing parts to be easier to read or adding more context.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
20 months agodocs: offline-keys: improve read- and understandabilty
Aaron Lauterer [Fri, 9 Sep 2022 10:28:37 +0000 (12:28 +0200)]
docs: offline-keys: improve read- and understandabilty

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>
20 months agodocs: installation: improve read- and understandabilty
Aaron Lauterer [Fri, 9 Sep 2022 10:28:36 +0000 (12:28 +0200)]
docs: installation: improve read- and understandabilty

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>
20 months agodocs: installation: fix typos, and other small changes
Aaron Lauterer [Fri, 9 Sep 2022 10:28:35 +0000 (12:28 +0200)]
docs: installation: fix typos, and other small changes

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>
20 months agodocs: introduction: rewrite for better readability
Aaron Lauterer [Fri, 9 Sep 2022 10:28:34 +0000 (12:28 +0200)]
docs: introduction: rewrite for better readability

splitting long sentences, rephrasing and extending some parts

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
20 months agodocs: introduction: fix typos and missing words
Aaron Lauterer [Fri, 9 Sep 2022 10:28:33 +0000 (12:28 +0200)]
docs: introduction: fix typos and missing words

adding `the` in a few places, dropping `also`s as they are almost always
just filler words.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
20 months agoadd .gitignore
Thomas Lamprecht [Fri, 9 Sep 2022 10:38:08 +0000 (12:38 +0200)]
add .gitignore

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agopool: remove double quoting
Fabian Grünbichler [Fri, 9 Sep 2022 09:53:50 +0000 (11:53 +0200)]
pool: remove double quoting

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agorework pool handling
Fabian Grünbichler [Fri, 9 Sep 2022 09:00:03 +0000 (11:00 +0200)]
rework pool handling

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.

20 months agopool: allow pool re-use
Fabian Grünbichler [Fri, 9 Sep 2022 08:04:49 +0000 (10:04 +0200)]
pool: allow pool re-use

and improve the naming of the two dirs.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agoclippy fix
Fabian Grünbichler [Fri, 9 Sep 2022 08:04:07 +0000 (10:04 +0200)]
clippy fix

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agofix typos in command invocation
Stoiko Ivanov [Thu, 8 Sep 2022 13:46:54 +0000 (15:46 +0200)]
fix typos in command invocation

noted while blindly pasting the output after setting up my first
mirror.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
20 months agobuildsys: dinstall target: install doc instead of lib package
Thomas Lamprecht [Thu, 8 Sep 2022 13:50:40 +0000 (15:50 +0200)]
buildsys: dinstall target: install doc instead of lib package

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agod/rules: avoid compressing pdf files
Thomas Lamprecht [Thu, 8 Sep 2022 12:17:39 +0000 (14:17 +0200)]
d/rules: avoid compressing pdf files

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agobump version to 0.2.0-1
Thomas Lamprecht [Thu, 8 Sep 2022 11:56:17 +0000 (13:56 +0200)]
bump version to 0.2.0-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agod/rules: ensure DEB_VERSION and DEB_VERSION_UPSTREAM are available for docs
Thomas Lamprecht [Thu, 8 Sep 2022 12:11:50 +0000 (14:11 +0200)]
d/rules: ensure DEB_VERSION and DEB_VERSION_UPSTREAM are available for docs

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agodocs: drop non-existing APT ref
Thomas Lamprecht [Thu, 8 Sep 2022 12:05:32 +0000 (14:05 +0200)]
docs: drop non-existing APT ref

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agobuildsys: also upload to pbs-client repo
Thomas Lamprecht [Thu, 8 Sep 2022 11:56:53 +0000 (13:56 +0200)]
buildsys: also upload to pbs-client repo

it has the smallest impact if added to a plain, vanilla Debian
installation (e.g., no newer ifupdown or smartmontools package
getting pulled in automatically)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agodocs: mirror: mention auto-debian-base selection as tip
Thomas Lamprecht [Thu, 8 Sep 2022 11:56:09 +0000 (13:56 +0200)]
docs: mirror: mention auto-debian-base selection as tip

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agodocs: intro: reference config file switch/env variable directly
Thomas Lamprecht [Thu, 8 Sep 2022 11:39:48 +0000 (13:39 +0200)]
docs: intro: reference config file switch/env variable directly

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agodocs: ship config manpage as proxmox-offline-mirror.cfg.5
Thomas Lamprecht [Thu, 8 Sep 2022 11:36:49 +0000 (13:36 +0200)]
docs: ship config manpage as proxmox-offline-mirror.cfg.5

as `mirror.cfg.5` is rather overly generic

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agosetup: clarify that a *new* medium ID is queried
Thomas Lamprecht [Thu, 8 Sep 2022 11:24:59 +0000 (13:24 +0200)]
setup: clarify that a *new* medium ID is queried

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agosetup: avoid duplicated medium ID query loop
Thomas Lamprecht [Thu, 8 Sep 2022 11:24:43 +0000 (13:24 +0200)]
setup: avoid duplicated medium ID query loop

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agowizard: query base path
Fabian Grünbichler [Thu, 8 Sep 2022 11:23:30 +0000 (13:23 +0200)]
wizard: query base path

and derive the rest using the ID, and ignore already existing
directories.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agoallow overriding config file path via env
Fabian Grünbichler [Thu, 8 Sep 2022 11:16:32 +0000 (13:16 +0200)]
allow overriding config file path via env

by setting PROXMOX_OFFLINE_MIRROR_CONFIG

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agodocs: intro: add terminology heading
Thomas Lamprecht [Thu, 8 Sep 2022 11:04:17 +0000 (13:04 +0200)]
docs: intro: add terminology heading

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agodocs: add installation chapter
Thomas Lamprecht [Thu, 8 Sep 2022 10:34:50 +0000 (12:34 +0200)]
docs: add installation chapter

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agodocs: add intro to offline mirrors and media chapters
Thomas Lamprecht [Thu, 8 Sep 2022 10:10:58 +0000 (12:10 +0200)]
docs: add intro to offline mirrors and media chapters

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agodocs: restructur/expand offline key chapter
Thomas Lamprecht [Thu, 8 Sep 2022 10:09:15 +0000 (12:09 +0200)]
docs: restructur/expand offline key chapter

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agowizard: add option to (de)select all mirrors
Fabian Grünbichler [Thu, 8 Sep 2022 11:04:03 +0000 (13:04 +0200)]
wizard: add option to (de)select all mirrors

else it gets a bit repetitive for the common case.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agowizard: add --config parameter
Fabian Grünbichler [Thu, 8 Sep 2022 10:54:42 +0000 (12:54 +0200)]
wizard: add --config parameter

instead of prompting for the file path.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agocargo fmt
Fabian Grünbichler [Thu, 8 Sep 2022 10:48:06 +0000 (12:48 +0200)]
cargo fmt

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agowizard: optionally auto-add Debian mirrors
Fabian Grünbichler [Thu, 8 Sep 2022 10:47:20 +0000 (12:47 +0200)]
wizard: optionally auto-add Debian mirrors

when adding a Proxmox product mirror.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agowizard: extract debian release/variant/.. handling
Fabian Grünbichler [Thu, 8 Sep 2022 09:57:04 +0000 (11:57 +0200)]
wizard: extract debian release/variant/.. handling

for re-use when adding a Proxmox product.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agowizard: re-order distros
Fabian Grünbichler [Thu, 8 Sep 2022 09:53:46 +0000 (11:53 +0200)]
wizard: re-order distros

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agomedium: implement `remove .. --remove-data`
Fabian Grünbichler [Thu, 8 Sep 2022 09:53:24 +0000 (11:53 +0200)]
medium: implement `remove .. --remove-data`

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agodocs: mirror: fix --dir in command example
Thomas Lamprecht [Thu, 8 Sep 2022 09:46:00 +0000 (11:46 +0200)]
docs: mirror: fix --dir in command example

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agosubscription: use "-" for POM product URL
Thomas Lamprecht [Thu, 8 Sep 2022 09:44:07 +0000 (11:44 +0200)]
subscription: use "-" for POM product URL

it isn't displayed anywhere currently anyway, so more future proofing

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agoapt repo: offline key: support PMG
Thomas Lamprecht [Thu, 8 Sep 2022 09:43:46 +0000 (11:43 +0200)]
apt repo: offline key: support PMG

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agodocs: split out chapters into different files
Thomas Lamprecht [Thu, 8 Sep 2022 07:44:35 +0000 (09:44 +0200)]
docs: split out chapters into different files

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agokeys: improve refresh behaviour
Fabian Grünbichler [Thu, 8 Sep 2022 08:14:27 +0000 (10:14 +0200)]
keys: improve refresh behaviour

refresh mirror key(s) before looking for a valid one to use for offline key
refreshing, and disentagle these two parts of "refreshing keys".

also, refreshing is no longer async since dropping hyper, so drop the
async/await-s accordingly.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agoadd some more comments
Fabian Grünbichler [Thu, 8 Sep 2022 07:36:03 +0000 (09:36 +0200)]
add some more comments

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agokeys: add 'show' command
Fabian Grünbichler [Thu, 8 Sep 2022 07:35:25 +0000 (09:35 +0200)]
keys: add 'show' command

to display full info that is available about a given key.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agokeys: extend list return value
Fabian Grünbichler [Thu, 8 Sep 2022 07:34:41 +0000 (09:34 +0200)]
keys: extend list return value

by decoding the contained subscription info and doing some rough checks.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agodocs: extend, reformat and various small fixes
Thomas Lamprecht [Thu, 8 Sep 2022 06:30:12 +0000 (08:30 +0200)]
docs: extend, reformat and various small fixes

Fix some left overs from copying this over from PBS, note how to
acquire such a key by contacting sales@proxmox.com, add a paragraph
with some description about what this tool(ing) actually does to the
introduction section, ...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agodocs: fix title case and heading markers
Thomas Lamprecht [Thu, 8 Sep 2022 06:29:39 +0000 (08:29 +0200)]
docs: fix title case and heading markers

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agodocs pdf: avoid extra blank page on section/chapter boundary
Thomas Lamprecht [Thu, 8 Sep 2022 06:27:52 +0000 (08:27 +0200)]
docs pdf: avoid extra blank page on section/chapter boundary

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agod/control: add break/depends for doc split
Thomas Lamprecht [Wed, 7 Sep 2022 14:21:34 +0000 (16:21 +0200)]
d/control: add break/depends for doc split

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agobuildsys: fix d/control in build dir, ensuring docs package build
Thomas Lamprecht [Wed, 7 Sep 2022 14:07:22 +0000 (16:07 +0200)]
buildsys: fix d/control in build dir, ensuring docs package build

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agod/control: update
Thomas Lamprecht [Wed, 7 Sep 2022 13:44:28 +0000 (15:44 +0200)]
d/control: update

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
20 months agowizard: remove meaningless actions
Fabian Grünbichler [Wed, 7 Sep 2022 13:21:14 +0000 (15:21 +0200)]
wizard: remove meaningless actions

adding a medium without any mirrors defined doesn't make sense, and
offering add/remove when there is nothing to add/remove doesn't either.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agowizard: ask for medium ID up front
Fabian Grünbichler [Wed, 7 Sep 2022 13:21:00 +0000 (15:21 +0200)]
wizard: ask for medium ID up front

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agokeys: improve output on add/refresh
Fabian Grünbichler [Wed, 7 Sep 2022 12:12:27 +0000 (14:12 +0200)]
keys: improve output on add/refresh

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agoswitch to production signing key
Fabian Grünbichler [Wed, 7 Sep 2022 12:00:48 +0000 (14:00 +0200)]
switch to production signing key

shipped by proxmox-archive-keyring

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agopackaging: split docs into -docs package
Fabian Grünbichler [Wed, 7 Sep 2022 09:31:51 +0000 (11:31 +0200)]
packaging: split docs into -docs package

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agocargo fmt
Fabian Grünbichler [Thu, 4 Aug 2022 13:24:56 +0000 (15:24 +0200)]
cargo fmt

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agomirror: use max_size everywhere
Fabian Grünbichler [Thu, 4 Aug 2022 13:22:37 +0000 (15:22 +0200)]
mirror: use max_size everywhere

with generous limits for the (In)Release files, and using the reference
sizes from authenticated files from then on to prevent a malicious MITM
from DOSing the mirroring client via memory exhaustion.

20 months agoupdate dependencies to get rid of hyper
Fabian Grünbichler [Thu, 4 Aug 2022 13:00:39 +0000 (15:00 +0200)]
update dependencies to get rid of hyper

proxmox-http to 0.7, proxmox-router to 1.3 and proxmox-subscription to
0.3.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agobump version to 0.1.0-1
Fabian Grünbichler [Tue, 6 Sep 2022 07:54:17 +0000 (09:54 +0200)]
bump version to 0.1.0-1

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agobump proxmox-apt to 0.9.1
Fabian Grünbichler [Tue, 6 Sep 2022 10:03:58 +0000 (12:03 +0200)]
bump proxmox-apt to 0.9.1

for more resilient Release file parsing

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agoclippy fixes
Fabian Grünbichler [Fri, 29 Jul 2022 12:22:26 +0000 (14:22 +0200)]
clippy fixes

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agoupdate to proxmox-sys 0.4
Fabian Grünbichler [Fri, 29 Jul 2022 12:22:18 +0000 (14:22 +0200)]
update to proxmox-sys 0.4

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agodocs: make help top-level header
Fabian Grünbichler [Fri, 22 Jul 2022 10:22:22 +0000 (12:22 +0200)]
docs: make help top-level header

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agodocs: expand, improve formatting
Fabian Grünbichler [Fri, 22 Jul 2022 09:34:56 +0000 (11:34 +0200)]
docs: expand, improve formatting

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agodocs: document key handling
Fabian Grünbichler [Fri, 22 Jul 2022 09:07:20 +0000 (11:07 +0200)]
docs: document key handling

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agoremove accidentally committed pycache
Fabian Grünbichler [Fri, 22 Jul 2022 09:07:07 +0000 (11:07 +0200)]
remove accidentally committed pycache

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agod/rules: drop docgen, add fail-missing
Fabian Grünbichler [Fri, 22 Jul 2022 08:30:16 +0000 (10:30 +0200)]
d/rules: drop docgen, add fail-missing

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agoadd bash completion
Fabian Grünbichler [Fri, 22 Jul 2022 07:31:23 +0000 (09:31 +0200)]
add bash completion

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agoupdate d/control
Fabian Grünbichler [Thu, 21 Jul 2022 15:16:25 +0000 (17:16 +0200)]
update d/control

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agoadd docs
Fabian Grünbichler [Thu, 21 Jul 2022 13:56:38 +0000 (15:56 +0200)]
add docs

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agoadd remaining missing renames
Fabian Grünbichler [Thu, 21 Jul 2022 13:56:57 +0000 (15:56 +0200)]
add remaining missing renames

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>