public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* Re: [pve-devel] [PATCH v2 access-control] fix #5335: stable sorting in user.cfg
       [not found] <mailman.427.1713254851.450.pve-devel@lists.proxmox.com>
@ 2024-04-16 10:53 ` Folke Gleumes
  2024-04-16 12:25   ` [pve-devel] applied: " Fabian Grünbichler
  0 siblings, 1 reply; 2+ messages in thread
From: Folke Gleumes @ 2024-04-16 10:53 UTC (permalink / raw)
  To: Proxmox VE development discussion; +Cc: Daniel Krambrock

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] applied: [PATCH v2 access-control] fix #5335: stable sorting in user.cfg
  2024-04-16 10:53 ` [pve-devel] [PATCH v2 access-control] fix #5335: stable sorting in user.cfg Folke Gleumes
@ 2024-04-16 12:25   ` Fabian Grünbichler
  0 siblings, 0 replies; 2+ messages in thread
From: Fabian Grünbichler @ 2024-04-16 12:25 UTC (permalink / raw)
  To: Proxmox VE development discussion; +Cc: Daniel Krambrock

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
> 
> 
> 




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-16 12:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.427.1713254851.450.pve-devel@lists.proxmox.com>
2024-04-16 10:53 ` [pve-devel] [PATCH v2 access-control] fix #5335: stable sorting in user.cfg Folke Gleumes
2024-04-16 12:25   ` [pve-devel] applied: " Fabian Grünbichler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal