[pve-devel] [pmg-devel] Dropping mixed tab/space indentation for Perl and JavaScript and adopting perltidy and biome for auto-formatting.
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Jul 3 12:48:46 CEST 2025
Hi,
Am 03.07.25 um 12:11 schrieb DERUMIER, Alexandre:
> I Just notice this when rebasing my patches ^_^
>
> (sorry my last patch serie was still tab+spaces)
Yeah, sorry for the fallout, but we needed to have a cut sooner or later.
git rebase --ignore-whitespace
or
git am -3 --ignore-whitespace path/to/patches/*.patch
Should hopefully reduce the load here.
Else, you could run perltidy in a copy of the repo with your patches
applied and then copy over the files to the cleaned up repos and commit
them again, a bit more work but simple and should avoids handling
conflicts, if you prefer avoiding them.
> I'm trying to install proxmox-perltidy but it depend on perltidy
> 20250311.05
>
> dpkg: dependency problems prevent configuration of proxmox-perltidy:
> proxmox-perltidy depends on perltidy (>= 20250311.05-~~); however:
>
>
> and debian13 package is 20250105.
>
> is this packge version of perltidy available somewhere ?
>
We uploaded the newer perltidy to our devel repo, which is available for bookworm:
deb http://download.proxmox.com/debian/devel bookworm main
And trixie:
deb http://download.proxmox.com/debian/devel trixie main
Or in the newer deb822 based sources format that trixie prefers:
Types: deb
URIs: http://download.proxmox.com/debian/devel
Suites: trixie
Components: main
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
More information about the pve-devel
mailing list