-
Notifications
You must be signed in to change notification settings - Fork 45
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
12 changed files
with
52 additions
and
5 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 |
---|---|---|
|
@@ -23,19 +23,27 @@ Please view our [guide](docs/installation.md) to assist you in the RMT installat | |
sudo zypper in libxml2-devel libxslt-devel libmariadb-devel gcc | ||
``` | ||
2. Install the ruby version specified in the `.ruby-version` [file](.ruby-version). | ||
3. Install and start either the MariaDB or MySQL server: | ||
3. Install and setup the database: | ||
**Default: MariaDB or MySQL server** | ||
``` | ||
sudo zypper in mariadb | ||
sudo systemctl enable mariadb | ||
sudo systemctl start mariadb | ||
``` | ||
4. Log into the MariaDB or MySQL server as root and create the RMT database user: | ||
Log into the MariaDB or MySQL server as root and create the RMT database user: | ||
``` | ||
mysql -u root -p <<EOFF | ||
GRANT ALL PRIVILEGES ON \`rmt%\`.* TO rmt@localhost IDENTIFIED BY 'rmt'; | ||
FLUSH PRIVILEGES; | ||
EOFF | ||
``` | ||
**Experimental: SQLite** | ||
For development purposes it can be easier to run with SQLite, to avoid extra dependencies. | ||
To run RMT with SQLite, switch the database adapter in `config/rmt.yml` to `sqlite3`. | ||
5. Clone the RMT repository: | ||
``` | ||
git clone [email protected]:SUSE/rmt.git | ||
|
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
14 changes: 14 additions & 0 deletions
14
db/migrate/20240129140413_remove_obsolete_res7_repositories.rb
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,14 @@ | ||
class RemoveObsoleteRes7Repositories < ActiveRecord::Migration[6.1] | ||
def change | ||
# RES7 was historically a product managed by Novell. With the upcoming | ||
# SUSE Liberty 7, RES7 was moved into IBS (SUSE build service). | ||
# This resulted in repositories being renamed. | ||
# This migration removes the now obsolete repositories, since RMT does | ||
# not remove these automatically. | ||
|
||
# Affected repositories are: | ||
# - 1963: https://updates.suse.com/repo/$RCE/RES7/src/ | ||
# - 1736: https://updates.suse.com/repo/$RCE/RES7/x86_64/ | ||
Repository.where(scc_id: [1963, 1736]).destroy_all | ||
end | ||
end |
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,6 +1,7 @@ | ||
require 'rmt/lockfile' | ||
require 'rmt/cli/decorators' | ||
require 'etc' | ||
require 'mysql2' | ||
|
||
class RMT::CLI::Base < Thor | ||
|
||
|
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,5 +1,5 @@ | ||
------------------------------------------------------------------- | ||
Wed Oct 04 13:23:00 UTC 2023 - Felix Schnizlein <[email protected]> | ||
Thu Jan 25 17:40:00 UTC 2024 - Felix Schnizlein <[email protected]> | ||
|
||
- Version 2.15: | ||
* Moving system hardware information to systems database table to | ||
|
@@ -8,6 +8,7 @@ Wed Oct 04 13:23:00 UTC 2023 - Felix Schnizlein <[email protected]> | |
* rmt-client-setup-res script: fix for CentOS8 clients (bsc#1214709) | ||
* Updated supportconfig script (bsc#1216389) | ||
* Support zstd compression for repository metadata (bsc#1218775) | ||
* Do not add credential handling to normal repository URLs (#1219153) | ||
|
||
------------------------------------------------------------------- | ||
Thu Jun 06 15:44:00 UTC 2023 - Luís Caparroz <[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