Changelogs » Oelint-adv

PyUp Safety actively tracks 362,670 Python packages for vulnerabilities and notifies you when to upgrade.

Oelint-adv

3.4.1

Fixes
  
  - 245 - allow `type=kmeta` in `SRC_URI` (thanks to Rahix for the fix)

3.4.0

Changes
  
  - Fix grouping of files passed by CLI
  - increased minimum required parser version

3.3.0

New
  
  - Python 3.10 support (thanks offa)
  
  Misc
  
  - bump oelint-parser version requirement to require an important bugfix

3.2.0

New
  
  - 244 - split check of message part of Upstream-Status: Inappropriate into separate rule. Also giving a way better error message for this check (thanks to Rahix for bringing this up)

3.1.1

Fixes
  
  - Fix regressions introduced by 237 (thanks to offa for spotting this and thanks to Rahix for fixing it)
  - updated missing changes in README (thanks to offa)

3.1.0

New
  
  - 235 - new `--print-ruleset` CLI option, which will print the currently active ruleset and the set severity per rule as a json (provided thanks to Radix)
  
  Fixes
  
  - 238 - oelint.vars.listappend mixup of messages fixed
  - 239 - trigger nittymcpick-oelint only on push to main repo default branches
  - 236 + 237 - Fix loading of sub-ID rules from rulefile
  
  Thanks
  
  Rahix for helping out a lot with finding and fixing all these issues

3.0.3

Fixes
  
  - 234 - do not report `inconspaces` for ` += ` after the first line continuation

3.0.2

Fixes
  
  - removed leftover debugging logs - thanks vermaete for spotting and fixing this

3.0.1

Fixes
  
  - 232 - strip line continuations before checking `inconspaces` rules (thanks to cometzero for spotting this)

3.0.0

Due to breaking changes in the used parser, this is a major version bump.
  Only changes are due to the parser changes

2.6.3

Fixes
  
  - 231 - filter out empty fetcher info - fixes a issue with default SRC_URI entries in bbclasses

2.6.2

Fixes
  
  - 230 - Fix false positive for [R]DEPENDS ordered with bbclasses
  
  Misc
  
  - Added hint for Jenkins integration (thanks to offa)

2.6.0

New
  
  - `--exit-zero` CLI option: the exit code is always set to zero, even if there are issues found - Scenarios to do this are eg. CI builds where the results are evaluated in later stages. (thanks offa)

2.5.4

Fixes
  
  - 226 - versioned (R)DEPENDS hanlding in jetm rule set (thanks to robertsemaskevic for reporting)
  - 225 - proper handling of empty multiline assignment (thanks to offa for reporting)

2.5.3

Fixes
  
  - 224 - remove versions from (R)DEPENDS (thanks to robertsemaskevic for reporting)
  - README fixes (thanks to offa)

2.5.2

Fixes
  
  - 221 - rulefile can now have rules with appendix

2.5.1

Fixes
  
  220 - Fix appendix suppression (now individual sub-IDs can be suppressed separately) (big thanks to skycaptain for reporting this)

2.5.0

Fixes
  
  - 219 - add `user` option to git fetcher parameters (skycaptain thanks for reporting)
  - 218 - `*.order` rules do only apply to the scope of the individual file (skycaptain thanks for reporting)
  
  Misc
  
  - Adapted to new constant class of `oelint-parser`
  - added new CLI parameter `--constantmod`, which uses this new `oelint-parser` interface
  - bumped minimum version of `oelint-parser` to 1.1.0

2.4.1

Fixes
  
  - 216 - pkgspecific variables should not be checked for "lone" bbappends

2.4.0

Deprecations
  
  **IMPORTANT** minimum python version supported now is **3.6** (see 215)
  **IMPORTANT** all interfaces that were marked as deprecated (as supplied by oelint-parser) have been removed (see 212) - update your custom rules, still using these interfaces immediately (hints: just replace `oelint_adv.` with `oelint_parser.` for the removed interfaces)
  
  Fixes
  
  - 213 - fix var.override warning when using weak assignments
  
  Misc
  
  - 206 - project is now using pytest for testing (including a strict coverage rule)

2.3.1

New
  
  - 197 - Warn about the usage of anonymous python functions
  
  Fixes (thanks to vermaete )
  
  - removed debug left over
  - resolved duplicate class name

2.2.5

Fixes
  
  - indexing console print has been removed, as it was wrong and misleading anyway (thanks to HerrMuellerluedenscheid )
  
  Misc
  
  - the tool can now be used with https://pre-commit.com/ (thanks to noahp )

2.2.4

Fixes
  
  - 207 - oelint.vars.dependsordered FP when using class-extension

2.2.3

Fixes
  
  - 205 - fix non deterministic behaviour linting multiple bbappends for the same package (Thanks to robertsemaskevic for reporting)

2.2.2

Fixes
  
  204 - group files when multiple bb files are passed by CLI

2.2.1

Changes
  
  - 201 - `oelint.vars.multilineident` changed to less strict mode.
  Basically it is now enough to have line indent (4 blanks minimum) and the same indent across all lines of the assignment

2.2.0

New
  
  * 193 - Warn about overrides of FILES-settings
  * 194 - Warn about the usage of heredocs
  * 195 - Warn about trailing slash in S,B,D,T settings
  * 200 - Add support for upcoming `az://` fetcher
  
  Fixes
  
  * 199 - mind image and packagegroup for mandatory variables (to both only a subset applies)
  * 198 - disable oelint.vars.specific for bbappend, as the full set of information is only available with the corresponding bb-file

2.1.0

New
  
  * 192 - More detailed check of Upstream-Status in patch files
  
  Misc
  
  * Print exception text when a rule failed to load

2.0.2

Fixes
  
  * 191 ignore oelint.file.underscores for images

2.0.1

New
  
  * 187 python 3.9 support
  
  Fixes
  
  * 188 resolve LGTM findings