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:
@@ -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,
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user