From 01b9899a9f20a2eb9b83eb2949adab44482e2fb5 Mon Sep 17 00:00:00 2001 From: ptrcnull <git@ptrcnull.me> Date: Fri, 18 Oct 2024 00:08:11 +0200 Subject: [PATCH] CODINGSTYLE.md: update for maintainer= variable see https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/318 --- CODINGSTYLE.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/CODINGSTYLE.md b/CODINGSTYLE.md index 976b93f5dc00..efec9a8c426f 100644 --- a/CODINGSTYLE.md +++ b/CODINGSTYLE.md @@ -142,12 +142,7 @@ APKBUILDs. ### Maintainer Comment -* All APKBUILDs contain exactly one maintainer comment containing a - valid RFC 5322 address. For example, `# Maintainer: Max Mustermann - <max@example.org>`. -* The Maintainer comment should immediately follow the Contributor comment(s). -* In the case of package being abandoned, the comment should still be present, - but left empty: `# Maintainer:`. +* Deprecated, see *Maintainer Variable* below. ## Metadata Variables @@ -158,6 +153,15 @@ Metadata Variables are variables used directly by abuild itself, e.g. `pkgname` * `pkgname` must only contain lowercase characters. * `pkgname` must match the name of the directory the `APKBUILD` file is located in. +### Maintainer Variable + +* All APKBUILDs should contain exactly one variable named `maintainer`, + containing a valid RFC 5322 address. For example, + `maintainer="Max Mustermann <max@example.org>"`. +* `maintainer` should immediately follow the Contributor comment(s), above `pkgname`. +* In the case of package being abandoned, the variable should still be present, + but left empty: `maintainer=""`. + ### Variable Assignments * Empty Metadata Variable assignments, e.g. `install=""` must be removed. -- GitLab