[llvm-commits] [LNT] r161340 - in /lnt/trunk: lnt/lnttool/create.py lnt/server/config.py lnt/server/ui/templates/index.html tests/SharedInputs/SmallInstance/lnt.cfg tests/server/db/Inputs/lnt_v0.4.0_basic_instance/lnt.cfg tests/server/db/Inputs/lnt_v0.4.0_filled_instance/lnt.cfg
Daniel Dunbar
daniel at zuster.org
Mon Aug 6 13:03:06 PDT 2012
Author: ddunbar
Date: Mon Aug 6 15:03:05 2012
New Revision: 161340
URL: http://llvm.org/viewvc/llvm-project?rev=161340&view=rev
Log:
Remove references to some config keys that are no longer used.
Modified:
lnt/trunk/lnt/lnttool/create.py
lnt/trunk/lnt/server/config.py
lnt/trunk/lnt/server/ui/templates/index.html
lnt/trunk/tests/SharedInputs/SmallInstance/lnt.cfg
lnt/trunk/tests/server/db/Inputs/lnt_v0.4.0_basic_instance/lnt.cfg
lnt/trunk/tests/server/db/Inputs/lnt_v0.4.0_filled_instance/lnt.cfg
Modified: lnt/trunk/lnt/lnttool/create.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/lnttool/create.py?rev=161340&r1=161339&r2=161340&view=diff
==============================================================================
--- lnt/trunk/lnt/lnttool/create.py (original)
+++ lnt/trunk/lnt/lnttool/create.py Mon Aug 6 15:03:05 2012
@@ -39,9 +39,6 @@
# should be a 'default' entry for the default database.
databases = {
'default' : { 'path' : %(default_db)r,
- 'showGeneral' : 1,
- 'showNightlytest' : 1,
- 'showSimple' : 1,
'db_version' : %(default_db_version)r },
}
Modified: lnt/trunk/lnt/server/config.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/config.py?rev=161340&r1=161339&r2=161340&view=diff
==============================================================================
--- lnt/trunk/lnt/server/config.py (original)
+++ lnt/trunk/lnt/server/config.py Mon Aug 6 15:03:05 2012
@@ -47,20 +47,14 @@
email_config = EmailConfig.fromData(dict['emailer'])
return DBInfo(dbPath,
- bool(dict.get('showNightlytest')),
- bool(dict.get('showGeneral')),
- bool(dict.get('showSimple')),
str(dict.get('db_version', '0.3')),
dict.get('shadow_import', None),
email_config)
- def __init__(self, path, showNightlytest, showGeneral, showSimple,
+ def __init__(self, path,
db_version, shadow_import, email_config):
self.config = None
self.path = path
- self.showGeneral = showGeneral
- self.showNightlytest = showNightlytest
- self.showSimple = showSimple
self.db_version = db_version
self.shadow_import = shadow_import
self.email_config = email_config
Modified: lnt/trunk/lnt/server/ui/templates/index.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/index.html?rev=161340&r1=161339&r2=161340&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/index.html (original)
+++ lnt/trunk/lnt/server/ui/templates/index.html Mon Aug 6 15:03:05 2012
@@ -9,12 +9,4 @@
<a href="{{db_url_for('v4_overview', testsuite_name=name)}}">{{name}}</a><br>
{% endfor %}
-{% if g.db_info.db_version == '0.3' and g.db_info.showGeneral %}
-<hr>
-
-<h3>General Database Access</h3>
-<p><a href="{{url_for('browse')}}">Browse DB</a>
-<p><a href="{{url_for('submit_run')}}">Submit Run</a>
-{% endif %}
-
{% endblock %}
Modified: lnt/trunk/tests/SharedInputs/SmallInstance/lnt.cfg
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/tests/SharedInputs/SmallInstance/lnt.cfg?rev=161340&r1=161339&r2=161340&view=diff
==============================================================================
--- lnt/trunk/tests/SharedInputs/SmallInstance/lnt.cfg (original)
+++ lnt/trunk/tests/SharedInputs/SmallInstance/lnt.cfg Mon Aug 6 15:03:05 2012
@@ -28,9 +28,6 @@
# should be a 'default' entry for the default database.
databases = {
'default' : { 'path' : 'lnt.db',
- 'showGeneral' : 1,
- 'showNightlytest' : 1,
- 'showSimple' : 1,
'db_version' : '0.4' },
}
Modified: lnt/trunk/tests/server/db/Inputs/lnt_v0.4.0_basic_instance/lnt.cfg
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/tests/server/db/Inputs/lnt_v0.4.0_basic_instance/lnt.cfg?rev=161340&r1=161339&r2=161340&view=diff
==============================================================================
--- lnt/trunk/tests/server/db/Inputs/lnt_v0.4.0_basic_instance/lnt.cfg (original)
+++ lnt/trunk/tests/server/db/Inputs/lnt_v0.4.0_basic_instance/lnt.cfg Mon Aug 6 15:03:05 2012
@@ -25,9 +25,6 @@
# should be a 'default' entry for the default database.
databases = {
'default' : { 'path' : 'lnt.db',
- 'showGeneral' : 1,
- 'showNightlytest' : 1,
- 'showSimple' : 1,
'db_version' : '0.4' },
}
Modified: lnt/trunk/tests/server/db/Inputs/lnt_v0.4.0_filled_instance/lnt.cfg
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/tests/server/db/Inputs/lnt_v0.4.0_filled_instance/lnt.cfg?rev=161340&r1=161339&r2=161340&view=diff
==============================================================================
--- lnt/trunk/tests/server/db/Inputs/lnt_v0.4.0_filled_instance/lnt.cfg (original)
+++ lnt/trunk/tests/server/db/Inputs/lnt_v0.4.0_filled_instance/lnt.cfg Mon Aug 6 15:03:05 2012
@@ -25,9 +25,6 @@
# should be a 'default' entry for the default database.
databases = {
'default' : { 'path' : 'lnt.db',
- 'showGeneral' : 1,
- 'showNightlytest' : 1,
- 'showSimple' : 1,
'db_version' : '0.4' },
}
More information about the llvm-commits
mailing list