Add script for individual package comparisons #1

Open
raktajino wants to merge 1 commits from manual_compare into main
Member

This PR adds a script for doing manual comparisons of individual package versions. It requires 3 arguments - major version, repository (one of BaseOS, AppStream, CodeReady, HighAvailability, and ResilientStorage), and a package name. It then pulls down the SRPM for the package from both the RHEL and Rocky repositories and presents the user with a brief summary of the NEVR and the most recent changelog timestamp.

Example output:

./manual_compare.sh 9 AppStream golang
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
This PR adds a script for doing manual comparisons of individual package versions. It requires 3 arguments - major version, repository (one of BaseOS, AppStream, CodeReady, HighAvailability, and ResilientStorage), and a package name. It then pulls down the SRPM for the package from both the RHEL and Rocky repositories and presents the user with a brief summary of the NEVR and the most recent changelog timestamp. Example output: ``` ./manual_compare.sh 9 AppStream golang 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 ```
raktajino added 1 commit 2023-07-10 14:06:44 +00:00
raktajino requested review from Members 2023-07-10 14:06:55 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b manual_compare main
git pull origin manual_compare

Step 2:

Merge the changes and update on Gitea.
git checkout main
git merge --no-ff manual_compare
git push origin main
Sign in to join this conversation.
No reviewers
testing/Members
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: testing/repocompare#1
No description provided.