28 Commits

Author SHA1 Message Date
Robert Dower f6a5eb9b40 archive repository 2025-08-07 14:08:18 -07:00
William Douglas e2afd9e9c5 Add support for a --search argument
Allow users to filter what bundles include others bundle.

Signed-off-by: William Douglas <william.douglas@intel.com>
v1.2.0
2025-06-09 17:52:30 -07:00
William Douglas 7caf2ab310 Correct handling for loops
Now that loops are possible, remove short circuit logic as it caused
bundles to be skipped in certain cases.

Signed-off-by: William Douglas <william.douglas@intel.com>
v1.1.2
2025-06-09 09:06:43 -07:00
William Douglas 9d48585930 Switch to pyproject
Signed-off-by: William Douglas <william.douglas@intel.com>
v1.1.1
2025-05-08 15:53:52 -07:00
William Douglas 93aad5d3d5 Update unbundle to handle cycles
mixer-tools is now able to handle cycles so remove the requirement for
no cycles.

Signed-off-by: William Douglas <william.douglas@intel.com>
v1.1.0
2025-04-30 09:13:48 -07:00
William Douglas 1fe041a968 Improve cycle detection
Keep a set of any bundle we've inspected before as a different set
compared to the current bundles being inspected as part of the depth
first chain.

This fixes a major performance problem with re-evaluating bundles that
have already been seen before while still allowing cycles to be
spotted and accurately reported in the bundle configurations.

Signed-off-by: William Douglas <william.r.douglas@gmail.com>
v1.0.0
2024-02-14 11:40:21 -08:00
Arjan van de Ven e036fd2742 allow cycles silently v0.1.7 2023-05-17 16:44:17 +00:00
William Douglas 3feee6ed0f v0.1.6 v0.1.6 2019-09-20 14:17:32 -07:00
William Douglas d519bff894 Update detection of loops
This code will detect content loops and also modifies how the content
sets are updated. In addition also-add content is skipped as it is
intentionally not required content of a bundle.
2019-09-20 14:14:14 -07:00
William Douglas 4ec459ee2c Remove no longer valid pundle detection 2019-09-20 14:14:14 -07:00
William Douglas f880226cf2 v0.1.5 v0.1.5 2019-09-19 16:38:46 -07:00
William Douglas faf9a39e54 Also add isn't a real dependency so don't report it as such 2019-09-19 16:38:08 -07:00
Auke Kok af8e498c6c v0.1.4 v0.1.4 2019-08-16 17:22:30 -07:00
Auke Kok c746956bd9 Support also-add here as well. 2019-08-16 17:21:07 -07:00
Matthew Johnson 86b3711aeb Merge pull request #1 from clearlinux/packages-file-comment-support
Handle packages file containing comments
2018-12-04 10:09:48 -08:00
William Douglas fefc970f2e Handle packages file containing comments
The packages file should be able to contain comments in the same line
as a package name name (everything after the comment character '#' is
to be ignored). Support this with updated logic to find pundle names.
v0.1.3
2018-12-04 10:05:13 -08:00
Matthew Johnson 4da16f17ea Release v0.1.2
This release adds the requeted bundle to the output list for the
--bundles flag.

Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
v0.1.2
2018-04-17 13:31:12 -07:00
Matthew Johnson c63a96da1b Include bundle in list for --bundles
This was already the default behavior for pundles, but not for regularly
defined bundles.

Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
2018-04-17 13:30:10 -07:00
Matthew Johnson 3e7922424f Release v0.1.1
This release adds checks and prints failures for include loops and other
types of errors.

Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
v0.1.1
2018-04-13 14:41:02 -07:00
Matthew Johnson 093e50b043 Detect include loops and report failures
Catch recursion errors and report them, report other failures and set
the returncode to 1 on failures.

Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
2018-04-13 14:38:41 -07:00
Matthew Johnson 19ad0c6713 Release v0.1.0
This release adds os-core implicit-include resolution to unbundle and
adds the --bundles flag to list only included bundles instead of
included packages.

Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
v0.1.0
2018-04-13 13:53:09 -07:00
Matthew Johnson c0066171a7 Update README with new --bundles flag
Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
2018-04-13 13:50:35 -07:00
Matthew Johnson d447730c32 Resolve os-core and add --bundles flag
The os-core bundle is not always listed as an explicit include, despite
being an implicit one. Always add the os-core bundle to the set of
included bundles.

Add a --bundles flag to only report the list of included bundles instead
of the package names.

Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
2018-04-13 13:48:01 -07:00
Matthew Johnson 3e26868c01 Update README 2018-04-12 18:51:53 -07:00
Matthew Johnson 580865499a Release v0.0.1
Initial release of unbundle.

Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
v0.0.1
2018-04-12 17:41:30 -07:00
Matthew Johnson b6bf74e313 Add README
Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
2018-04-12 17:34:46 -07:00
Matthew Johnson 5317e30270 Add GPLv3 license 2018-04-12 17:26:16 -07:00
Matthew Johnson aa197ac10e Initial commit for unbundle
unbundle resolves packages for clr-bundles bundle definitions, resolving
includes. unbundle supports pundle includes.

Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
2018-04-12 17:22:11 -07:00