-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement bundle-info command #461
Comments
Note that it would be nice to query additional information about bundles that are not installed as well. So, the metadata may not originate from Another implementation idea: perhaps another meta-bundle could be created (like Or |
A solution was merged and released in clearlinux/mixer-tools#336 to provide bundle info JSON files under |
Suggestion on bundle-info parameters: swupd bundle-info bundle-name
swupd bundle-info --includes bundle-name
swupd bundle-info --packages bundle-name
swupd bundle-info --direct-packages bundle-name
swupd bundle-info --files bundle-name
Reverse search for those commands: swupd bundle-info --has-include bundle-name Search functionality:
|
@otaviobp we should probably include the sizes of the bundles there too as search does |
More details:
|
For showing the bundle size we have the following scenarios for
|
The bundle-info command shows detailed data related to a specified bundle. Among the data currently displayed it includes: - If the bundle is installed or not - If the bundle is experimental or not - If the bundle is installed, it shows if there is an existing update for the bundle - The latest available version of the bundle - The size of the bundle and all its dependencies - The size needed in disk to install a bundle if not installed This commit also adds the following command flags: --version: so a user can display information for a bundle in a specific version, not only the current version. --includes: this flag can be used to show all optional and required bundles that are directly and indirectly included by the specified bundle. --files: this flag can be used to show all files that are part of a given bundle. All flags can be combined to show specific data. This is the first of a series of PRs to implement the bundle-info features referred to at clearlinux#461. Signed-off-by: Castulo Martinez <[email protected]>
The bundle-info command shows detailed data related to a specified bundle. Among the data currently displayed it includes: - If the bundle is installed or not - If the bundle is experimental or not - If the bundle is installed, it shows if there is an existing update for the bundle - The latest available version of the bundle - The size of the bundle and all its dependencies - The size needed in disk to install a bundle if not installed This commit also adds the following command flags: --version: so a user can display information for a bundle in a specific version, not only the current version. --includes: this flag can be used to show all optional and required bundles that are directly and indirectly included by the specified bundle. --files: this flag can be used to show all files that are part of a given bundle. All flags can be combined to show specific data. This is the first of a series of PRs to implement the bundle-info features referred to at clearlinux#461. Signed-off-by: Castulo Martinez <[email protected]>
The bundle-info command shows detailed data related to a specified bundle. Among the data currently displayed it includes: - If the bundle is installed or not - If the bundle is experimental or not - If the bundle is installed, it shows if there is an existing update for the bundle - The latest available version of the bundle - The size of the bundle and all its dependencies - The size needed in disk to install a bundle if not installed This commit also adds the following command flags: --version: so a user can display information for a bundle in a specific version, not only the current version. --includes: this flag can be used to show all optional and required bundles that are directly and indirectly included by the specified bundle. --files: this flag can be used to show all files that are part of a given bundle. All flags can be combined to show specific data. This is the first of a series of PRs to implement the bundle-info features referred to at clearlinux#461. Signed-off-by: Castulo Martinez <[email protected]>
The bundle-info command shows detailed data related to a specified bundle. Among the data currently displayed it includes: - If the bundle is installed or not - If the bundle is experimental or not - If the bundle is installed, it shows if there is an existing update for the bundle - The latest available version of the bundle - The size of the bundle and all its dependencies - The size needed in disk to install a bundle if not installed This commit also adds the following command flags: --version: so a user can display information for a bundle in a specific version, not only the current version. --includes: this flag can be used to show all optional and required bundles that are directly and indirectly included by the specified bundle. --files: this flag can be used to show all files that are part of a given bundle. All flags can be combined to show specific data. This is the first of a series of PRs to implement the bundle-info features referred to at clearlinux#461. Signed-off-by: Castulo Martinez <[email protected]>
The bundle-info command shows detailed data related to a specified bundle. Among the data currently displayed it includes: - If the bundle is installed or not - If the bundle is experimental or not - If the bundle is installed, it shows if there is an existing update for the bundle - The latest available version of the bundle - The size of the bundle and all its dependencies - The size needed in disk to install a bundle if not installed This commit also adds the following command flags: --version: so a user can display information for a bundle in a specific version, not only the current version. --includes: this flag can be used to show all optional and required bundles that are directly and indirectly included by the specified bundle. --files: this flag can be used to show all files that are part of a given bundle. All flags can be combined to show specific data. This is the first of a series of PRs to implement the bundle-info features referred to at clearlinux#461. Signed-off-by: Castulo Martinez <[email protected]>
The bundle-info command shows detailed data related to a specified bundle. Among the data currently displayed it includes: - If the bundle is installed or not - If the bundle is experimental or not - If the bundle is installed, it shows if there is an existing update for the bundle - The latest available version of the bundle - The size of the bundle and all its dependencies - The size needed in disk to install a bundle if not installed This commit also adds the following command flags: --version: so a user can display information for a bundle in a specific version, not only the current version. --includes: this flag can be used to show all optional and required bundles that are directly and indirectly included by the specified bundle. --files: this flag can be used to show all files that are part of a given bundle. All flags can be combined to show specific data. This is the first of a series of PRs to implement the bundle-info features referred to at clearlinux#461. Signed-off-by: Castulo Martinez <[email protected]>
The bundle-info command shows detailed data related to a specified bundle. Among the data currently displayed it includes: - If the bundle is installed or not - If the bundle is experimental or not - If the bundle is installed, it shows if there is an existing update for the bundle - The latest available version of the bundle - The size of the bundle and all its dependencies - The size needed in disk to install a bundle if not installed This commit also adds the following command flags: --version: so a user can display information for a bundle in a specific version, not only the current version. --includes: this flag can be used to show all optional and required bundles that are directly and indirectly included by the specified bundle. --files: this flag can be used to show all files that are part of a given bundle. All flags can be combined to show specific data. This is the first of a series of PRs to implement the bundle-info features referred to at clearlinux#461. Signed-off-by: Castulo Martinez <[email protected]>
The bundle-info command shows detailed data related to a specified bundle. Among the data currently displayed it includes: - If the bundle is installed or not - If the bundle is experimental or not - If the bundle is installed, it shows if there is an existing update for the bundle - The latest available version of the bundle - The size of the bundle and all its dependencies - The size needed in disk to install a bundle if not installed This commit also adds the following command flags: --version: so a user can display information for a bundle in a specific version, not only the current version. --includes: this flag can be used to show all optional and required bundles that are directly and indirectly included by the specified bundle. --files: this flag can be used to show all files that are part of a given bundle. All flags can be combined to show specific data. This is the first of a series of PRs to implement the bundle-info features referred to at clearlinux#461. Signed-off-by: Castulo Martinez <[email protected]>
The bundle-info command shows detailed data related to a specified bundle. Among the data currently displayed it includes: - If the bundle is installed or not - If the bundle is experimental or not - If the bundle is installed, it shows if there is an existing update for the bundle - The latest available version of the bundle - The size of the bundle and all its dependencies - The max size needed in disk to install a bundle if not installed This commit also adds the following command flags: --version: so a user can display information for a bundle in a specific version, not only the current version. --dependencies: this flag can be used to show all optional and required bundles that are directly and indirectly included by the specified bundle. --files: this flag can be used to show all files that are part of a given bundle. All flags can be combined to show specific data. This is the first of a series of PRs to implement the bundle-info features referred to at clearlinux#461. Signed-off-by: Castulo Martinez <[email protected]>
The bundle-info command shows detailed data related to a specified bundle. Among the data currently displayed it includes: - If the bundle is installed or not - If the bundle is experimental or not - If the bundle is installed, it shows if there is an existing update for the bundle - The latest available version of the bundle - The size of the bundle and all its dependencies - The max size needed in disk to install a bundle if not installed This commit also adds the following command flags: --version: so a user can display information for a bundle in a specific version, not only the current version. --dependencies: this flag can be used to show all optional and required bundles that are directly and indirectly included by the specified bundle. --files: this flag can be used to show all files that are part of a given bundle. All flags can be combined to show specific data. This is the first of a series of PRs to implement the bundle-info features referred to at clearlinux#461. Signed-off-by: Castulo Martinez <[email protected]>
The bundle-info command shows detailed data related to a specified bundle. Among the data currently displayed it includes: - If the bundle is installed or not - If the bundle is experimental or not - If the bundle is installed, it shows if there is an existing update for the bundle - The latest available version of the bundle - The size of the bundle and all its dependencies - The max size needed in disk to install a bundle if not installed This commit also adds the following command flags: --version: so a user can display information for a bundle in a specific version, not only the current version. --dependencies: this flag can be used to show all optional and required bundles that are directly and indirectly included by the specified bundle. --files: this flag can be used to show all files that are part of a given bundle. All flags can be combined to show specific data. This is the first of a series of PRs to implement the bundle-info features referred to at clearlinux#461. Signed-off-by: Castulo Martinez <[email protected]>
The bundle-info command shows detailed data related to a specified bundle. Among the data currently displayed it includes: - If the bundle is installed or not - If the bundle is experimental or not - If the bundle is installed, it shows if there is an existing update for the bundle - The latest available version of the bundle - The size of the bundle and all its dependencies - The max size needed in disk to install a bundle if not installed This commit also adds the following command flags: --version: so a user can display information for a bundle in a specific version, not only the current version. --dependencies: this flag can be used to show all optional and required bundles that are directly and indirectly included by the specified bundle. --files: this flag can be used to show all files that are part of a given bundle. All flags can be combined to show specific data. This is the first of a series of PRs to implement the bundle-info features referred to at clearlinux#461. Signed-off-by: Castulo Martinez <[email protected]>
The bundle-info command shows detailed data related to a specified bundle. Among the data currently displayed it includes: - If the bundle is installed or not - If the bundle is experimental or not - If the bundle is installed, it shows if there is an existing update for the bundle - The latest available version of the bundle - The size of the bundle and all its dependencies - The max size needed in disk to install a bundle if not installed This commit also adds the following command flags: --version: so a user can display information for a bundle in a specific version, not only the current version. --dependencies: this flag can be used to show all optional and required bundles that are directly and indirectly included by the specified bundle. --files: this flag can be used to show all files that are part of a given bundle. All flags can be combined to show specific data. This is the first of a series of PRs to implement the bundle-info features referred to at clearlinux#461. Signed-off-by: Castulo Martinez <[email protected]>
The bundle-info command shows detailed data related to a specified bundle. Among the data currently displayed it includes: - If the bundle is installed or not - If the bundle is experimental or not - If the bundle is installed, it shows if there is an existing update for the bundle - The latest available version of the bundle - The size of the bundle and all its dependencies - The max size needed in disk to install a bundle if not installed This commit also adds the following command flags: --version: so a user can display information for a bundle in a specific version, not only the current version. --dependencies: this flag can be used to show all optional and required bundles that are directly and indirectly included by the specified bundle. --files: this flag can be used to show all files that are part of a given bundle. All flags can be combined to show specific data. This is the first of a series of PRs to implement the bundle-info features referred to at #461. Signed-off-by: Castulo Martinez <[email protected]>
Some of the functionality for bundle-info has been implemented in PR #1079, the missing features will be tracked in separate issues as shown next:
The bundle Description and maintainer is information that is currently not available to swupd, to implement this mixer will need to make this info available to swupd. Tracked in #1154
Implemented in #1079
This information is currently not available to swupd, to implement this mixer will need to make this info available to swupd. Tracked in #1154
This information is currently not available to swupd, to implement this mixer will need to make this info available to swupd. Tracked in #1154
Implemented in #1079
This reverse search functionality will be implemented as part of the
Some of this functionality is already covered by other command like |
The files in
/usr/share/clear/bundles
are currently used by swupd-client to track which bundles are installed on the system. However, it may be nice for those files to store bundle metadata as well; then swupd-client could gain the ability to query that metadata, perhaps with a newbundle-info
command.The mixer feature for storing additional metadata is tracked at clearlinux/mixer-tools#333.
The text was updated successfully, but these errors were encountered: