Oelint-parser

Latest version: v3.5.3

Safety actively analyzes 630656 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 15

3.0.2

What's Changed
* build(deps-dev): bump flake8-bugbear from 23.12.2 to 24.1.16 by dependabot in https://github.com/priv-kweihmann/oelint-parser/pull/181
* build(deps-dev): bump flake8-bugbear from 24.1.16 to 24.1.17 by dependabot in https://github.com/priv-kweihmann/oelint-parser/pull/182
* build(deps-dev): bump pytest-random-order from 1.1.0 to 1.1.1 by dependabot in https://github.com/priv-kweihmann/oelint-parser/pull/184
* data: add ROOTFS_POSTUNINSTALL_COMMAND by priv-kweihmann in https://github.com/priv-kweihmann/oelint-parser/pull/185


**Full Changelog**: https://github.com/priv-kweihmann/oelint-parser/compare/3.0.1...3.0.2

3.0.1

What's Changed
* Fixes/3.x by priv-kweihmann in https://github.com/priv-kweihmann/oelint-parser/pull/180


**Full Changelog**: https://github.com/priv-kweihmann/oelint-parser/compare/3.0.0...3.0.1

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` 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 `Lists` `x.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
Use `cls_stash.Stash.GuessRecipeVersion()` instead
- `helper_files.expand_term()` has been deprecated
Use `cls_stash.Stash.ExpandTerm()` instead
- `helper_files.get_valid_package_names()` has been deprecated
Use `cls_stash.Stash.GetValidPackageNames()` instead
- `helper_files.get_valid_named_resources()` has been deprecated
Use `cls_stash.Stash.GetValidNamedResources()` instead
- `helper_files.is_image()` has been deprecated
Use `cls_stash.Stash.IsImage()` instead
- `helper_files.is_packagegroup()` has been deprecated
Use `cls_stash.Stash.IsPackageGroup()` instead
- `inherit` statements are now moved to `cls_item.Inherit` class.
They are not part of `cls_item.Variable` anymore

Removed legacy interfaces

- `const_func.FUNC_ORDER` has been removed
- `const_func.KNOWN_FUNCS` has been removed
- `const_vars.set_constantfile()` has been removed
- `const_vars.set_rulefile()` has been removed
- `const_vars.get_mandatory_vars()` has been removed
- `const_vars.get_suggested_vars()` has been removed
- `const_vars.get_known_mirrors()` has been removed
- `const_vars.get_protected_vars()` has been removed
- `const_vars.get_protected_append_vars()` has been removed
- `const_vars.get_known_vars()` has been removed
- `const_vars.get_known_distros()` has been removed
- `const_vars.get_known_machines()` has been removed
- `const_vars.get_image_classes()` has been removed
- `const_vars.get_image_variables()` has been removed
- `const_vars.get_base_varset()` has been removed
- `const_vars.VAR_ORDER` has been removed
- `constants.AddFromRuleFile()` has been removed
- `constants.AddFromConstantFile()` has been removed

2.13.12

What's Changed
* data: add more known variables by priv-kweihmann in https://github.com/priv-kweihmann/oelint-parser/pull/166


**Full Changelog**: https://github.com/priv-kweihmann/oelint-parser/compare/2.13.11...2.13.12

2.13.11

What's Changed
* data: add even more vars by priv-kweihmann in https://github.com/priv-kweihmann/oelint-parser/pull/164


**Full Changelog**: https://github.com/priv-kweihmann/oelint-parser/compare/2.13.10...2.13.11

2.13.10

What's Changed
* Add AUTHOR to known variables by skycaptain in https://github.com/priv-kweihmann/oelint-parser/pull/162


**Full Changelog**: https://github.com/priv-kweihmann/oelint-parser/compare/2.13.9...2.13.10

Page 3 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.