Is there any existing policy that favours one of these over the
other?

I don't think so, dev/user is free to decide on their own.

But IMO it is better to not use any space/tabs for NUGETS to reduce char. space taken by the list. We already force tabs in ebuilds to shrink number of characters. Also, IMHO indentation for those huge chunks that are **defined globally** like CRATES and EGO_SUM makes them less readable.

.NET project pkgs use the """no-char""" style. In fact were using that since the conception and nobody complained.

W dniu 21.11.2024 o 01:09, Matt Jolly pisze:
Hi,

On 21/11/24 07:50, x...@gentoo.org wrote:
+# When formatting the "NUGETS" list it is better to not indent it,
+# but it can be indented with single tab.

This seems at-odds with the general style of ebuilds in ::gentoo.
Looking at CRATES as an example of a similar variable, this is
almost always indented, as is the content of any other multiline
string (e.g. SRC_URI). The now-deprecated EGO_SUM var was also
by-convention indented (though it was an array...).

Is there any existing policy that favours one of these over the
other?

LGTM otherwise; better documentation is always good!

Cheers,

Matt




--
Have a great day!

~ Maciej Barć

https://wiki.gentoo.org/wiki/User:Xgqt
9B0A 4C5D 02A3 B43C 9D6F D6B1 14D7 4A1F 43A6 AC3C

Attachment: OpenPGP_0x14D74A1F43A6AC3C.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to