From: "Fabian Grünbichler" <f.gruenbichler@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Cc: Daniel Krambrock <krambrock@hrz.uni-marburg.de>
Subject: [pve-devel] applied: [PATCH v2 access-control] fix #5335: stable sorting in user.cfg
Date: Tue, 16 Apr 2024 14:25:36 +0200 [thread overview]
Message-ID: <1713270292.xh2iqeiltv.astroid@yuna.none> (raw)
In-Reply-To: <d6da05811de7ab44350441559e386894de5f62dc.camel@proxmox.com>
with T-B added, thanks!
PVE::AccessControl would benefit from a code style cleanup in general,
it's one of the more older modules with lots of "old style" code around..
On April 16, 2024 12:53 pm, Folke Gleumes wrote:
> Hi,
>
> thanks for your contribution!
>
> Looks fine to me. The saving function itself already sorts everything
> else, so this should be the last point where it can be indeterministic.
>
> While at it, could you update the foreach to a for? Not all code
> already agrees with our style guide, but we try to update it whenever
> we are touching it [0].
>
> If you haven't done so already, you need to agree to the Harmony CLI
> before we can accept your contribution [1].
>
> Gave it a spin and ran some configurations, so you can consider this:
> Tested-by: Folke Gleumes <f.gleumes@proxmox.com>
>
> [0] https://pve.proxmox.com/wiki/Perl_Style_Guide
> [1]
> https://pve.proxmox.com/wiki/Developer_Documentation#Software_License_and_Copyright
>
> On Tue, 2024-04-16 at 09:27 +0200, Daniel Krambrock via pve-devel
> wrote:
>> _______________________________________________
>> pve-devel mailing list
>> pve-devel@lists.proxmox.com
>> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
>
>
> _______________________________________________
> pve-devel mailing list
> pve-devel@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
>
>
prev parent reply other threads:[~2024-04-16 12:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.427.1713254851.450.pve-devel@lists.proxmox.com>
2024-04-16 10:53 ` [pve-devel] " Folke Gleumes
2024-04-16 12:25 ` Fabian Grünbichler [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1713270292.xh2iqeiltv.astroid@yuna.none \
--to=f.gruenbichler@proxmox.com \
--cc=krambrock@hrz.uni-marburg.de \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox