mirror of
https://github.com/13hannes11/toolbx-tuner.git
synced 2024-09-03 23:21:00 +02:00
@@ -10,7 +10,7 @@ Toolbx Tuner is a tool to improve the experience with [toolbx](https://container
|
|||||||
The project is currently only a user-interface concept. The program is not actually usable.
|
The project is currently only a user-interface concept. The program is not actually usable.
|
||||||
|
|
||||||
- [x] UI prototype
|
- [x] UI prototype
|
||||||
- [x] [Continious development releases](https://github.com/13hannes11/toolbx-tuner/releases/tag/dev)
|
- [x] [Continuous development releases](https://github.com/13hannes11/toolbx-tuner/releases/tag/dev)
|
||||||
- [x] Flatpak support
|
- [x] Flatpak support
|
||||||
- [ ] [MVP](https://github.com/13hannes11/toolbx-tuner/milestone/1)
|
- [ ] [MVP](https://github.com/13hannes11/toolbx-tuner/milestone/1)
|
||||||
- [ ] Publish on Flathub
|
- [ ] Publish on Flathub
|
||||||
@@ -40,7 +40,7 @@ This project now uses *Gnome Builder* as main build tool and the Flatpak toolcha
|
|||||||
|
|
||||||
### Traditional Compilation
|
### Traditional Compilation
|
||||||
|
|
||||||
1. This project is built with `Relm4`, therefore, the pre-requisits for gtk4 need to be installed. Follow the [gtk4-rs book's](https://gtk-rs.org/gtk4-rs/stable/latest/book/installation_linux.html) installation instructions.
|
1. This project is built with `Relm4`, therefore, the pre-requisites for gtk4 need to be installed. Follow the [gtk4-rs book's](https://gtk-rs.org/gtk4-rs/stable/latest/book/installation_linux.html) installation instructions.
|
||||||
2. Compile with:
|
2. Compile with:
|
||||||
* `cargo build` or
|
* `cargo build` or
|
||||||
* `cargo run`
|
* `cargo run`
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ configure_file(
|
|||||||
install_dir: datadir / 'glib-2.0' / 'schemas'
|
install_dir: datadir / 'glib-2.0' / 'schemas'
|
||||||
)
|
)
|
||||||
|
|
||||||
# Validata GSchema
|
# Validate GSchema
|
||||||
if glib_compile_schemas.found()
|
if glib_compile_schemas.found()
|
||||||
test(
|
test(
|
||||||
'validate-gschema', glib_compile_schemas,
|
'validate-gschema', glib_compile_schemas,
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ impl ToolbxContainer {
|
|||||||
Ok(inspect_vec) => match inspect_vec.first() {
|
Ok(inspect_vec) => match inspect_vec.first() {
|
||||||
Some(info) => Ok(info.clone()),
|
Some(info) => Ok(info.clone()),
|
||||||
None => Err(ToolbxError::JSONSerializationError(
|
None => Err(ToolbxError::JSONSerializationError(
|
||||||
"Inspect command returned empty vecotr.".to_string(),
|
"Inspect command returned empty vector.".to_string(),
|
||||||
)),
|
)),
|
||||||
},
|
},
|
||||||
Err(e) => Err(ToolbxError::JSONSerializationError(e.to_string())),
|
Err(e) => Err(ToolbxError::JSONSerializationError(e.to_string())),
|
||||||
@@ -216,7 +216,7 @@ impl ToolbxContainer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_start_1non_existing_containter() {
|
fn test_start_1non_existing_container() {
|
||||||
// TODO: create container that exists based on simple image
|
// TODO: create container that exists based on simple image
|
||||||
// run command
|
// run command
|
||||||
// delete container
|
// delete container
|
||||||
@@ -244,7 +244,7 @@ fn test_inspect_parsing() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_start_non_existing_containter() {
|
fn test_start_non_existing_container() {
|
||||||
let name = "zy2lM6BdZoTnKHaVPkUJ".to_string();
|
let name = "zy2lM6BdZoTnKHaVPkUJ".to_string();
|
||||||
let mut tbx = ToolbxContainer {
|
let mut tbx = ToolbxContainer {
|
||||||
created: "".to_string(),
|
created: "".to_string(),
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ impl Widgets<ToolboxSettingsDialogModel, AppModel> for ToolboxSettingsDialogWidg
|
|||||||
add = &adw::PreferencesGroup {
|
add = &adw::PreferencesGroup {
|
||||||
set_title: "Home Folder",
|
set_title: "Home Folder",
|
||||||
add = &adw::PreferencesRow {
|
add = &adw::PreferencesRow {
|
||||||
set_title: "Seperate Home Folder",
|
set_title: "Separate Home Folder",
|
||||||
set_child = Some(&adw::ActionRow) {
|
set_child = Some(&adw::ActionRow) {
|
||||||
set_title: "Use separate home folder",
|
set_title: "Use separate home folder",
|
||||||
add_suffix = >k::Box {
|
add_suffix = >k::Box {
|
||||||
|
|||||||
Reference in New Issue
Block a user