-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganize Ruby and Rust packages (#1056)
Since we started to build Agama, we have introduced *a lot* of changes. Initially, it was just Ruby code, but then we introduced the Agama CLI, moved some code to Rust, etc. So, it is time to reorganize our packages. This PR includes the following changes: * A new `agama` package that contains `agama-dbus-server` and `agama-web-server` binaries. You don't need to keep them separated. * A new `agama-cli` package, which is a subpackage of `agama`. * Renamed the `rubygem-agama` package to `rubygem-agama-yast` package as, in the short term, it should only contain YaST-specific bits to Agama. * Additionally, it re-enable some tests and fixes some warnings. You can (temporarily) see the results in [my home project](https://build.opensuse.org/project/show/home:IGonzalezSosa:branches:systemsmanagement:Agama:Staging). ## Todo - [x] Rename `rubygem-agama` to `rubygem-agama-yast` - [x] Reorganize Rust-based packages - [x] Update the documentation - [x] Update the changes files ## Links * Trello: https://trello.com/c/8KGOkTkE/
- Loading branch information
Showing
65 changed files
with
76 additions
and
64 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
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
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Submit rubygem-agama | ||
name: Submit rubygem-agama-yast | ||
|
||
on: | ||
# runs on pushes targeting the default branch | ||
|
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
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
rust/agama-dbus-server/tests/l10n.rs → rust/agama-server/tests/l10n.rs
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
mod common; | ||
pub mod common; | ||
|
||
use agama_dbus_server::l10n::web::l10n_service; | ||
use axum::{ | ||
|
2 changes: 1 addition & 1 deletion
2
rust/agama-dbus-server/tests/network.rs → rust/agama-server/tests/network.rs
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
mod common; | ||
pub mod common; | ||
|
||
use self::common::{async_retry, DBusServer}; | ||
use agama_dbus_server::network::{ | ||
|
2 changes: 1 addition & 1 deletion
2
rust/agama-dbus-server/tests/service.rs → rust/agama-server/tests/service.rs
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
mod common; | ||
pub mod common; | ||
|
||
use agama_dbus_server::{ | ||
service, | ||
|
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
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 |
---|---|---|
@@ -1,3 +1,11 @@ | ||
------------------------------------------------------------------- | ||
Tue Feb 27 15:55:28 UTC 2024 - Imobach Gonzalez Sosa <[email protected]> | ||
|
||
- Reorganize RPM packages (gh#openSUSE/agama#1056): | ||
* agama is now the main package and it contains agama-dbus-server | ||
and agama-web-server. | ||
* agama-cli is a subpackage. | ||
|
||
------------------------------------------------------------------- | ||
Wed Feb 7 11:49:02 UTC 2024 - Imobach Gonzalez Sosa <[email protected]> | ||
|
||
|
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# frozen_string_literal: true | ||
|
||
# | ||
# Copyright (c) [2022] SUSE LLC | ||
# Copyright (c) 2022-2024 SUSE LLC | ||
# | ||
# All Rights Reserved. | ||
# | ||
|
@@ -21,7 +21,7 @@ | |
# find current contact information at www.suse.com. | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "agama" | ||
spec.name = "agama-yast" | ||
|
||
# in a git checkout? | ||
if File.exist?(File.join(__dir__, "../.git")) | ||
|
@@ -33,8 +33,8 @@ Gem::Specification.new do |spec| | |
spec.version = "99.yupdate" | ||
end | ||
|
||
spec.summary = "Agama Installer Service" | ||
spec.description = "System service for Agama, an experimental YaST-based installer." | ||
spec.summary = "YaST integration service for Agama" | ||
spec.description = "D-Bus service exposing some YaST features that are useful for Agama." | ||
spec.author = "YaST Team" | ||
spec.email = "[email protected]" | ||
spec.homepage = "https://github.com/openSUSE/agama" | ||
|
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
6 changes: 6 additions & 0 deletions
6
service/package/rubygem-agama.changes → service/package/rubygem-agama-yast.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 |
---|---|---|
@@ -1,3 +1,9 @@ | ||
------------------------------------------------------------------- | ||
Tue Feb 27 15:53:46 UTC 2024 - Imobach Gonzalez Sosa <[email protected]> | ||
|
||
- Rename the gem to agama-yast and the package to | ||
rubygem-agama-yast (gh#openSUSE/agama#1056). | ||
|
||
------------------------------------------------------------------- | ||
Tue Feb 20 13:15:15 UTC 2024 - José Iván López González <[email protected]> | ||
|
||
|
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