oamg / convert2rhel

A tool to automate converting Oracle/CentOS/Scientific/Rocky/Alma Linux and CentOS Stream to Red Hat Enterprise Linux
GNU General Public License v3.0
104 stars 84 forks source link

[RHELC-1677] Fix missing /etc/yum.repos.d/ directory on EL9 #1389

Closed hosekadam closed 1 month ago

hosekadam commented 2 months ago

Some packages (e.g. rocky-release or alma-release on EL9) can remove repository directory as their part. Without the directory, sub-man is unable to generate redhat.repo file. This results in inaccessibility of all rhel repositories.

Jira Issues:

Checklist

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.58%. Comparing base (da9502d) to head (3950ac8). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1389 +/- ## ======================================= Coverage 96.57% 96.58% ======================================= Files 71 71 Lines 5082 5090 +8 Branches 879 880 +1 ======================================= + Hits 4908 4916 +8 Misses 98 98 Partials 76 76 ``` | [Flag](https://app.codecov.io/gh/oamg/convert2rhel/pull/1389/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=oamg) | Coverage Δ | | |---|---|---| | [centos-linux-7](https://app.codecov.io/gh/oamg/convert2rhel/pull/1389/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=oamg) | `92.03% <100.00%> (+0.01%)` | :arrow_up: | | [centos-linux-8](https://app.codecov.io/gh/oamg/convert2rhel/pull/1389/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=oamg) | `92.90% <100.00%> (+0.01%)` | :arrow_up: | | [centos-linux-9](https://app.codecov.io/gh/oamg/convert2rhel/pull/1389/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=oamg) | `93.02% <100.00%> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=oamg#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

has-bot commented 2 months ago

/packit test --labels tier0


Comment generated by an automation.

Log | Bot Usage
has-bot commented 2 months ago

/packit test --labels sanity


Comment generated by an automation.

Log | Bot Usage
hosekadam commented 2 months ago

/packit test --labels sanity

hosekadam commented 2 months ago

/packit test --labels sanity

Venefilyn commented 1 month ago

Can fix merge conflicts and merge (without checking if test pass)

If it breaks due to the merge conflict resolve in a different PR we can fix, but likely is fine