NEWS 7.21 KB
Newer Older
Leo's avatar
Leo committed
1 2 3 4 5 6
CHANGES in 18.12.3:

- secfixes-check will now exit 0 if no violations are found or
 a number that correspond to how many violations were found.
- Update the manpage to reflect the above change

Leo's avatar
Leo committed
7 8 9 10 11
CHANGES in 18.12.2:

- Add manpage for secfixes-check
- Install secfixes-check and its manpage

Leo's avatar
Leo committed
12 13 14
CHANGES In 18.12.1:

- Add cve-identifier-wrong-indentation [AL47]
Leo's avatar
Leo committed
15
- Add pkgver-pkgrel-wrong-indentation [AL48]
Leo's avatar
Leo committed
16
- Update secfixes-check to deal with CVE identifiers with wrong indentation
Leo's avatar
Leo committed
17 18
 and report violations of such, same for wrong indentation for pkgver-pkgrel
 headers
Leo's avatar
Leo committed
19

Leo's avatar
Leo committed
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
CHANGES in 18.12.0:

- Fix location of newly added tags in alint.5
- Add secfixes-check, a lua5.3 script that checks secfixes section for
 violations
- Add tags for the secfixes-check:
	- secfixes-missing-colon [AL37]
	- pkgver-pkgrel-missing-colon [AL38]
	- pkgver-pkgrel-invalid-pkgver [AL39]
	- pkgver-pkgrel-invalid-pkgrel [AL40]
	- cve-identifier-missing-hyphen [AL41]
	- cve-identifier-missing-prefix [AL42]
	- cve-identifier-invalid-characters [AL43]
	- cve-identifier-invalid-year [AL44]
	- cve-identifier-short-id [AL45]
	- cve-identifier-hyphens [AL46]

Leo's avatar
Leo committed
37 38 39 40 41 42
CHANGES in 18.11.0:

- Add overwite-xflags to make sure contributors are not overriding variables
 that the user can change in /etc/abuild.conf like CFLAGS, CXXFLAGS, GOFLAGS,
 etc. (thanks @kdaudt)

Leo's avatar
Leo committed
43 44 45 46 47 48
CHANGES in 18.10.1:

- Add an exception for checking for ninja, which is now in unmaintained, during
 the transition from ninja to samurai. Samurai provides= and replaces= ninja and
 packages don't need to be changed to depend on samurai instead

Leo's avatar
Leo committed
49 50 51 52 53
CHANGES in 18.10.0:

- add cpan-variable, to deal with cpan(|make|check)depends variables created by
 the apkbuild-cpan program.

Leo's avatar
Leo committed
54 55 56
CHANGES in 18.9.2:

- Fix apkbuild-fixer replacing $pkgname in tarball naming part of source=
Leo's avatar
Leo committed
57
- Make apkbuild-lint ignore the HOSTCC variable as a custom variable (thanks @PureTryOut)
Leo's avatar
Leo committed
58
- Make apkbuild-lint not treat some newer/uncommon abuild variables as custom variables
Leo's avatar
Leo committed
59

Leo's avatar
Leo committed
60 61 62 63
CHANGES in 18.9.1:

- Recognize makedepends_build and makedepends_host as official variables

Leo's avatar
Leo committed
64 65 66 67 68 69
CHANGES in 18.9.0:

- Prevent false positive for start_pre on initd-lint (thanks @kdaudt)
- Fix false negative with custom variables (thanks @kdaudt)
- Rewrite a setence on manpage for clarity and specify version when
 referring to the version of Alpine in which a version of abuild is present
Leo's avatar
Leo committed
70
- run superfluous-cd-builddir check on packages in main
Leo's avatar
Leo committed
71

Leo's avatar
Leo committed
72 73 74 75
CHANGES in 18.8.6:

- Allow double underscores as a variable argument (thanks @kdaudt)

Leo's avatar
Leo committed
76 77 78 79
CHANGES in 18.8.5:

- somask is now recognized as a variable used by abuild

Leo's avatar
Leo committed
80 81 82 83
CHANGES in 18.8.4:

- apkbuild-lint now deals with archive renaming (::) when detecting AL29

Leo's avatar
Leo committed
84 85 86 87
CHANGES in 18.8.3:

- apkbuild-fixer now deals with AL29

Leo's avatar
Leo committed
88 89 90 91 92
CHANGES in 18.8.2:

- use [ -n ] instead of ! [ -z ] to check a condition

CHANGES in 18.8.1:
Leo's avatar
Leo committed
93 94 95

- apkbuild-fixer now deals with AL32

Leo's avatar
Leo committed
96 97 98 99 100 101 102 103 104 105 106 107
CHANGES in 18.8:

- Make braced-variable more liberal by matching any sigil without
 checking if it a variable. This change will make the script find
 possible false positives but it will now find occurences outside
 of variables, and multiple occurences in a single line, it will
 also show what is the offender on the line given. Tests were
 adapted accordingly to the new error message
- Make braced-variable use Extended regex (-E) instead of PCRE (-P)
 in the future all should use this and it is a work in progress
- Downgrade braced-variable Certainty from Certain to Possible

Leo's avatar
Leo committed
108 109 110 111 112 113
CHANGES in 18.7.1:

- Make braced-variable more robust by matching lowercase characters
 and underscores inside the braced variable to avoid detection of a
 legitimate case of bracing variable called parameter substitution

Leo's avatar
Leo committed
114 115 116 117
CHANGES in 18.7:

- Add braced-variable

Leo's avatar
Leo committed
118 119 120 121
CHANGES in 18.6.1:

- Fix failing test

Leo's avatar
Leo committed
122 123 124 125
CHANGES in 18.6:

- Make double-score-in-variable check more robust by running separate checks
 for variables declared plainly and variables declared with the local keyword
Leo's avatar
Leo committed
126
- Add variable-capitalized
Leo's avatar
Leo committed
127

Leo's avatar
Leo committed
128 129 130 131 132
CHANGES in 18.5:

- Add double-score-in-variable
- Make tests more robust by unsetting APKBUILD_STYLE

133 134 135 136
CHANGES in 18.4:

- Add pkgname-used-in-source (Thanks @Ikke)

Leo's avatar
Leo committed
137 138 139 140
CHANGES in 18.3:

- Fix backticks-usage header on alint.5

141 142
CHANGES in 18.2:

Leo's avatar
Leo committed
143
- Remove APKBUILD_STYLE=leo from some tests for checks that are now part
144
 of the main suite
Leo's avatar
Leo committed
145
- Add literal-integer-is-quoted
146

Leo's avatar
Leo committed
147 148 149 150 151
CHANGES in 18.1:

- Move some style checks that belonged to leo to minor since they are
 now part of the CODINGSTYLE.md

Leo's avatar
Leo committed
152 153 154 155 156
CHANGES in 18.0:

- Add a Style severity label denoted by a T character
- Add leo to APKBUILD_STYLE options and move some style checks to it

Leo's avatar
Leo committed
157 158 159
CHANGES In 17.2:

- Remove line-above-80-chars [AL27], it was broken anyways
160 161 162
- Check for the APKBUILD file instead of just the directory
 when trying to find duplicates and packages in other repos.
 Fixing a case where remants of a moved package would stay there.
Leo's avatar
Leo committed
163

Leo's avatar
Leo committed
164 165 166 167
CHANGES in 17.1:

- Update build system to install apkbuild-fixer

Leo's avatar
Leo committed
168 169 170 171 172
CHANGES in 17.0:

- Add apkbuild-fixer
- Disable line-above-80-chars until it can be fixed

Leo's avatar
Leo committed
173 174 175 176
CHANGES in 16.0:

- add line-above-80-chars

Leo's avatar
Leo committed
177 178 179 180 181
CHANGES in 15.4:

- Add more expensive but more accurate find_repo for finding packages in upper repos
- Mark default-builddir-value and superfluous-cd-builddir as minor

182 183 184 185
CHANGES in 15.3:

- Fix upper-repo-checkdepends detection when options= is empty

Leo's avatar
Leo committed
186 187 188 189
CHANGES in 15.2:

- Fix minor mistake in alint.5.scd

Leo's avatar
Leo committed
190 191 192 193
CHANGES with 15.1:

- Fix minor mistake in alint.5.scd

194 195 196 197
CHANGES with 15:

- Skip to next loop of checking if we can't source the APKBUILD

Leo's avatar
Leo committed
198 199 200 201
CHANGES with 14:

- Add _builddir-is-set test

Leo's avatar
Leo committed
202 203 204 205 206 207 208 209 210 211 212 213 214
CHANGES with 13:

- Add tags for each violation in apkbuild-lint
- Add tags for each violation in aports-lint
- Update documentation to add each tag to the violation
- Fix mistake on pkgver-quoted documentation
- Update documentation to show how to skip tests for certain tags
- Update tests to check for the tags when using assert_match
- Convert all output to a draft version of a stable output format
- Add extra field on the format for the severity
- Update documentation of the tools to add an OUTPUT chapter
- Add missing backticks-usage tag to documentation

Leo's avatar
Leo committed
215 216 217 218
CHANGES with 12.1:

- Remove spurious section referring to a tag that never existed

219 220 221 222 223
CHANGES with 12:

- superfluous-cd-builddir now detects variations of cd "$builddir" such as with brackets
  without quotes and any in between

224 225 226 227
CHANGES with 11.2:

- make duplicate and upper package detection remove tab chars ('\t') before sorting

Leo's avatar
Leo committed
228 229 230 231
CHANGES with 11.1:

- Include NEWS from version 10 to 11

Leo's avatar
Leo committed
232 233 234 235 236 237 238 239 240 241
CHANGES with 11:

- Fix tests for _underscore prefix
- deal with _rc being allowed

CHANGES with 10:

- Add makedepend-in-depends
- Replace makedepends-in-depends with depends-makedepends-checkdepends-overlap

Leo's avatar
Leo committed
242 243 244 245 246 247 248 249 250 251 252 253 254 255 256
CHANGES with 9:

- Implement build system based on redo (@Ikke)
- Fix sourcing of variable with bash in posix SH compatibility mode (@maxice8)
- Add pkgname-dirname-mismatch (@maxice8)
- Add missing SKIP_* directive to duplicate-package (@maxice8)
- Add initial testsuite based on bats (@Ikke)
- Fix parsing with different cat -n outputs (@Ikke)
- Fix pkgname-has-uppercase and expand its scope (@maxice8)
- Add tests for pkgname-has-uppercase (@maxice8)
- Add travis-ci support via .travis.yml (@maxice8)
- Add pkgver-has-pkgrel (@maxice8)
- Skip broken test on travis-ci (@maxice8)
- Do small fix in README.md (@maxice8)
- Write first version of NEWS