# HG changeset patch # User Sylvain Thénault # Date 1276781428 -7200 # Node ID 34195230dc2a04d35b03a4c9ed102f03e40aedaa # Parent 0d792bceb25d03a34373487294b94a59a4f6f54c [packaging] more cleanups, handle javascript test files diff -r 0d792bceb25d -r 34195230dc2a MANIFEST.in --- a/MANIFEST.in Thu Jun 17 15:15:52 2010 +0200 +++ b/MANIFEST.in Thu Jun 17 15:30:28 2010 +0200 @@ -5,7 +5,7 @@ include bin/cubicweb-* include man/cubicweb-ctl.1 -recursive-include doc README makefile *.conf *.py *.rst *.txt *.html *.png *.svg *.zargo *.dia +recursive-include doc README makefile *.conf *.css *.py *.rst *.txt *.html *.png *.svg *.zargo *.dia recursive-include misc *.py *.png *.display @@ -21,10 +21,15 @@ recursive-include sobjects/test/data bootstrap_cubes *.py recursive-include hooks/test/data bootstrap_cubes *.py recursive-include server/test/data bootstrap_cubes *.py source* -recursive-include web/test/data bootstrap_cubes *.py -recursive-include devtools/test/data bootstrap_cubes *.py *.txt +recursive-include devtools/test/data bootstrap_cubes *.py *.txt *.js +recursive-include web/test/data bootstrap_cubes pouet.css *.py + +recursive-include web/test/jstests *.js *.html *.css *.json +recursive-include web/test/windmill *.py recursive-include skeleton *.py *.css *.js *.po compat *.in *.tmpl +prune doc/book/en/.static/ +prune doc/book/fr/.static/ prune misc/cwfs prune goa diff -r 0d792bceb25d -r 34195230dc2a __pkginfo__.py --- a/__pkginfo__.py Thu Jun 17 15:15:52 2010 +0200 +++ b/__pkginfo__.py Thu Jun 17 15:30:28 2010 +0200 @@ -52,7 +52,7 @@ 'Twisted': '', # XXX graphviz # server dependencies - 'logilab-database': '1.1.0', + 'logilab-database': '>= 1.1.0', 'pysqlite': '>= 2.5.5', # XXX install pysqlite2 } diff -r 0d792bceb25d -r 34195230dc2a bin/qunit --- a/bin/qunit Thu Jun 17 15:15:52 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,6 +0,0 @@ -#!/usr/bin/python -import sys - -from cubicweb.devtools.qunit import make_qunit_html - -print make_qunit_html(sys.argv[1], sys.argv[2:]) diff -r 0d792bceb25d -r 34195230dc2a devtools/devctl.py --- a/devtools/devctl.py Thu Jun 17 15:15:52 2010 +0200 +++ b/devtools/devctl.py Thu Jun 17 15:30:28 2010 +0200 @@ -741,10 +741,21 @@ p = Popen((viewer, out)) p.wait() + +class GenerateQUnitHTML(Command): + """Generate a QUnit html file to see test in your browser""" + name = "qunit-html" + arguments = ' [...]' + + def run(self, args): + from cubicweb.devtools.qunit import make_qunit_html + print make_qunit_html(args[0], args[1:]) + register_commands((UpdateCubicWebCatalogCommand, UpdateTemplateCatalogCommand, #LiveServerCommand, NewCubeCommand, ExamineLogCommand, GenerateSchema, + GenerateQUnitHTML, )) diff -r 0d792bceb25d -r 34195230dc2a devtools/test/data/dbfill.conf --- a/devtools/test/data/dbfill.conf Thu Jun 17 15:15:52 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -[BASE] -APPLICATION_SCHEMA = /home/adim/cvs_work/soft_prive/ginco/applications/crm/schema -APPLICATION_HOME = /home/adim/etc/erudi.d/crmadim # ??? -FAKEDB_NAME = crmtest -ENCODING = UTF-8 -HOST = crater -USER = adim -PASSWORD = adim - - -[ENTITIES] -default = 20 #means default is 20 entities -Person = 10 # means 10 Persons -Company = 5# means 5 companies - - -[RELATIONS] -Person works_for Company = 4 -Division subsidiary_of Company = 3 - -[DEFAULT_VALUES] -Person.firstname = data/firstnames.txt diff -r 0d792bceb25d -r 34195230dc2a web/data/cubicweb.old.css --- a/web/data/cubicweb.old.css Thu Jun 17 15:15:52 2010 +0200 +++ b/web/data/cubicweb.old.css Thu Jun 17 15:30:28 2010 +0200 @@ -1,6 +1,6 @@ /* * :organization: Logilab - * :copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved. + * :copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. * :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr */