Skip to content

Commit 1e052c8

Browse files
committed
Introduce leapp data in the RPM & repository
In the past it was needed to obtain the data by * automatic download of data files from RH Insights (cloud.redhat.com) - which required access to the server & have the system registered * manual download from the article: https://access.redhat.com/articles/3664871 which required to login to the portal, download the archive and install its content manually on the system Additional problem was with the syncing of data, as because of the separation of data from the code, people had ensure they are using the right combination of data and SW manually - in case the data has not been downloaded automatically from RH Insights. Having the data in the RPM makes our lives easier so let's install them to `/etc/leapp/files/` via the package directly. Set /etc/leapp/files/* as configuration files to ensure that modified files will be backed up with *.rpmsave suffix as expected for configuration files. This could be important in case users manually updated e.g. repomap.json file to reflect their internal settings of the satellite server. The complete table how the configuration files are handled during rpm installation/upgrade/... is here: https://www.cl.cam.ac.uk/~jw35/docs/rpm_config.html Keeping original functionality still available, so if people remove the files from the system, data can be still downloaded from the server automatically. It seems it does not make sense, but we could still use the possibility to download more up-to-date data from RH Insights. Configure codespell to ignore .etc/leapp/files
1 parent d1a7170 commit 1e052c8

File tree

5 files changed

+509255
-1
lines changed

5 files changed

+509255
-1
lines changed

.github/workflows/codespell.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,8 @@ jobs:
2020
ignore_words_list: ro,fo,couldn,repositor
2121
skip: "./repos/system_upgrade/common/actors/storagescanner/tests/files/mounts,\
2222
./repos/system_upgrade/el7toel8/actors/networkmanagerreadconfig/tests/files/nm_cfg_file_error,\
23-
./repos/system_upgrade/common/actors/scancpu/tests/files/lscpu_s390x"
23+
./repos/system_upgrade/common/actors/scancpu/tests/files/lscpu_s390x,\
24+
./etc/leapp/files/device_driver_deprecation_data.json,\
25+
./etc/leapp/files/pes-events.json,\
26+
./etc/leapp/files/repomap.json"
27+

0 commit comments

Comments
 (0)