-
-
Notifications
You must be signed in to change notification settings - Fork 53
WIP: Add support for Anaconda backend #738
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
Draft
meisenzahl
wants to merge
19
commits into
main
Choose a base branch
from
anaconda-backend
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 15 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
d43e49a
DBusStructures: Add new file system enum and partition usage struct
meisenzahl ff2b6d0
DBusStructures: Add to_string method to FileSystem enum
meisenzahl 5853498
Update file system types to use InstallerDaemon
meisenzahl 8c137fe
Daemon: Convert file system and partition usage to common format
meisenzahl 3e041ce
Add PartitionTable enum and update
meisenzahl 3a2ed8d
Add new enums and struct for InstallerDaemon and update flags in Daem…
meisenzahl c1e4fa9
Refactor to_common_usage_bootloader method in Daemon class
meisenzahl 7cdde6a
Add InstallerDaemon.LogLevel and InstallerDaemon.Error to InstallerDa…
meisenzahl 08a0147
Utils: Remove distinst specific code
meisenzahl dd09a4b
Refactor file common/DBusStructures.vala to handle FileSystem.NONE ca…
meisenzahl 82c20cd
Remove distinst_dep from gui_dependencies
meisenzahl 2d382d2
Add support for Distinst installer backend in
meisenzahl 400d567
Satisfy linter
meisenzahl bd4c3e8
Add AnacondaBackend for installer backend option
meisenzahl f7b989f
GitHub CI: Build anaconda backend
meisenzahl a27bda7
DBusStructures: Refactor to unowned reference
meisenzahl 6be9230
Merge branch 'prepare-backends' into anaconda-backend
meisenzahl c2ddbc4
Merge branch 'main' into anaconda-backend
meisenzahl 94135fa
ProgressView: Output config
meisenzahl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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,47 @@ | ||
| /* | ||
| * Copyright 2023 elementary, Inc. | ||
| * | ||
| * This program is free software: you can redistribute it and/or modify | ||
| * it under the terms of the GNU General Public License as published by | ||
| * the Free Software Foundation, either version 3 of the License, or | ||
| * (at your option) any later version. | ||
| * | ||
| * This program is distributed in the hope that it will be useful, | ||
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| * GNU General Public License for more details. | ||
| * | ||
| * You should have received a copy of the GNU General Public License | ||
| * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| */ | ||
|
|
||
| [DBus (name = "io.elementary.InstallerDaemon")] | ||
| public class InstallerDaemon.AnacondaBackend : GLib.Object { | ||
| public signal void on_log_message (InstallerDaemon.LogLevel level, string message); | ||
| public signal void on_status (InstallerDaemon.Status status); | ||
| public signal void on_error (InstallerDaemon.Error error); | ||
|
|
||
| public InstallerDaemon.PartitionTable bootloader_detect () throws GLib.Error { | ||
| return InstallerDaemon.PartitionTable.NONE; | ||
| } | ||
|
|
||
| public DiskInfo get_disks (bool get_partitions = false) throws GLib.Error { | ||
| return DiskInfo (); | ||
| } | ||
|
|
||
| public int decrypt_partition (string path, string pv, string password) throws GLib.Error { | ||
| return 0; | ||
| } | ||
|
|
||
| public Disk get_logical_device (string pv) throws GLib.Error { | ||
| return Disk (); | ||
| } | ||
|
|
||
| public void install_with_default_disk_layout (InstallConfig config, string disk, bool encrypt, string encryption_password) throws GLib.Error {} | ||
|
|
||
| public void install_with_custom_disk_layout (InstallConfig config, Mount[] disk_config, LuksCredentials[] credentials) throws GLib.Error {} | ||
|
|
||
| public void set_demo_mode_locale (string locale) throws GLib.Error {} | ||
|
|
||
| public void trigger_demo_mode () throws GLib.Error {} | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.