Re: Making the redhat selinux-policy repository publicly available

Troy Dawson <[email protected]> Tue, 11 Jul 2023 06:31:16 -0700
Newsgroups gmane.linux.centos.devel,gmane.linux.redhat.fedora.selinux
Message-ID <CAKndyUSOemkB0nFftsq_wRPrJuiqNUznm1NFT-5PZsqWuiGBtw@mail.gmail.com>
--===============3696601650359990994==
Content-Type: multipart/alternative; boundary="000000000000c985990600361b75"

--000000000000c985990600361b75
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 11, 2023 at 4:28=E2=80=AFAM Daan De Meyer <daan.j.demeyer@gmail=
.com>
wrote:

> Hi,
>
> It seems that the selinux-policy rpm is built from
> [email protected]:SELinux/selinux-policy.git which seems to be
> a redhat internal repository. More specifically, if I try to checkout
> the commit listed in the selinux-policy spec
> (
> https://gitlab.com/redhat/centos-stream/rpms/selinux-policy/-/blob/c9s/se=
linux-policy.spec#L3
> )
> in the fedora-selinux repository cloned from github, I get an error
> saying that the commit does not exist. It would be great if the
> repository containing this commit was publicly available and open for
> external contributors just like all the other packages in CentOS
> Stream. Is it possible to make this happen?
>

I'm not the selinux-policy maintainer, so I can't comment on where they
work on the selinux-policy source code.

But this is how I get the sources, if that is what you are ultimately
looking for.

  centpkg clone selinux-policy
  cd selinux-policy
  centpkg sources
or if you want to know where they really are
  centpkg -v sources
This shows it to be coming from
https://sources.stream.centos.org/sources/rpms/selinux-policy/selinux-polic=
y-66a4b6e.tar.gz/sha512/797e746ccd271fe531a91b2639aed06447fb2720267dadba225=
989d81634b1fb7b2a4e78262612a41b6073f6e0eca358b8c274adc33630cd3f0db1390cd577=
67/selinux-policy-66a4b6e.tar.gz

The sources information is found in the sources file
https://gitlab.com/redhat/centos-stream/rpms/selinux-policy/-/blob/c9s/sour=
ces

I know this isn't exactly what you asked for, but I hope it still helps.

Troy

--000000000000c985990600361b75
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">On Tue, Jul 11, 2023 at 4:28=E2=80=AFAM D=
aan De Meyer &lt;<a href=3D"mailto:[email protected]">daan.j.demeyer=
@gmail.com</a>&gt; wrote:<br></div><div class=3D"gmail_quote"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli=
d rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
It seems that the selinux-policy rpm is built from<br>
[email protected]:SELinux/selinux-policy.git which seems to be<br>
a redhat internal repository. More specifically, if I try to checkout<br>
the commit listed in the selinux-policy spec<br>
(<a href=3D"https://gitlab.com/redhat/centos-stream/rpms/selinux-policy/-/b=
lob/c9s/selinux-policy.spec#L3" rel=3D"noreferrer" target=3D"_blank">https:=
//gitlab.com/redhat/centos-stream/rpms/selinux-policy/-/blob/c9s/selinux-po=
licy.spec#L3</a>)<br>
in the fedora-selinux repository cloned from github, I get an error<br>
saying that the commit does not exist. It would be great if the<br>
repository containing this commit was publicly available and open for<br>
external contributors just like all the other packages in CentOS<br>
Stream. Is it possible to make this happen?<br></blockquote><div><br></div>=
<div>I&#39;m not the selinux-policy maintainer, so I can&#39;t comment on w=
here they work on the selinux-policy source code.</div><div><br></div></div=
><div class=3D"gmail_quote">But this is how I get the sources, if that is w=
hat you are ultimately looking for.</div><div class=3D"gmail_quote"><br><di=
v>=C2=A0 centpkg clone selinux-policy</div><div>=C2=A0 cd selinux-policy</d=
iv><div>=C2=A0 centpkg sources</div><div>or if you want to know where they =
really are</div><div>=C2=A0 centpkg -v sources</div><div>This shows it to b=
e coming from</div><div><a href=3D"https://sources.stream.centos.org/source=
s/rpms/selinux-policy/selinux-policy-66a4b6e.tar.gz/sha512/797e746ccd271fe5=
31a91b2639aed06447fb2720267dadba225989d81634b1fb7b2a4e78262612a41b6073f6e0e=
ca358b8c274adc33630cd3f0db1390cd57767/selinux-policy-66a4b6e.tar.gz">https:=
//sources.stream.centos.org/sources/rpms/selinux-policy/selinux-policy-66a4=
b6e.tar.gz/sha512/797e746ccd271fe531a91b2639aed06447fb2720267dadba225989d81=
634b1fb7b2a4e78262612a41b6073f6e0eca358b8c274adc33630cd3f0db1390cd57767/sel=
inux-policy-66a4b6e.tar.gz</a></div><div><br></div><div>The sources informa=
tion is found in the sources file</div><div><a href=3D"https://gitlab.com/r=
edhat/centos-stream/rpms/selinux-policy/-/blob/c9s/sources">https://gitlab.=
com/redhat/centos-stream/rpms/selinux-policy/-/blob/c9s/sources</a></div><d=
iv><br></div><div>I know this isn&#39;t exactly what you asked for, but I h=
ope it still helps.</div><div><br></div><div>Troy</div><div><br></div></div=
></div>

--000000000000c985990600361b75--


--===============3696601650359990994==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
CentOS-devel mailing list
[email protected]
https://lists.centos.org/mailman/listinfo/centos-devel

--===============3696601650359990994==--