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 gained IsImmediateModify() to check if the statement is not a prepend, append or remove operation
cls_item gained FlagAssignment class for all operations involving flags
cls_item gained Inherit class, that support inherit and inherit_defer statements
cls_item gained Unset class, that supports unset statements
cls_item gained TaskDel class, that supports deltask statements
cls_item gained AddPylib class, that supports addpylib statements
cls_stash.GetItemsFor returns now StashList instead of a plain List
On those Listsx.reduce offers a way to further filter the results, with
the same parameters as cls_stash.GetItemsFor
cls_stash.Stash now supports to enforce the use of the kirkstone+ 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
Use cls_item.FlagAssignment instead
cls_item.TaskAssignment has been deprecated and returns empty strings
Use cls_item.FlagAssignment instead
helper_files.get_files() has been deprecated
Use cls_stash.Stash.GetFiles() instead
helper_files.get_layer_root() has been deprecated
Use cls_stash.Stash.GetLayerRoot() instead
helper_files.find_local_or_in_layer() has been deprecated
Use cls_stash.Stash.FindLocalOrLayer() instead
helper_files._replace_with_known_mirrors() has been deprecated
Use cls_stash.Stash._replace_with_known_mirrors() instead
helper_files.get_scr_components() has been deprecated
Use cls_stash.Stash.GetScrComponents() instead
helper_files.safe_linesplit() has been deprecated
Use cls_stash.Stash.SafeLineSplit() instead
helper_files.guess_recipe_name() has been deprecated
Use cls_stash.Stash.GuessRecipeName() instead
helper_files.guess_base_recipe_name() has been deprecated
Use cls_stash.Stash.GuessBaseRecipeName() instead
helper_files.guess_recipe_version() has been deprecated
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on oelint-parser to permit the latest version.
Release notes
Sourced from oelint-parser's releases.
... (truncated)
Commits
130ac45
Release 3.0.092549cc
repo: remove build/release.shda37abd
README: add ExpandVar docu2d97c50
docs: refresh API docs5b53056
stash: expand variable unset support25dbdfd
parser: support for unset statementsfccc97f
parser: add support for deltask06b6f9a
parser: rework inherit supportd458df5
docs: refresh API docs218dce7
parser: add support for addpylibDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show