-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
150 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
...ndpolis-plugin-update/agent/src/main/java/org/s7s/plugin/update/agent/java/UpdateExe.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pub mod package; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
// message RQ_InstallOrUpgradePackages { | ||
// repeated string package = 1; | ||
// } | ||
|
||
// message RQ_RemovePackages { | ||
// repeated string package = 1; | ||
// } | ||
|
||
// message RQ_RefreshPackages { | ||
// } | ||
|
||
pub enum PackageManager { | ||
Pacman, | ||
Apt, | ||
Nix, | ||
} | ||
|
||
#[derive(CouchDocument)] | ||
pub struct Package { | ||
/// Canonical name/identifier | ||
pub name: String, | ||
|
||
/// Package version string | ||
pub version: String, | ||
|
||
/// Type of package manager that manages this package | ||
pub manager: PackageManager, | ||
|
||
/// Textual description of the package | ||
pub description: Option<String>, | ||
|
||
/// Latest available version of the package that can be installed | ||
pub latest_available: Option<String>, | ||
|
||
/// Latest version of the upstream package | ||
pub latest_upstream: Option<String>, | ||
|
||
/// System architecture type | ||
pub architecture: Option<String>, | ||
|
||
/// Package size in bytes as an archive | ||
pub package_size: Option<u64>, | ||
|
||
/// Package size when extracted and installed | ||
pub installed_size: Option<u64>, | ||
|
||
/// Package homepage URL | ||
pub upstream_url: Option<String>, | ||
|
||
/// URL to download the package | ||
pub remote_location: Option<String>, | ||
|
||
/// Remote repository URL | ||
pub repository: Option<String>, | ||
|
||
/// File contents of the package | ||
pub files: Option<Vec<String>>, | ||
|
||
/// Whether the package was explicitly installed or installed as a dependency of another package | ||
pub explicit: Option<bool>, | ||
|
||
/// Licenses under which the package is distributed | ||
pub licenses: Option<Vec<String>>, | ||
|
||
/// Other packages that this package requires | ||
pub dependencies: Option<Vec<String>>, | ||
|
||
/// Other packages that require this package | ||
pub usages: Option<Vec<String>>, | ||
|
||
/// Epoch timestamp when the package was built | ||
pub build_time: Option<u64>, | ||
|
||
/// Epoch timestamp when the package was most recently installed | ||
pub install_time: Option<u64>, | ||
} |
Oops, something went wrong.