]> git.proxmox.com Git - pve-manager.git/commit
expand repoid to 16 chars and avoid querying git for it twice
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 29 May 2023 12:44:24 +0000 (14:44 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 29 May 2023 16:24:00 +0000 (18:24 +0200)
commit0e77456f1fcf8b085413218c403283578d96fe13
treeef8115d9afc7585cb28e5fcc4d50cea82a3b2835
parent147d67c4958846e73c8455c50c8bf363e1c82b9f
expand repoid to 16 chars and avoid querying git for it twice

i.e., just reuse GITVERSION, and FWIW, the current ID length git
auto chooses is 9 chars, suggesting that 8 really was getting to
small. With 16 we got now 64 bits, that's plenty for the next few
years.

Document the format also (roughly) in the API schema

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile
PVE/API2.pm
PVE/Makefile