Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ilya Kheifets
aports
Commits
a7e1763c
Commit
a7e1763c
authored
11 months ago
by
Patrycja Rosa
Committed by
Patrycja Rosa
6 months ago
Browse files
Options
Downloads
Patches
Plain Diff
CODINGSTYLE.md: add section about comments for options/arch
parent
2626619a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CODINGSTYLE.md
+8
-0
8 additions, 0 deletions
CODINGSTYLE.md
with
8 additions
and
0 deletions
CODINGSTYLE.md
+
8
−
0
View file @
a7e1763c
...
...
@@ -171,6 +171,14 @@ Metadata Variables are variables used directly by abuild itself, e.g. `pkgname`
*
Checksum Metadata Variables must be declared after the last function
declaration,
`abuild checksum`
will automatically take care of this.
### Comments
*
For Metadata Variables such as
`options`
or
`arch`
,
comments are encouraged to help other contributors understand the choices;
in those cases, they should be put either on the same line after the variable,
or above it, on a separate line, with an appropriate prefix
(e.g.
`# check: no test suite`
or
`# armhf: blocked by qt6-qtwebengine`
).
## Build Functions
### Function Declaration
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment