Commit graph

22 commits

Author SHA1 Message Date
Till Wegmueller
77f02fdfbd
Add depend module for file-level dependency generation
- Introduced `depend.rs` to handle dependency generation for ELF files, scripts, Python modules, and SMF manifests.
- Implemented file classification and analysis logic with configurable bypass rules and runpath handling.
- Added utility functions to resolve file dependencies into manifest actions using a provided repository.
- Updated `Cargo.toml` with `goblin` dependency for ELF processing.
- Enhanced codebase with default runpath insertion, dynamic token expansion, and Python module import detection.
- Included `pkgdepend` documentation for dependency resolution overview.
2025-08-30 18:35:41 +02:00
Till Wegmueller
7cffa6c4e6
Add transformer module for manifest transformation logic
- Introduced `transformer.rs` with a structured approach for parsing and applying transformation rules.
- Added support for operations like `add`, `default`, `delete`, `drop`, `edit`, `emit`, and `set` on attributes, files, directories, and other targets.
- Implemented regex-based matching for patterns and backreference handling in transformations.
- Enhanced manifest modification functionality, including attribute/facet operations and deferred action emission.
- Added comprehensive unit tests to validate transformation rules and their applications.
2025-08-28 23:50:59 +02:00
Till Wegmueller
28a18c088a
implement dependency solver based on resolvo 2025-08-13 22:09:19 +02:00
Till Wegmueller
4649608408
Replace anyhow with custom RepositoryError for improved error specificity and consistency. Remove anyhow dependency. 2025-07-26 16:50:10 +02:00
Till Wegmueller
a33a3246b6
chore(fmt): format with cargo fmt 2025-07-26 12:54:01 +02:00
Till Wegmueller
5d987ca0cb
Refactor package FMRI handling by introducing Fmri struct, update dependencies, and adjust repository and action modules for structured FMRI data processing
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2025-07-22 14:10:37 +02:00
Till Wegmueller
1a5e0e053d
Add repository module and update dependencies
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2025-07-21 22:02:05 +02:00
Till Wegmueller
5cea5186d7
Add serde and image starter module
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2024-08-14 20:02:29 +02:00
Till Wegmueller
640fc4f611
fixing clippy issues
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2023-03-25 13:08:40 +01:00
Till Wegmueller
4ebecbd153 Adding ports and specfile crates. Switch to thiserror for libraries 2022-09-02 23:48:26 +02:00
Till Wegmueller
bf5c8253a8 Remove unused import 2022-07-31 16:51:03 -03:00
Till Wegmueller
3481814af2 Switch to anyhow and thiserror
Update clap to version 3
Make golang file parseable by removing line breaks
2022-03-24 19:48:41 -03:00
Till Wegmueller
d129518d33 Add Unicode parsing
Add Linebreak parsing
2021-09-04 23:58:43 -03:00
Till Wegmueller
665ea0bed1 Update tests 2021-05-01 16:12:20 -03:00
Till Wegmueller
499e5aee59 Remove extra println 2021-04-24 19:14:30 -03:00
Till Wegmueller
5b52c8565a Fixup tests 2021-04-24 19:13:41 -03:00
Till Wegmueller
991ea1d86c Fix tests with pest parsing 2021-04-20 19:57:47 -03:00
Till Wegmueller
48525d3122 Implement pest parsing 2021-04-19 23:38:56 -03:00
Till Wegmueller
d557773763 Fix tests 2021-04-19 21:34:40 -03:00
Till Wegmueller
40f18ef38f WIP: pest parser 2021-04-19 09:35:05 -03:00
Till Wegmueller
bae6f32d88 WIP: Add Capability to generate manifest file 2021-04-13 22:20:43 -03:00
Till Wegmueller
25ff8bc9d4 merging all ips packages into one repo 2021-03-21 14:12:03 -03:00
Renamed from src/lib.rs (Browse further)