how to setup the koji build system?
by gssxd@qq.com
hi, John Florian
Thanks for your information. I am using rhel7, so I have to change the default_md to sha256.
However, I still can't setup the koji build now. The new error show me is that:
[kojiadmin@koji ~]$ koji call getLoggedInUser
ProtocolError: <ProtocolError for koji.example.com/kojihub/ssllogin: 403 Forbidden>
Some additional info:
[kojiadmin@koji ~]$ hostname -f
koji.example.com
[kojiadmin@koji ~]$ ping koji.example.com
PING koji.example.com (10.9.2.35) 56(84) bytes of data.
64 bytes from koji.example.com (10.9.2.35): icmp_seq=1 ttl=64 time=0.034 ms
64 bytes from koji.example.com (10.9.2.35): icmp_seq=2 ttl=64 time=0.050 ms
The setting in /etc/koji.conf:
;configuration for koji cli tool
;url of XMLRPC server
server = http://koji.example.com/kojihub
Could you please give me any suggestions ?
Thanks very much.
谢谢
郭双拴
From: buildsys-request
Date: 2015-04-27 21:47
To: buildsys
Subject: buildsys Digest, Vol 122, Issue 21
Send buildsys mailing list submissions to
buildsys(a)lists.fedoraproject.org
To subscribe or unsubscribe via the World Wide Web, visit
https://admin.fedoraproject.org/mailman/listinfo/buildsys
or, via email, send a message with subject or body 'help' to
buildsys-request(a)lists.fedoraproject.org
You can reach the person managing the list at
buildsys-owner(a)lists.fedoraproject.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of buildsys digest..."
Today's Topics:
1. RE: how to setup the koji build system? (John Florian)
2. RE: how to setup the koji build system? (John Florian)
----------------------------------------------------------------------
Message: 1
Date: Mon, 27 Apr 2015 13:42:09 +0000
From: John Florian <john.florian(a)dart.biz>
To: Discussion of Fedora build system
<buildsys(a)lists.fedoraproject.org>
Subject: RE: how to setup the koji build system?
Message-ID:
<D83E0BFAF05CE549BA2A87BB89D443CAA59878DC(a)USILCHEXMBX02.solo.com>
Content-Type: text/plain; charset="utf-8"
> -----Original Message-----
> From: buildsys-bounces(a)lists.fedoraproject.org [mailto:buildsys-
> bounces(a)lists.fedoraproject.org] On Behalf Of Sérgio Basto
> Sent: Thursday, April 23, 2015 10:41
> To: buildsys(a)lists.fedoraproject.org
> Subject: Re: how to setup the koji build system?
>
> On Qui, 2015-04-23 at 09:39 +0800, gssxd(a)qq.com wrote:
> > Hello,
> > I want to build my own linux based on the koji build system . However
> > the koji wiki page seems to be a little bit out-of date. I followed
> > the instructions to go through all of the steps, but it alway show me
> > some failures.
> > I am using the koji-1.9.0, and I saw the wiki page was refering to the
> > version 1.3.1.
> > Is there anybody has any suggestion about the setup information? or
> > anyone can provide me the latest document about how to build the koji
> > system?
>
> I follow this page:
> http://www.devops-blog.net/koji/koji-rpm-build-system-installation-part-1
>
> also a little bit out-of date, but on comments we have good tips, to
> solve the not updated things .
>
I too have just gone through a Koji setup -- my 2nd time actually, I didn't adopt it after all the work the 1st time. Those pages are helpful, but I found I really needed a combination of the following to get going:
https://fedoraproject.org/wiki/Koji/ServerHowTo
https://wiki.nikhef.nl/grid/Koji_Testbed
and for Sigul:
http://zenit.senecac.on.ca/wiki/index.php/Sigul_Signing_Server_Setup
I did lean on the devops-blog pages too that you already mentioned.
I also found it impossible to get going without adding numerous debug messages of my own into the koji code. I encountered too many exceptions that failed to print any useful details about the current state, especially when I was trying to decode the magic of the proper setup for building from SCM. I don't fault the code or its authors though, it was created to serve a purpose for the Fedora Project and that it does. But, it's far from having the polish and documentation of the more popular FOSS packages that get so much more attention.
--
John Florian
------------------------------
Message: 2
Date: Mon, 27 Apr 2015 13:47:19 +0000
From: John Florian <john.florian(a)dart.biz>
To: Discussion of Fedora build system
<buildsys(a)lists.fedoraproject.org>
Subject: RE: how to setup the koji build system?
Message-ID:
<D83E0BFAF05CE549BA2A87BB89D443CAA59878F6(a)USILCHEXMBX02.solo.com>
Content-Type: text/plain; charset="utf-8"
I’d bet you have the wrong value for the CN (CommonName) in one of your certificates and given what you’ve shown it’s likely your user certificate. Make sure the CN there matches the user ID you created in the Koji DB.
--
John Florian
From: buildsys-bounces(a)lists.fedoraproject.org [mailto:buildsys-bounces@lists.fedoraproject.org] On Behalf Of gssxd(a)qq.com
Sent: Monday, April 27, 2015 01:12
To: buildsys
Subject: how to setup the koji build system?
hi,
I followed the wiki page:
https://fedoraproject.org/wiki/Koji/ServerHowTo
also, the page that Sérgio M. B. pointed out
http://www.devops-blog.net/koji/koji-rpm-build-system-installation-part-1
but, so far I still can't get it installed.
The failure I am seeing as following:
[root@www koji]# su kojiadmin
[kojiadmin@www koji]$ koji call getLoggedInUser
Error: [('asn1 encoding routines', 'ASN1_item_verify', 'unknown message digest algorithm'), ('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]
[kojiadmin@www koji]$
Could you please give any idea? how to fix it?
________________________________
Thanks
Suney
From: buildsys-request<mailto:buildsys-request@lists.fedoraproject.org>
Date: 2015-04-24 20:00
To: buildsys<mailto:buildsys@lists.fedoraproject.org>
Subject: buildsys Digest, Vol 122, Issue 18
Send buildsys mailing list submissions to
buildsys(a)lists.fedoraproject.org<mailto:buildsys@lists.fedoraproject.org>
To subscribe or unsubscribe via the World Wide Web, visit
https://admin.fedoraproject.org/mailman/listinfo/buildsys
or, via email, send a message with subject or body 'help' to
buildsys-request(a)lists.fedoraproject.org<mailto:buildsys-request@lists.fedoraproject.org>
You can reach the person managing the list at
buildsys-owner(a)lists.fedoraproject.org<mailto:buildsys-owner@lists.fedoraproject.org>
When replying, please edit your Subject line so it is more specific
than "Re: Contents of buildsys digest..."
Today's Topics:
1. Re: how to setup the koji build system? (Didier Fabert)
2. Re: how to setup the koji build system? (Sérgio Basto)
----------------------------------------------------------------------
Message: 1
Date: Thu, 23 Apr 2015 15:42:01 +0200
From: Didier Fabert <didier.fabert(a)gmail.com<mailto:didier.fabert@gmail.com>>
To: Discussion of Fedora build system
<buildsys(a)lists.fedoraproject.org<mailto:buildsys@lists.fedoraproject.org>>
Subject: Re: how to setup the koji build system?
Message-ID: <2589606.sBjckj0VDC(a)didier.b2pweb.com<mailto:2589606.sBjckj0VDC@didier.b2pweb.com>>
Content-Type: text/plain; charset="us-ascii"
Hi,
Do you talking about this wiki page:
https://fedoraproject.org/wiki/Koji/ServerHowTo ?
I recently upgrade my personnal koji from el6 to el7 and all rock's without
any problem (excepting sigul but it's a another story).
What are your failures exactly ? During install, bootstrap or first use ?
On Thursday 23 April 2015 09:39:38 gssxd(a)qq.com<mailto:gssxd@qq.com> wrote:
> Hello,
> I want to build my own linux based on the koji build system . However the
> koji wiki page seems to be a little bit out-of date. I followed the
> instructions to go through all of the steps, but it alway show me some
> failures.
> I am using the koji-1.9.0, and I saw the wiki page was refering
> to the version 1.3.1. Is there anybody has any suggestion about the setup
> information? or anyone can provide me the latest document about how to
> build the koji system?
> Thanks very much.
>
> Thanks
> Suney
------------------------------
Message: 2
Date: Thu, 23 Apr 2015 15:40:52 +0100
From: Sérgio Basto <sergio(a)serjux.com<mailto:sergio@serjux.com>>
To: buildsys(a)lists.fedoraproject.org<mailto:buildsys@lists.fedoraproject.org>
Subject: Re: how to setup the koji build system?
Message-ID: <1429800052.29728.14.camel(a)serjux.com<mailto:1429800052.29728.14.camel@serjux.com>>
Content-Type: text/plain; charset="ISO-8859-15"
On Qui, 2015-04-23 at 09:39 +0800, gssxd(a)qq.com<mailto:gssxd@qq.com> wrote:
> Hello,
> I want to build my own linux based on the koji build system . However
> the koji wiki page seems to be a little bit out-of date. I followed
> the instructions to go through all of the steps, but it alway show me
> some failures.
> I am using the koji-1.9.0, and I saw the wiki page was refering to the
> version 1.3.1.
> Is there anybody has any suggestion about the setup information? or
> anyone can provide me the latest document about how to build the koji
> system?
I follow this page:
http://www.devops-blog.net/koji/koji-rpm-build-system-installation-part-1
also a little bit out-of date, but on comments we have good tips, to
solve the not updated things .
Best regards,
--
Sérgio M. B.
------------------------------
--
buildsys mailing list
buildsys(a)lists.fedoraproject.org<mailto:buildsys@lists.fedoraproject.org>
https://admin.fedoraproject.org/mailman/listinfo/buildsys
End of buildsys Digest, Vol 122, Issue 18
*****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/buildsys/attachments/20150427/00...>
------------------------------
--
buildsys mailing list
buildsys(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
End of buildsys Digest, Vol 122, Issue 21
*****************************************
8 years, 11 months
Sigul: "WARNING: Invalid request: Required field rpm-release missing" -- what does this mean?
by John Florian
I have setup a sigul bridge and server per /usr/share/doc/sigul/README (more or less; using other sources for clarification and such). I can sign rpm's using something like:
sigul sign-rpm -o /tmp/signed.rpm mdct-legacy my-package-2.7-3.fc20.noarch.rpm
However, I'm now working on the integration with Koji and when I do:
sigul sign-rpm --koji-only --store-in-koji mdct-legacy my-package-2.7-3.fc20.noarch.rpm
... the command returns this:
ERROR: I/O error: EOFError()
(um, yeah) and the bridge's log shows:
2015-04-27 16:19:50,160 INFO: Client with CN 'd13677' connected
2015-04-27 16:19:50,161 INFO: Request: 'import-signature' = '\x00\x00\x00\x01', 'key' = 'mdct-legacy', 'op' = 'sign-rpm', 'return-data' = '\x00\x00\x00\x00', 'user' = 'd13677'
2015-04-27 16:19:51,899 WARNING: Invalid request: Required field rpm-release missing
2015-04-27 16:19:51,899 DEBUG: Request handling finished
That's a little more helpful, but I still don't know what's required to correct the issue.
--
John Florian
8 years, 11 months
how to setup the koji build system?
by gssxd@qq.com
Hello,
I want to build my own linux based on the koji build system . However the koji wiki page seems to be a little bit out-of date. I followed the instructions to go through all of the steps, but it alway show me some failures.
I am using the koji-1.9.0, and I saw the wiki page was refering to the version 1.3.1.
Is there anybody has any suggestion about the setup information? or anyone can provide me the latest document about how to build the koji system?
Thanks very much.
Thanks
Suney
From: buildsys-request
Date: 2015-04-22 20:00
To: buildsys
Subject: buildsys Digest, Vol 122, Issue 16
Send buildsys mailing list submissions to
buildsys(a)lists.fedoraproject.org
To subscribe or unsubscribe via the World Wide Web, visit
https://admin.fedoraproject.org/mailman/listinfo/buildsys
or, via email, send a message with subject or body 'help' to
buildsys-request(a)lists.fedoraproject.org
You can reach the person managing the list at
buildsys-owner(a)lists.fedoraproject.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of buildsys digest..."
Today's Topics:
1. Re: [PATCH] Mock autosigning (Julien Ballet)
2. Re: [PATCH] Mock autosigning (Peter Robinson)
3. Re: [PATCH] Mock autosigning (Miroslav Suchý)
----------------------------------------------------------------------
Message: 1
Date: Tue, 21 Apr 2015 18:30:00 +0000
From: Julien Ballet <lta(a)fb.com>
To: Discussion of Fedora build system
<buildsys(a)lists.fedoraproject.org>
Subject: Re: [PATCH] Mock autosigning
Message-ID: <D15BE4F4.5890%lta(a)fb.com>
Content-Type: text/plain; charset="iso-8859-1"
Awesome !
I apparently need to sign the CLA to be able to login on the wiki and
contribute documentation. I¹ll handle this paperwork stuff and write some
doc on this right after.
I created myself a task not to forget !
Regards,
Lta.
On 4/21/15, 1:57 AM, "Miroslav Suchy" <msuchy(a)redhat.com> wrote:
>On 04/19/2015 04:27 PM, Miroslav Suchy wrote:
>> Hmm it still have some issues. Because of that changed $HOME, it could
>> not find ~/.gnupg.
>> It would be nice if we can save $HOME somewhere before changing and then
>> temporary restore, before calling the executable.
>
>Yesterday while working on bug 1204395, I changed UidManager to backup
>and restore environment variables when switching uid.
>Which allows me just restore $HOME for unpriv user and then your patch
>started automagically working.
>
>Commited as:
>* d5a8311 set home for unprivUid and fix typo from previous commit
>* 3c2de6a Add a plugin that calls command (from the host) on the
>produced rpms.
>
>It would be awesome, if you can document the plugin here:
>
>https://urldefense.proofpoint.com/v1/url?u=https://fedoraproject.org/wiki/
>Projects/Mock%23Plugins&k=ZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=i1%2BSZt9IjQNe
>OPsemVaEHw%3D%3D%0A&m=7cU7ALBDslsbxED%2B5ARQwAPc5zHmp%2B%2BP0nUUyaazMxw%3D
>%0A&s=86df2c3be2fe0318ef608c13eb005a13b3d00197f717eefca7a84f25e74525a4
>
>Thank you for contributing.
>
>Mirek
------------------------------
Message: 2
Date: Tue, 21 Apr 2015 19:36:04 +0100
From: Peter Robinson <pbrobinson(a)gmail.com>
To: Discussion of Fedora build system
<buildsys(a)lists.fedoraproject.org>
Subject: Re: [PATCH] Mock autosigning
Message-ID:
<CALeDE9NxXbCSOUSMjBCmj7ms0LJCjef1Bp+iWie-hV6UBA+Dfg(a)mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
On Tue, Apr 21, 2015 at 7:30 PM, Julien Ballet <lta(a)fb.com> wrote:
> Awesome !
>
> I apparently need to sign the CLA to be able to login on the wiki and
> contribute documentation. I¹ll handle this paperwork stuff and write some
> doc on this right after.
> I created myself a task not to forget !
It's very basic, it essentially says "If I don't specify a license for
my Fedora work (rpm specs and the like, not specific code) it will be
assumed it's MIT" (IANAL but it's fairly basic)
> On 4/21/15, 1:57 AM, "Miroslav Suchy" <msuchy(a)redhat.com> wrote:
>
>>On 04/19/2015 04:27 PM, Miroslav Suchy wrote:
>>> Hmm it still have some issues. Because of that changed $HOME, it could
>>> not find ~/.gnupg.
>>> It would be nice if we can save $HOME somewhere before changing and then
>>> temporary restore, before calling the executable.
>>
>>Yesterday while working on bug 1204395, I changed UidManager to backup
>>and restore environment variables when switching uid.
>>Which allows me just restore $HOME for unpriv user and then your patch
>>started automagically working.
>>
>>Commited as:
>>* d5a8311 set home for unprivUid and fix typo from previous commit
>>* 3c2de6a Add a plugin that calls command (from the host) on the
>>produced rpms.
>>
>>It would be awesome, if you can document the plugin here:
>>
>>https://urldefense.proofpoint.com/v1/url?u=https://fedoraproject.org/wiki/
>>Projects/Mock%23Plugins&k=ZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=i1%2BSZt9IjQNe
>>OPsemVaEHw%3D%3D%0A&m=7cU7ALBDslsbxED%2B5ARQwAPc5zHmp%2B%2BP0nUUyaazMxw%3D
>>%0A&s=86df2c3be2fe0318ef608c13eb005a13b3d00197f717eefca7a84f25e74525a4
>>
>>Thank you for contributing.
>>
>>Mirek
>
> --
> buildsys mailing list
> buildsys(a)lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/buildsys
------------------------------
Message: 3
Date: Wed, 22 Apr 2015 08:02:16 +0200
From: Miroslav Suchý <msuchy(a)redhat.com>
To: buildsys(a)lists.fedoraproject.org
Subject: Re: [PATCH] Mock autosigning
Message-ID: <55373968.8060307(a)redhat.com>
Content-Type: text/plain; charset=utf-8
On 04/21/2015 08:36 PM, Peter Robinson wrote:
> It's very basic, it essentially says "If I don't specify a license for
> my Fedora work (rpm specs and the like, not specific code) it will be
> assumed it's MIT" (IANAL but it's fairly basic)
And it is just form on screen. You sign it by clicking on "I agree" button.
That's all.
--
Miroslav Suchy, RHCA
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
------------------------------
--
buildsys mailing list
buildsys(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
End of buildsys Digest, Vol 122, Issue 16
*****************************************
8 years, 11 months
Re: how to setup the koji build system? (Sérgio Basto)
by gssxd@qq.com
hi, Sérgio Basto
I was following the page step by step:http://www.devops-blog.net/koji/koji-rpm-build-system-installation-p....
but right now I encounter the following error, could you help to take a look? please give me some idea for how to fix it.
[root@www koji]# su - kojiadmin
Last login: Mon Apr 27 15:23:35 CST 2015 on pts/1
[kojiadmin@koji ~]$ koji call getLoggedInUser
ProtocolError: <ProtocolError for koji.example.com/kojihub/ssllogin: 403 Forbidden>
Thanks very much.
谢谢
郭双拴
From: buildsys-request
Date: 2015-04-24 20:00
To: buildsys
Subject: buildsys Digest, Vol 122, Issue 18
Send buildsys mailing list submissions to
buildsys(a)lists.fedoraproject.org
To subscribe or unsubscribe via the World Wide Web, visit
https://admin.fedoraproject.org/mailman/listinfo/buildsys
or, via email, send a message with subject or body 'help' to
buildsys-request(a)lists.fedoraproject.org
You can reach the person managing the list at
buildsys-owner(a)lists.fedoraproject.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of buildsys digest..."
Today's Topics:
1. Re: how to setup the koji build system? (Didier Fabert)
2. Re: how to setup the koji build system? (Sérgio Basto)
----------------------------------------------------------------------
Message: 1
Date: Thu, 23 Apr 2015 15:42:01 +0200
From: Didier Fabert <didier.fabert(a)gmail.com>
To: Discussion of Fedora build system
<buildsys(a)lists.fedoraproject.org>
Subject: Re: how to setup the koji build system?
Message-ID: <2589606.sBjckj0VDC(a)didier.b2pweb.com>
Content-Type: text/plain; charset="us-ascii"
Hi,
Do you talking about this wiki page:
https://fedoraproject.org/wiki/Koji/ServerHowTo ?
I recently upgrade my personnal koji from el6 to el7 and all rock's without
any problem (excepting sigul but it's a another story).
What are your failures exactly ? During install, bootstrap or first use ?
On Thursday 23 April 2015 09:39:38 gssxd(a)qq.com wrote:
> Hello,
> I want to build my own linux based on the koji build system . However the
> koji wiki page seems to be a little bit out-of date. I followed the
> instructions to go through all of the steps, but it alway show me some
> failures.
> I am using the koji-1.9.0, and I saw the wiki page was refering
> to the version 1.3.1. Is there anybody has any suggestion about the setup
> information? or anyone can provide me the latest document about how to
> build the koji system?
> Thanks very much.
>
> Thanks
> Suney
------------------------------
Message: 2
Date: Thu, 23 Apr 2015 15:40:52 +0100
From: Sérgio Basto <sergio(a)serjux.com>
To: buildsys(a)lists.fedoraproject.org
Subject: Re: how to setup the koji build system?
Message-ID: <1429800052.29728.14.camel(a)serjux.com>
Content-Type: text/plain; charset="ISO-8859-15"
On Qui, 2015-04-23 at 09:39 +0800, gssxd(a)qq.com wrote:
> Hello,
> I want to build my own linux based on the koji build system . However
> the koji wiki page seems to be a little bit out-of date. I followed
> the instructions to go through all of the steps, but it alway show me
> some failures.
> I am using the koji-1.9.0, and I saw the wiki page was refering to the
> version 1.3.1.
> Is there anybody has any suggestion about the setup information? or
> anyone can provide me the latest document about how to build the koji
> system?
I follow this page:
http://www.devops-blog.net/koji/koji-rpm-build-system-installation-part-1
also a little bit out-of date, but on comments we have good tips, to
solve the not updated things .
Best regards,
--
Sérgio M. B.
------------------------------
--
buildsys mailing list
buildsys(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
End of buildsys Digest, Vol 122, Issue 18
*****************************************
8 years, 11 months
[PATCH] schema: add missiing raw.xz archive type
by Dennis Gilmore
Signed-off-by: Dennis Gilmore <dennis(a)ausil.us>
---
docs/schema.sql | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/schema.sql b/docs/schema.sql
index ffe9b22..3582b87 100644
--- a/docs/schema.sql
+++ b/docs/schema.sql
@@ -737,6 +737,7 @@ insert into archivetypes (name, description, extensions) values ('txt', 'Text fi
insert into archivetypes (name, description, extensions) values ('vhd', 'Hyper-V image', 'vhd');
insert into archivetypes (name, description, extensions) values ('wsf', 'Windows script file', 'wsf');
insert into archivetypes (name, description, extensions) values ('box', 'Vagrant Box Image', 'box');
+insert into archivetypes (name, description, extensions) values ('raw-xz', 'xz compressed raw disk image', 'raw.xz');
-- Do we want to enforce a constraint that a build can only generate one
--
2.3.6
8 years, 11 months
[PATCH] Add configs for stg.
by Ralph Bean
This treats the fedora infrastructure staging environment just like
another secondary architecture (at dgilmore's suggestion in
the fedora-releng channel today).
---
configs/branched.stg.mash | 23 +++++++++++++++++++++++
configs/mash.stg.conf | 7 +++++++
configs/rawhide.stg.mash | 23 +++++++++++++++++++++++
3 files changed, 53 insertions(+)
create mode 100644 configs/branched.stg.mash
create mode 100644 configs/mash.stg.conf
create mode 100644 configs/rawhide.stg.mash
diff --git a/configs/branched.stg.mash b/configs/branched.stg.mash
new file mode 100644
index 0000000..7797a46
--- /dev/null
+++ b/configs/branched.stg.mash
@@ -0,0 +1,23 @@
+# mash config file
+
+[22]
+rpm_path = %(arch)s/os/Packages
+repodata_path = %(arch)s/os/
+source_path = source/SRPMS
+debuginfo = True
+multilib = True
+multilib_method = devel
+tag = f22
+inherit = False
+strict_keys = True
+keys = 8E1431D5
+repoviewurl = http://download.fedoraproject.org/pub/fedora/linux/development/22/%(arch)...
+repoviewtitle = "Fedora Branched - %(arch)s"
+arches = armhfp i386 x86_64
+delta = True
+max_delta_rpm_size = 800000000
+max_delta_rpm_age = 604800
+delta_workers = 8
+# Change distro_tags as fedora-release version gets bumped
+distro_tags = cpe:/o:fedoraproject:fedora:22 Twenty Two
+hash_packages = True
diff --git a/configs/mash.stg.conf b/configs/mash.stg.conf
new file mode 100644
index 0000000..a8c408c
--- /dev/null
+++ b/configs/mash.stg.conf
@@ -0,0 +1,7 @@
+
+[defaults]
+configdir = /etc/mash
+buildhost = http://koji.stg.fedoraproject.org/kojihub
+repodir = file:///mnt/koji
+use_sqlite = True
+use_repoview = False
diff --git a/configs/rawhide.stg.mash b/configs/rawhide.stg.mash
new file mode 100644
index 0000000..837d5c0
--- /dev/null
+++ b/configs/rawhide.stg.mash
@@ -0,0 +1,23 @@
+# mash config file
+
+[rawhide]
+rpm_path = %(arch)s/os/Packages
+repodata_path = %(arch)s/os/
+source_path = source/SRPMS
+debuginfo = True
+multilib = True
+multilib_method = devel
+tag = f22
+inherit = False
+strict_keys = False
+keys = 8E1431D5
+repoviewurl = http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/%(...
+repoviewtitle = "Fedora Rawhide - %(arch)s"
+arches = i386 x86_64 armhfp
+delta = True
+max_delta_rpm_size = 800000000
+max_delta_rpm_age = 604800
+delta_workers = 8
+# Change distro_tags as fedora-release version gets bumped
+distro_tags = cpe:/o:fedoraproject:fedora:22 rawhide
+hash_packages = True
--
2.1.0
8 years, 11 months
[PATCH] Log koji url on setup.
by Ralph Bean
... to help debug in other environments.
---
mash/__init__.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mash/__init__.py b/mash/__init__.py
index 77957b5..7eae098 100644
--- a/mash/__init__.py
+++ b/mash/__init__.py
@@ -78,8 +78,9 @@ class PackageList:
class Mash:
def __init__(self, config):
self.config = config
- self.session = koji.ClientSession(config.buildhost, {})
self._setupLogger()
+ self.logger.info("Using koji buildhost %r" % config.buildhost)
+ self.session = koji.ClientSession(config.buildhost, {})
if self.config.prefer_ppc64:
del masharch.biarch['ppc']
masharch.biarch.setdefault('ppc64','ppc')
--
2.1.0
8 years, 11 months
[PATCH] Mock autosigning
by Julien Ballet
Hi,
I’m resending this patch since the last time it was not correctly tagged and then didn’t get reviewed in a long time.
This patch adds a small plugin (disabled by default) to call an arbitrary command on successful build passing the builts rpms as an argument. The main goal here being auto-signing of packages.
Regards,
Lta.
8 years, 11 months
[PATCH] handle callnum=None (anon_retry) in retry error messages
by Mike McLean
---
koji/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/koji/__init__.py b/koji/__init__.py
index d133ed1..5171349 100644
--- a/koji/__init__.py
+++ b/koji/__init__.py
@@ -1948,7 +1948,7 @@ class ClientSession(object):
if self.logger.isEnabledFor(logging.DEBUG):
tb_str = ''.join(traceback.format_exception(*sys.exc_info()))
self.logger.debug(tb_str)
- self.logger.info("Try #%d for call %d (%s) failed: %s", tries, self.callnum, name, e)
+ self.logger.info("Try #%d for call %s (%s) failed: %s", tries, self.callnum, name, e)
if tries > 1:
# first retry is immediate, after that we honor retry_interval
time.sleep(interval)
--
1.9.3
8 years, 11 months
New Koji Setup - regen-repo task fails
by Kirk Harr
Hello,
When setting up a new Koji setup, I submit a regen-repo task which is picked up by the single builder host that I have setup, which fails with a message in the kojid.log file:
<snip>
2015-02-12 14:48:35,496 [WARNING] koji.TaskManager: TRACEBACK: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/koji/daemon.py", line 1161, in runTask
response = (handler.run(),)
File "/usr/lib/python2.7/site-packages/koji/tasks.py", line 157, in run
return koji.util.call_with_argcheck(self.handler, self.params, self.opts)
File "/usr/lib/python2.7/site-packages/koji/util.py", line 139, in call_with_argcheck
return func(*args, **kwargs)
File "/usr/sbin/kojid", line 3536, in handler
raise koji.GenericError, "Repo directory missing: %s" % path
GenericError: Repo directory missing: /mnt/koji/repos/dist-centos6-build/1085
</snip>
This directory /mnt/koji/repos/dist-centos6-build/1085 does exist on the host inside /mnt/koji which is a GlusterFS share which the Kojira/Koji-hub/Koji-web host and the builder host share with each other. Is there any cause for this error to occur when the directory referenced as missing does actually exist?
Thanks,
Kirk Harr
Systems and Network Engineer
End Point Corporation
8 years, 11 months