Setting up Koji question - postgres

john maclean jayeola.list.mail at gmail.com
Sat Jun 2 17:19:14 UTC 2012


On 06/02/2012 03:38 PM, Tom Lane wrote:
> Mathieu Bridon<bochecha at fedoraproject.org>  writes:
>> On Sat, 2012-06-02 at 10:14 +0200, Dan Horák wrote:
>>> as it seems the koji sql files are not packaged you must get them from
>>> the koji source package
>> Not packaged?
>> $ yum whatprovides \*koji\*sql
>> [... snip ...]
>> koji-1.6.0-3.fc17.noarch : Build system tools
>> Repo        : fedora
>> Matched from:
>> Filename    : /usr/share/doc/koji-1.6.0/docs/schema.sql
>> Filename    : /usr/share/doc/koji-1.6.0/docs/schema-upgrade-1.4-1.5.sql
>> Filename    : /usr/share/doc/koji-1.6.0/docs/schema-upgrade-1.3-1.4.sql
>> Filename    : /usr/share/doc/koji-1.6.0/docs/schema-upgrade-1.2-1.3.sql
> Why is that sort of thing being kept in %doc?  I always thought that
> doc files should be those that aren't required in the operation of
> the software, which is surely not the case if these are needed to
> set up the database.
>
> Anyway, these are surely unrelated to postgres' information_schema.sql,
> which is automatically installed when the database is initialized
> (hence the OP was getting a lot of errors from the objects already
> existing).
>
> 			regards, tom lane
>
>



It works!

  koji call getLoggedInUser
{'id': 1,
  'krb_principal': None,
  'name': 'kojiadmin',
  'status': 0,
  'usertype': 0}


   ^_^


http://jayeola.zapto.org/koji



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20120602/43b73d90/attachment.html>


More information about the devel mailing list