Hi everyone,
Is there some sort of specfile tarball or other method to search through all the CentOS Stream specfiles for a regex? In Fedora, we have a tarball[1] with all the specfiles that's generated daily, as well as access to Sourcegraph[2]. Is there an equivalent for CentOS Stream/RHEL? Of course, I could manually extract them from the *-source yum repos' SRPMs or distgit, but that would be tedious.
[1]: https://src.fedoraproject.org/lookaside/git-seed-latest.tar.xz [2]: https://sourcegraph.com/search? q=context:global+r:src.fedoraproject.org+file:.*%5C.spec%24+ %5EName:&patternType=regexp&case=yes
On Wed, Jun 8, 2022 at 10:26 PM Maxwell G via CentOS-devel centos-devel@centos.org wrote:
Hi everyone,
Is there some sort of specfile tarball or other method to search through all the CentOS Stream specfiles for a regex? In Fedora, we have a tarball[1] with all the specfiles that's generated daily, as well as access to Sourcegraph[2]. Is there an equivalent for CentOS Stream/RHEL? Of course, I could manually extract them from the *-source yum repos' SRPMs or distgit, but that would be tedious.
Not to my knowledge.
josh
On Wed, 2022-06-08 at 21:26 -0500, Maxwell G via CentOS-devel wrote:
Hi everyone,
Is there some sort of specfile tarball or other method to search through all the CentOS Stream specfiles for a regex? In Fedora, we have a tarball[1] with all the specfiles that's generated daily, as well as access to Sourcegraph[2]. Is there an equivalent for CentOS Stream/RHEL? Of course, I could manually extract them from the *-source yum repos' SRPMs or distgit, but that would be tedious.
It's a recent addition (see https://pagure.io/centos-infra/issue/760 for details), but try https://git.centos.org/sources/rpm-specs-latest.tar.xz
Cheers Davide
On Thu, Jun 9, 2022 at 11:59 AM Davide Cavalca via CentOS-devel centos-devel@centos.org wrote:
On Wed, 2022-06-08 at 21:26 -0500, Maxwell G via CentOS-devel wrote:
Hi everyone,
Is there some sort of specfile tarball or other method to search through all the CentOS Stream specfiles for a regex? In Fedora, we have a tarball[1] with all the specfiles that's generated daily, as well as access to Sourcegraph[2]. Is there an equivalent for CentOS Stream/RHEL? Of course, I could manually extract them from the *-source yum repos' SRPMs or distgit, but that would be tedious.
It's a recent addition (see https://pagure.io/centos-infra/issue/760 for details), but try https://git.centos.org/sources/rpm-specs-latest.tar.xz
Oh, fantastic! Thanks for teaching me something.
josh
On Thu, Jun 9, 2022 at 12:19 PM Josh Boyer jwboyer@redhat.com wrote:
On Thu, Jun 9, 2022 at 11:59 AM Davide Cavalca via CentOS-devel centos-devel@centos.org wrote:
On Wed, 2022-06-08 at 21:26 -0500, Maxwell G via CentOS-devel wrote:
Hi everyone,
Is there some sort of specfile tarball or other method to search through all the CentOS Stream specfiles for a regex? In Fedora, we have a tarball[1] with all the specfiles that's generated daily, as well as access to Sourcegraph[2]. Is there an equivalent for CentOS Stream/RHEL? Of course, I could manually extract them from the *-source yum repos' SRPMs or distgit, but that would be tedious.
It's a recent addition (see https://pagure.io/centos-infra/issue/760 for details), but try https://git.centos.org/sources/rpm-specs-latest.tar.xz
Oh, fantastic! Thanks for teaching me something.
Oh yay! This will definitely be useful! :)
On Thu, Jun 9, 2022 at 1:12 PM Neal Gompa ngompa13@gmail.com wrote:
On Thu, Jun 9, 2022 at 12:19 PM Josh Boyer jwboyer@redhat.com wrote:
On Thu, Jun 9, 2022 at 11:59 AM Davide Cavalca via CentOS-devel centos-devel@centos.org wrote:
On Wed, 2022-06-08 at 21:26 -0500, Maxwell G via CentOS-devel wrote:
Hi everyone,
Is there some sort of specfile tarball or other method to search through all the CentOS Stream specfiles for a regex? In Fedora, we have a tarball[1] with all the specfiles that's generated daily, as well as access to Sourcegraph[2]. Is there an equivalent for CentOS Stream/RHEL? Of course, I could manually extract them from the *-source yum repos' SRPMs or distgit, but that would be tedious.
It's a recent addition (see https://pagure.io/centos-infra/issue/760 for details), but try https://git.centos.org/sources/rpm-specs-latest.tar.xz
Oh, fantastic! Thanks for teaching me something.
Oh yay! This will definitely be useful! :)
For me, too. I'm dealing with the "we build the RPMs, we compile with them internally, but we decline to include them in the RHEL or CentOS dnf repsitories". Having the .spec files makes it easier to search through them for which is the relevant SRPM for the missing package.