Releases: priv-kweihmann/oelint-parser
Releases · priv-kweihmann/oelint-parser
3.0.0
Release 3.x
All new and shiny major release.
This release removes a lot of legacy things and inconsistencies.
Likely previous code that was using 2.x
releases needs some adaption.
See below for details about the changes.
New
cls_item.Variable
gainedIsImmediateModify()
to check if the statement is not aprepend
,append
orremove
operationcls_item
gainedFlagAssignment
class for all operations involving flagscls_item
gainedInherit
class, that supportinherit
andinherit_defer
statementscls_item
gainedUnset
class, that supportsunset
statementscls_item
gainedTaskDel
class, that supportsdeltask
statementscls_item
gainedAddPylib
class, that supportsaddpylib
statementscls_stash.GetItemsFor
returns nowStashList
instead of a plainList
On thoseLists
x.reduce
offers a way to further filter the results, with
the same parameters ascls_stash.GetItemsFor
cls_stash.Stash
now supports to enforce the use of thekirkstone+
override syntax, by passing
new_style_override_syntax=True
to the constructor- Even more inline-functions are expanded now
- Expansion of inline functions now works properly even if the TRUE-value is empty
Breaking changes
cls_item.Variable.Flag
has been deprecated and returns an empty string
Usecls_item.FlagAssignment
insteadcls_item.TaskAssignment
has been deprecated and returns empty strings
Usecls_item.FlagAssignment
insteadhelper_files.get_files()
has been deprecated
Usecls_stash.Stash.GetFiles()
insteadhelper_files.get_layer_root()
has been deprecated
Usecls_stash.Stash.GetLayerRoot()
insteadhelper_files.find_local_or_in_layer()
has been deprecated
Usecls_stash.Stash.FindLocalOrLayer()
insteadhelper_files._replace_with_known_mirrors()
has been deprecated
Usecls_stash.Stash._replace_with_known_mirrors()
insteadhelper_files.get_scr_components()
has been deprecated
Usecls_stash.Stash.GetScrComponents()
insteadhelper_files.safe_linesplit()
has been deprecated
Usecls_stash.Stash.SafeLineSplit()
insteadhelper_files.guess_recipe_name()
has been deprecated
Usecls_stash.Stash.GuessRecipeName()
insteadhelper_files.guess_base_recipe_name()
has been deprecated
Usecls_stash.Stash.GuessBaseRecipeName()
insteadhelper_files.guess_recipe_version()
has been deprecated
Usecls_stash.Stash.GuessRecipeVersion()
insteadhelper_files.expand_term()
has been deprecated
Usecls_stash.Stash.ExpandTerm()
insteadhelper_files.get_valid_package_names()
has been deprecated
Usecls_stash.Stash.GetValidPackageNames()
insteadhelper_files.get_valid_named_resources()
has been deprecated
Usecls_stash.Stash.GetValidNamedResources()
insteadhelper_files.is_image()
has been deprecated
Usecls_stash.Stash.IsImage()
insteadhelper_files.is_packagegroup()
has been deprecated
Usecls_stash.Stash.IsPackageGroup()
insteadinherit
statements are now moved tocls_item.Inherit
class.
They are not part ofcls_item.Variable
anymore
Removed legacy interfaces
const_func.FUNC_ORDER
has been removedconst_func.KNOWN_FUNCS
has been removedconst_vars.set_constantfile()
has been removedconst_vars.set_rulefile()
has been removedconst_vars.get_mandatory_vars()
has been removedconst_vars.get_suggested_vars()
has been removedconst_vars.get_known_mirrors()
has been removedconst_vars.get_protected_vars()
has been removedconst_vars.get_protected_append_vars()
has been removedconst_vars.get_known_vars()
has been removedconst_vars.get_known_distros()
has been removedconst_vars.get_known_machines()
has been removedconst_vars.get_image_classes()
has been removedconst_vars.get_image_variables()
has been removedconst_vars.get_base_varset()
has been removedconst_vars.VAR_ORDER
has been removedconstants.AddFromRuleFile()
has been removedconstants.AddFromConstantFile()
has been removed
2.13.12
What's Changed
- data: add more known variables by @priv-kweihmann in #166
Full Changelog: 2.13.11...2.13.12
2.13.11
What's Changed
- data: add even more vars by @priv-kweihmann in #164
Full Changelog: 2.13.10...2.13.11
2.13.10
What's Changed
- Add AUTHOR to known variables by @skycaptain in #162
Full Changelog: 2.13.9...2.13.10
2.13.9
What's Changed
- get_valid_package_names: add unexpanded by @priv-kweihmann in #161
Full Changelog: 2.13.8...2.13.9
2.13.8
2.13.7
What's Changed
- data: add even more known vars by @priv-kweihmann in #158
Full Changelog: 2.13.6...2.13.7
2.13.6
Full Changelog: 2.13.5...2.13.6
2.13.5
What's Changed
- data: add more known variables by @priv-kweihmann in #157
Full Changelog: 2.13.4...2.13.5
2.13.4
What's Changed
- build(deps-dev): bump pytest from 7.4.3 to 7.4.4 by @dependabot in #153
- build(deps-dev): bump flake8 from 6.0.0 to 7.0.0 by @dependabot in #155
- data: add BBCLASSEXTEND by @priv-kweihmann in #156
Full Changelog: 2.13.3...2.13.4