GNU bug report logs - #57090
'guix style' pretty-printer always renders integers as base10

Previous Next

Package: guix;

Reported by: Christopher Rodriguez <yewscion <at> gmail.com>

Date: Tue, 9 Aug 2022 20:52:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 57090 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Christopher Rodriguez <yewscion <at> gmail.com>, 57090 <at> debbugs.gnu.org,
 ludo <at> gnu.org
Subject: Re: bug#57090: [BUG] Default Notation for chmod in guix style?
Date: Tue, 9 Aug 2022 22:59:11 +0200
[Message part 1 (text/plain, inline)]
Note: No need for [BUG] prefixes -- they are prefixed automatically by 
bug#NNNNN and the bug tracker is either for bugs or patches, and the 
latter has the [PATCH ...] convention. No harm though.

On 09-08-2022 22:47, Christopher Rodriguez wrote:
> Hello,
>
> I've noticed that, when I explicitly declare absolute permissions in
> octal during a (chmod …) in my package definitions and then run guix
> style, it converts them to decimal instead.
>
> Is this intended? I've gotten feedback and agree that octal (#o755) is
> much clearer to read than decimal (493), simply because I'm used to the
> actual unix chmod tool and its conventions.
>
> --
>
> Christopher Rodriguez

'chmod' is not mentioned anywhere in (guix scripts style), so I'd think 
it's just an oversight. The authority on the matter would be Ludovic 
Courtès <ludo <at> gnu.org>

Disclaimer: I'm the one that wrote that feedback. Let's not double-count 
my non-existent 'votes'.

Greetings,
Maxime

[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

This bug report was last modified 2 years and 258 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.