Subject: [bug#66180] [PATCH 00/19] Sort packages in node-xyz.scm

From: Nicolas Graves <[email-masked]>
Date: Sun, 18 Feb 2024 15:29:17 +0100

On 2024-02-18 15:23, Nicolas Graves wrote:

> On 2024-02-18 13:06, Sharlatan Hellseher wrote:
>
>> Hi Nicolas,
>>
>> I've checked packages order once again and found that some of them still
>> need to be re-allocated but due to inheritance it can't be done easily.
>>
>> e.g. package node-serialport needs to be the one from the rest are inheritated.
>>
>> - node-serialport-binding-abstract
>> - node-serialport-bindings
>> - node-serialport-parser-byte-length
>> - node-serialport-parser-cctalk
>> - node-serialport-parser-delimiter
>> - node-serialport-parser-inter-byte-timeout
>> - node-serialport-parser-readline
>> - node-serialport-parser-ready
>> - node-serialport-parser-regex
>> - node-serialport-stream
>>
>> May you check it please in the next round?
>
> Will do.

I'm not sure how to do that though with these inheritance issues. Do you
have an example in Guix source where this kind of things is done?
>
>>
>> I've used Emacs' occur, search for define-public, copied to an empty
>> buffer A and in buffer B sorted lines, then run buffer-diff on A and B.
>> --8<---------------cut here---------------start------------->8---
>> diff -u --label \#\<buffer\ \*new\*\<3\>\> --label \#\<buffer\ \*new\*\<4\>\> /tmp/buffer-content-SbBuJ0 /tmp/buffer-content-bu3SO4
>> --- #<buffer *new*<3>>
>> +++ #<buffer *new*<4>>
>> @@ -30,17 +30,17 @@
>>  define-public node-safe-stable-stringify
>>  define-public node-segfault-handler
>>  define-public node-semver
>> +define-public node-serialport
>>  define-public node-serialport-binding-abstract
>> +define-public node-serialport-bindings
>> +define-public node-serialport-parser-byte-length
>> +define-public node-serialport-parser-cctalk
>>  define-public node-serialport-parser-delimiter
>> +define-public node-serialport-parser-inter-byte-timeout
>>  define-public node-serialport-parser-readline
>> -define-public node-serialport-bindings
>> -define-public node-serialport-parser-regex
>>  define-public node-serialport-parser-ready
>> -define-public node-serialport-parser-inter-byte-timeout
>> -define-public node-serialport-parser-cctalk
>> -define-public node-serialport-parser-byte-length
>> +define-public node-serialport-parser-regex
>>  define-public node-serialport-stream
>> -define-public node-serialport
>>  define-public node-sqlite3
>>  define-public node-stack-trace
>>  define-public node-statsd-parser
>> --8<---------------cut here---------------end--------------->8---
>>
>> Your servcie is pushed as aede3fa122..345a54ff4c to master.
>>
>> --
>> Oleg

-- 
Best regards,
Nicolas Graves