feat: add support for package groups in dependency management

- Introduced a new `groups` field in the package specification to categorize packages.
- Updated various functions to handle package groups, including parsing, registration, and querying.
- Enhanced database schema to store package group information.
- Modified the interactive package creation process to allow users to specify package groups.
- Implemented tests to verify the correct handling of package groups in both source and binary repositories.
- Updated the output formatting to include package group information where applicable.
This commit is contained in:
2026-03-25 00:23:16 -05:00
parent 60c26d217a
commit 192cdc1af2
12 changed files with 806 additions and 12 deletions
+2
View File
@@ -514,6 +514,7 @@ impl ParsedStarbuild {
runtime: dedupe_preserve_order(self.dependencies.clone()),
test: Vec::new(),
optional: dedupe_preserve_order(self.optional_dependencies.clone()),
groups: Vec::new(),
lib32: None,
};
let mut alternatives = Alternatives {
@@ -544,6 +545,7 @@ impl ParsedStarbuild {
.cloned()
.unwrap_or_default(),
),
groups: Vec::new(),
lib32: None,
},
);