Address @tcooper's feedback

This commit is contained in:
Al Bowles 2023-08-15 17:47:23 -05:00
parent ab99fdc8c8
commit a7a99e0756
No known key found for this signature in database
GPG Key ID: 9B42314A30F1A3D1

View File

@ -6,31 +6,37 @@ This SOP covers how to perform the repocompare process, to ensure that Rocky's p
{% include "contacts_top.md" %} {% include "contacts_top.md" %}
To identify which packages may need updates, visit the appropriate [RepoCompare](https://repocompare.rockylinux.org) page, focusing on the **SRPM Repo Comparison** page for each version. To identify which packages may need updates, visit the appropriate [RepoCompare](https://repocompare.rockylinux.org){target=_blank} page, focusing on the **SRPM Repo Comparison** page for each version.
Packages where the **Rocky** version is **lower** than the **RHEL** version likely require an update - you can do a manual comparison to be sure. Packages where the **Rocky** version is **lower** than the **RHEL** version likely require an update - you can do a manual comparison to be sure.
## Setup ## Setup
From a **RHEL8 machine with a valid entitlement**, obtain the repocompare repository: From a **RHEL8 machine with a valid entitlement**, obtain the repocompare repository:
git clone https://git.resf.org/testing/repocompare ``` bash linenums="1"
cd repocompare/ git clone https://git.resf.org/testing/repocompare
cd repocompare/
```
Import the RPM GPG keys for both Rocky and RHEL Import the RPM GPG keys for both Rocky and RHEL
curl -O http://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-Rocky-8 ``` bash linenums="1"
curl -O http://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-Rocky-9 curl -O http://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-Rocky-8
rpm --import RPM-GPG-KEY-Rocky-8 curl -O http://dl.rockylinux.org/pub/rocky/RPM-GPG-KEY-Rocky-9
rpm --import RPM-GPG-KEY-Rocky-9 rpm --import RPM-GPG-KEY-Rocky-8
rpm --import /etc/pki/rpm-gpg/redhat-official rpm --import RPM-GPG-KEY-Rocky-9
rpm --import /etc/pki/rpm-gpg/redhat-official
```
## Comparing a package ## Comparing a package
If the Name/Epoch/Version/Release (NEVR) for the RHEL package is newer than the one for the Rocky package, the package requires an update. In this situation, there will also likely be a newer entry in the changelog for the RHEL package, as shown below: If the Name/Epoch/Version/Release (NEVR) for the RHEL package is newer than the one for the Rocky package, the package requires an update. In this situation, there will also likely be a newer entry in the changelog for the RHEL package, as shown below:
./manual_compare.sh 9 AppStream golang ``` bash linenums="1"
Rocky Linux 9.2 golang 1.19.9 2.el9_2 * Tue May 23 2023 Alejandro Sáez <asm@redhat.com> - 1.19.9-2 ./manual_compare.sh 9 AppStream golang
Red Hat golang 1.19.10 1.el9_2 * Tue Jun 06 2023 David Benoit <dbenoit@redhat.com> - 1.19.10-1 Rocky Linux 9.2 golang 1.19.9 2.el9_2 * Tue May 23 2023 Alejandro Sáez <asm@redhat.com> - 1.19.9-2
Red Hat golang 1.19.10 1.el9_2 * Tue Jun 06 2023 David Benoit <dbenoit@redhat.com> - 1.19.10-1
```
Notice that the Red Hat golang package has a higher version than the Rocky Linux 9.2 package. It also has a newer entry in its changelog. Notice that the Red Hat golang package has a higher version than the Rocky Linux 9.2 package. It also has a newer entry in its changelog.
@ -38,8 +44,10 @@ Notice that the Red Hat golang package has a higher version than the Rocky Linux
Some packages are not considered relevant for repocompare purposes. These include: Some packages are not considered relevant for repocompare purposes. These include:
rhc ``` bash linenums="1"
shim-unsigned rhc
# Any package that exists in RHEL but not in Rocky (denoted by **DOES NOT EXIST** in the Rocky column on the repocompare website) shim-unsigned
# Any package that exists in RHEL but not in Rocky (denoted by **DOES NOT EXIST** in the Rocky column on the repocompare website)
```
{% include "content_bottom.md" %} {% include "content_bottom.md" %}