Differences between revisions 57 and 58
Revision 57 as of 2013-03-31 15:46:39
Size: 2928
Comment:
Revision 58 as of 2013-03-31 15:52:46
Size: 3739
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
 * Some '''example queries''' are provided as CGI scripts, to make it easy for
   
everyone to run them. You can [[http://udd.debian.org/cgi-bin/|browse them]]
or [[http://anonscm.debian.org/gitweb/?p=collab-qa/udd.git;a=tree;f=web/cgi-bin|view the source code]].
 * Some '''example queries''' are provided as CGI scripts, to make it easy for everyone to run them. You can [[http://udd.debian.org/cgi-bin/|browse them]] or [[http://anonscm.debian.org/gitweb/?p=collab-qa/udd.git;a=tree;f=web/cgi-bin|view the source code]].
Line 15: Line 13:
 * UDD-based services:
  * [[http://udd.debian.org/bugs.cgi|Bugs Search]]: multi-criteria search engine for bugs
  * [[http://udd.debian.org/dmd.cgi|Debian Maintainer Dashboard]]
  * [[http://udd.debian.org/cgi-bin/bts-usertags.cgi|Bugs Usertags]]: search for usertag on bugs
  * [[http://udd.debian.org/sponsorstats.cgi|Sponsors Stats]] gives some statistics about who is sponsoring uploads to Debian
  * [[http://udd.debian.org/bapase.cgi|Bapase]] allows to search for "interesting" packages using various criterias
Line 34: Line 38:

== Improving UDD ==
If you want to help improve UDD, you can '''set up your own instance''' as described on [[UltimateDebianDatabase/Hacking]].
You can <b>report bugs</b> against the qa.debian.org pseudo-package,
 using the ''udd'' usertag and user ''qa.debian.org@packages.debian.org''.

Translation(s): English - Italiano


Ultimate Debian Database (UDD) gathers a lot of data about various aspects of Debian in the same SQL database. It allows users to easily access and combine all these data.

Data currently being imported include: Packages and Sources files, from Debian and Ubuntu, Bugs from the Debian BTS, Popularity contest, History of uploads, History of migrations to testing, Lintian, Orphaned packages, Carnivore, Debtags, Ubuntu bugs (from Launchpad), Packages in NEW queue, DDTP translations.

For more information, please contact us on #debian-qa or debian-qa@lists.debian.org (mailing list subscription and archives).

Connecting to and using UDD

udd.debian.org is running on ullmann.debian.org. It accepts direct SSLed connections from quantz (qa) and wagner (alioth).

  • command-line:
    • psql service=udd

    • or: psql -U guest -h udd.debian.org -p 5452 udd

  • Python:

    import psycopg2
    conn = psycopg2.connect(host="udd.debian.org",port=5452,user="guest",database="udd")
    cursor = conn.cursor()
    cursor.execute("SELECT count(*) from sources where release='sid'")
    print cursor.fetchall()[0][0]
  • Ruby (DBI): require 'dbi' ; dbh = DBI::connect('DBI:Pg:dbname=udd;port=5452;host=udd.debian.org', 'guest') 

  • Ruby (PG): require 'pg'; conn = PG.connect({:host => 'udd.debian.org', :port => 5452, :user => 'guest', :dbname => 'udd'}) 

Improving UDD

If you want to help improve UDD, you can set up your own instance as described on UltimateDebianDatabase/Hacking. You can <b>report bugs</b> against the qa.debian.org pseudo-package,

Credits

UDD started as a Google Summer of Code project by Christian von Essen (Neronus), co-mentored by Lucas Nussbaum, Stefano Zacchiroli and Marc 'HE' Brockschmidt. It is now mainly maintained by Lucas Nussbaum, with help from others.

Other resources

See also :

SubPages