Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
atools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Leo
atools
Commits
b8689852
Commit
b8689852
authored
Jul 24, 2019
by
Leo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove line-above-80-chars
parent
ccdf3598
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
14 deletions
+4
-14
NEWS
NEWS
+4
-0
alint.5.scd
alint.5.scd
+0
-6
apkbuild-lint
apkbuild-lint
+0
-8
No files found.
NEWS
View file @
b8689852
CHANGES In 17.2:
- Remove line-above-80-chars [AL27], it was broken anyways
CHANGES in 17.1:
- Update build system to install apkbuild-fixer
...
...
alint.5.scd
View file @
b8689852
...
...
@@ -282,9 +282,3 @@ Severity: Serious, Certainty: Certain
existed
as
a
concept
understood
by
abuild
Severity:
Serious
,
Certainty:
Certain
##
line
-
above
-80
-
chars
[
AL27
]
A
line
has
above
80
chars
,
hard
-
wrap
it
,
if
reasonable
.
Severity:
Minor
,
Certainty:
Possible
apkbuild-lint
View file @
b8689852
...
...
@@ -215,12 +215,6 @@ _builddir_is_set() {
fi
}
line_above_80_chars
()
{
[
"
$SKIP_LINE_ABOVE_80_CHARS
"
]
&&
return
0
[
"
$SKIP_AL27
"
]
&&
return
0
scan
'.{80}'
'hard-wrap at 80 chars'
'AL27'
'MP'
}
ret
=
0
for
apkbuild
;
do
if
[
-f
"
$apkbuild
"
]
;
then
...
...
@@ -247,8 +241,6 @@ for apkbuild; do
newline_opening_brace &
pkgname_has_uppercase &
pkgver_has_pkgrel &
# NOTE(Leo): Breaks 100% of packages due to sha512sums=, work around it
# line_above_80_chars &
# Don't perform these checks on packages from main
if
!
[
-z
"
${
apkbuild
##*main/*
}
"
]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment