[CentOS-devel] Querying koji

Mon Jun 22 17:05:10 UTC 2020
Ken Dreyer <kdreyer at redhat.com>

The koji hub URL is at https://koji.mbox.centos.org/kojihub

Try this:

  $ koji -s https://koji.mbox.centos.org/kojihub list-tags

You can also store this URL in a profile configuration file,
https://docs.pagure.org/koji/profiles/ . For example, I have:

  $ cat ~/.koji/config.d/cbs.mbox.conf
  [cbs.mbox]
  server = https://koji.mbox.centos.org/kojihub

Then, you can use this new profile with the "-p" flag to Koji:

  $ koji -p cbs.mbox list-tags

You can also symlink ~/bin/cbs.mbox to /usr/bin/koji so that the
command is even shorter:

  $ cbs.mbox list-tags

On Wed, Jun 17, 2020 at 10:00 PM Neale Ferguson <neale at sinenomine.net> wrote:
>
> HI,
>
> I found the correct URL by re-reading the koji doc:
>
>
>
> koji --server=https://koji.mbox.centos.org/kojihub/ --authtype=noauth call xxxxx
>
>
>
> My next question: is there a way to map an RPM to where it gets placed in the distro from the tag?  i.e. Something like: dist-c8 -> BaseOS; dist-c8-extras -> extras; dist-c8-stream -> AppStream. However, that doesn’t account for PowerTools nor the kickstarts within each. Or is this meta information external to koji?
>
>
>
> Neale
>
>
>
>
>
> Hi,
>
> I was attempting to access the CentOS koji server via the --weburl= option of the koji command. When I do something like:
>
>
>
> koji --weburl=https://koji.mbox.centos.org/ list-tags
>
>
>
> I don’t get all the c8 tags I see if I use a browser and go to https://koji.mbox.centos.org/koji/tags. I seem to get all the fedora tags. I assume I am just using the wrong URL.
>
>
>
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> https://lists.centos.org/mailman/listinfo/centos-devel