Changelogs » Oelint-adv

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

Oelint-adv

1.24.0

New
  
  - 170 - Warn about unnecessary prefix to LIC_FILES_CHKSUM
  - 169 - Warn about unnecessary FILES append
  - 168 - Warn about spaceless append to space seperated lists
  
  Fixes
  
  - 171 - Fix fetcher options are not validated
  - some fixes found scanning various poky releases

1.23.1

Changes
  
  - oelint.func.machinespecific has been superseded by oelint.func.specific 163
  - oelint.var.machinespecifc has been superseded by oelint.var.specific 163
  
  Fixes
  
  - properly expand PACKAGES 165
  - ignore leading spaces at HOMEPAGE 166
  - overhaul oelint.var.appendop to cover more cases 167

1.22.1

Fixes
  
  - Fix parsing of functions using `}` inside of the function body 164
  - Fix unbalanced parenthesis

1.22.0

New
  
  - Added new rule oelint.task.multifragments  158
  - Add known machines dictionary support 161
  - Add basic support for expanding *.utils.functions 162
  
  Changes
  
  - Removed oelint.comment.trailing rule 151 - this should better be handled by bitbake
  - Removed oelint.task.multiappends 158 - this is superseded by oelint.task.multifragments
  
  Fixes
  
  - LICENSE and CVE_PRODUCT in packagegroup can be assumed 159
  - oelint.vars.appendop is valid for " ??= " and " += " operations only 160
  - Fix FP oelint.spaces.linecont 157
  - add ptest to standard PACKAGES 156
  - Fix oelint.file.requirenotfound 155
  - Fix oelint.var.improperinherit FP 154
  - Add support for =. and .= operators 152

1.21.0

Enhancements
  
  - added `--noinfo` flag to suppress output of information messages
  - added `--nowarn` flag to suppress output of warning messages
  
  New
  
  * SECTION is just a suggested variable 150
  * SRC_URI shouldn't be used with += operator 147
  * First item of SRC_URI shouldn't be a file:// 145
  * Warn about git fetcher and tag option usage 136
  * Add the newely introduced npmsw fetcher 148
  
  Fixes
  
  * FP oelint.append.protvars for varflag modification 149
  * ignore empty fetcher settings for reporting
  * Mind pkg-specific setting at misspell check
  * Treat BPN specially on expanding
  * Add missing protocol option to hg fetcher
  * =+ counts as append
  * Don't warn about cp -R|-r usage
  * Handle inherit from inline function

1.20.2

Enhancements
  
  - 144 - Add quiet mode
  
  Fixes
  
  - 139 - Tests are not working in CI
  - 140 - Error IDs with appendix are not suppressble via --suppress
  - 141 - oelint.var.licenseremotefile FP when using variable from recipe
  - 142 - oelint.vars.srcurioptions FP when using inline code blocks
  - 143 - Python function blocks are not properly expanded

1.20.1

Enhancements
  
  - 138 - Result should be sorted numerically
  
  Fixes
  
  - 137 - Loading customrules crashes with ModuleNotFoundError

1.20.0

New
  
  - 116  - Internal API documentation (you'll find them as docstrings)
  - 117  - Enable custom rule to be loaded (by `--customrules` parameter)

1.19.2

Fixes
  
  * 132 - FP oelint.vars.dependsappend if using prepend
  * 133 - FP for oelint.vars.pathhardcode
  * 134 - FP for oelint.var.licenseremotefile if using WORKDIR in path
  * 135 - FP oelint.vars.machinespecific when using package-name

1.19.1

Fixes
  
  - 131 - Fix FPs due to missing quote remove

1.19.0

New
  
  - 129 - Rules that cover multiple variables should reflect that in the rule-ID
  
  Fixes
  
  - 130 - False positive with pathhardcode in function comments
  
  Misc
  
  - Try out the vscode extension of [oelint-adv](https://marketplace.visualstudio.com/items?itemName=kweihmann.oelint-vscode)

1.18.0

New
  
  * 123 - File should end with a single newline
  * 125 - DESCRIPTION shall be longer than SUMMARY
  * 126 - Warn about consecutive blank lines
  
  Fixes/Improvements
  
  * 127 - Expand PN,BPN,PV in include/require statement
  * 128 - FP space at line end

1.17.0

New
  
  * 43 - Rule: check HOMEPAGE url for being reachable
  * 4 - Add rule: Check PN and P usage in file-resources
  
  Changes
  
  * 122 - Limit the scope of oelint.vars.appendop

1.16.1

Fixes
  
  * 121 - multiline inherit will return false positives
  
  Thanks
  
  fmartinsons

1.16.0

New
  
  * 118 - Favor _append over +=
  
  Changes
  
  * 119 - AUTHOR is not a mandatory variable
  
  Fixes
  
  * 120 - Don't warn about oelint.oelint_vars_mispell if the variable is used in the recipe

1.15.7

Fixes
  
  * 115 - Linking files to another doesn't work properly
  * 114 - Exception on append only rule
  * 113 - oelint.vars.pkgspecific is ignoring PACKAGES

1.15.6

Fixes
  
  * remove leftover debug messages

1.15.5

Fixes
  
  * 112 - Better handling of ${} functions required
  * 110 - oelint.oelint_file_patchsignedoff message double contains should
  * 109 - Add GOPATH to known variable name
  * 108 - add mingw32 to expections of oelint.oelint_vars_machinespecific

1.15.4

Fixes
  
  * 100 - Fix issues found LGTM
  * 101 - oelint.oelint_vars_machinespecific fp for PACKAGES related var
  * 102 - oelint.oelint_vars_machinespecific fp
  * 103 - oelint.oelint_vars_duplicate fp
  * 104 - oelint.oelint_vars_spacesassignment fp
  * 105 - oelint.oelint_vars_machinespecific fp
  * 106 - oelint.oelint_vars_pnbpnusage fp
  * 107 - oelint.oelint_vars_spacesassignment fp

1.15.3

New
  
  * 98 - Rule: FILESEXTRAPATHS is only valid with := as operator
  
  Fixes
  
  * Reintroduce the entry_point feature
  * 99 - oelint.var.srcuriwildcard isn't mentioned in README
  * 97 - not discovered python function leads to a lot of FP
  * 96 - FP oelint_vars_machinespecific
  * 95 - FP oelint_vars_machinespecific
  * 94 - FP oelint_func_machinespecific
  * 93 - FP oelint_vars_machinespecific

1.15.2

Fixes
  
  * revert everything regarding the lately introduced entry_point feature - further investigation ongoing

1.15.1

Fixes
  
  * Fix entry_point introduced with 1.15.0

1.15.0

New
  
  * Support for `--constantfile`, which does provide the same format as `--rulefile`, but does not influence the ruleset decisions
  
  Fixes
  
  * Ignore immediately expanded vars for override check
  * use setuptools entry_point for script generation
  * 92 - Fix oelint.vars.mispell fp for PACKAGECONFIG[foo]

1.14.2

Fixes
  
  * 91 - oelint_vars_pkgspecific fp for FILES

1.14.1

New
  
  * 47 - Warn about hardware specific override to vars, if COMPATIBLE_MACHINE isn't set accordingly
  * 85 - Define additional input via rulefile
  * 87 - No manipulation of PV inside of bbappend
  * 88 - Manipulation for SRCREV inside of bbappend
  * 89 - Warn about variables that shouldn't be changed in a bbappend
  * 90 - Warn about recipe which are pulling source from different domains
  
  Fixes
  
  * 86 - Lone bbappend are not processed at all

1.13.0

New
  
  * 64 - Warn about settings which belong to distro/local.conf
  * 81 - Warn about package specific variables
  * 76 - Add more mirror replacements
  
  Fixes
  
  * 84 - Line number is wrong when include files
  * 83 - Error on fixing a file with an include
  * 82 - Ignore oelint.vars.pathhardcode in FILES_${PN}
  * 80 - oelint.task.pythonprefix for task which contain only oe_run*
  * 79 - oelint.vars.notneededspace report for remove operation
  * 78 - oelint.vars.valuequoted reported for PACKAGECONFIG
  * 77 - oelint.vars.valuequoted reported for inline variable settings
  * 75 - oelint.vars.pnbpnusage should only apply to the URL part

1.12.0

New
  
  * 71 - Rule: warn of unnecessary spaces
  * 73 - Warn about multiple (maybe conflicting) modifiers
  
  Fixes
  
  * 65 - oelint.vars.inconspaces warning for IMAGE_INSTALL += "\
  * 66 - Don't warn oelint.vars.pathhardcode on e.g. ""${libdir}/usr/share/somedir"
  * 67 - oelint.vars.srcurioptions:Fetcher '' is not known for file://some.file
  * 68 - oelint.vars.pathhardcode should not apply to documentation variables
  * 69 - oelint.task.addnotaskbody shouldn't warn on do_build
  * 70 - oelint.task.addnotaskbody should also probe to do_<task>
  * 72 - oelint.var.improperinherit inherit can contain "."
  * a lot of false positives resolved

1.11.0

New
  
  * 55 - Warn on include/require errors
  * 57 - Warn if include is used instead of require
  * 59 - rulefile support
  * 60 - Enhance include path resolving
  * 61 - Warn about improperly named inherits
  * 63 - color option
  
  Fixes
  
  * 62 - Fix issues found by LGTM and flake8
  * Import rules relative to base package
  
  Thanks
  
  gstroz , FrazerClews

1.10.0

New
  
  * 51 Rule: warn about hardcoded paths
  
  Bugfixes
  
  * 54 Multiple crashes when parsing latest poky tree
  * 52 v1.9.0 fails to install with pip
  * 53 Optional additional rulesets loaded althouht not specified on CLI

1.9.0

New
  
  * 42 - Rule for usage of FILESEXTRAPATHS
  * 44 - Rule: no ${PN} in SRC_URI, HOMEPAGE, BUGTRACKER a.s.o
  * 45 - Add typo check rule
  * 46 - Rule: discourage the usage of INSANE_SKIP
  * 48 - Rule: inconsitent use of spaces
  
  Fixes
  
  * 37 - Closes stream before exit
  * 38 - Fix issues found by LGTM
  * 49 - Fix false positive at oelint.vars.multilineident
  * 50 - Fix false positive for oelint.var.override
  
  Misc
  
  * 39 - Switch to requirements.txt
  * 41 - Release with twine