[med-svn] r3047 - in trunk/packages/mlstdbnet/trunk/debian: . more_examples po template

tille at alioth.debian.org tille at alioth.debian.org
Fri Jan 23 14:53:02 UTC 2009


Author: tille
Date: 2009-01-23 14:53:01 +0000 (Fri, 23 Jan 2009)
New Revision: 3047

Added:
   trunk/packages/mlstdbnet/trunk/debian/getrefs.conf
   trunk/packages/mlstdbnet/trunk/debian/more_examples/
   trunk/packages/mlstdbnet/trunk/debian/more_examples/cdif.xml
Modified:
   trunk/packages/mlstdbnet/trunk/debian/config
   trunk/packages/mlstdbnet/trunk/debian/control
   trunk/packages/mlstdbnet/trunk/debian/examples
   trunk/packages/mlstdbnet/trunk/debian/install
   trunk/packages/mlstdbnet/trunk/debian/po/templates.pot
   trunk/packages/mlstdbnet/trunk/debian/postinst
   trunk/packages/mlstdbnet/trunk/debian/template/mlstdbnet.xml
   trunk/packages/mlstdbnet/trunk/debian/templates
Log:
Add local example; do not use the generic name 'refs' for the references database but rather mlstdb_refs


Modified: trunk/packages/mlstdbnet/trunk/debian/config
===================================================================
--- trunk/packages/mlstdbnet/trunk/debian/config	2009-01-23 14:06:09 UTC (rev 3046)
+++ trunk/packages/mlstdbnet/trunk/debian/config	2009-01-23 14:53:01 UTC (rev 3047)
@@ -135,7 +135,7 @@
 # prevents dbconfig-common from asking about these values again :-((
 
 dbc_dbuser='www-data'
-dbc_dbname='refs'
+dbc_dbname='mlstdb_refs'
 dbc_authmethod_user="ident"
 
 # source dbconfig-common shell library, and call the hook function

Modified: trunk/packages/mlstdbnet/trunk/debian/control
===================================================================
--- trunk/packages/mlstdbnet/trunk/debian/control	2009-01-23 14:06:09 UTC (rev 3046)
+++ trunk/packages/mlstdbnet/trunk/debian/control	2009-01-23 14:53:01 UTC (rev 3047)
@@ -11,7 +11,7 @@
 Homepage: http://pubmlst.org/software/database/mlstdbnet/
 
 Package: mlstdbnet
-Architecture: any
+Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends}, emboss, blast2, postgresql-8.3,
  libcgi-pm-perl, libdbd-pg-perl, libxml-perl, dbconfig-common, apache2,
  imagemagick | graphicsmagick, bioperl, libmail-sender-perl

Modified: trunk/packages/mlstdbnet/trunk/debian/examples
===================================================================
--- trunk/packages/mlstdbnet/trunk/debian/examples	2009-01-23 14:06:09 UTC (rev 3046)
+++ trunk/packages/mlstdbnet/trunk/debian/examples	2009-01-23 14:53:01 UTC (rev 3047)
@@ -1 +1,2 @@
 example_xmlfiles/*
+debian/more_examples/*

Added: trunk/packages/mlstdbnet/trunk/debian/getrefs.conf
===================================================================
--- trunk/packages/mlstdbnet/trunk/debian/getrefs.conf	                        (rev 0)
+++ trunk/packages/mlstdbnet/trunk/debian/getrefs.conf	2009-01-23 14:53:01 UTC (rev 3047)
@@ -0,0 +1 @@
+mlstdb_refs

Modified: trunk/packages/mlstdbnet/trunk/debian/install
===================================================================
--- trunk/packages/mlstdbnet/trunk/debian/install	2009-01-23 14:06:09 UTC (rev 3046)
+++ trunk/packages/mlstdbnet/trunk/debian/install	2009-01-23 14:53:01 UTC (rev 3047)
@@ -6,4 +6,5 @@
 scripts/*.pl               usr/share/mlstdbnet
 css/stylesheet.css         usr/share/mlstdbnet/template
 conf/*			   etc/mlstdbnet
+debian/getrefs.conf        etc/mlstdbnet
 images                     usr/share/mlstdbnet

Added: trunk/packages/mlstdbnet/trunk/debian/more_examples/cdif.xml
===================================================================
--- trunk/packages/mlstdbnet/trunk/debian/more_examples/cdif.xml	                        (rev 0)
+++ trunk/packages/mlstdbnet/trunk/debian/more_examples/cdif.xml	2009-01-23 14:53:01 UTC (rev 3047)
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE mlst SYSTEM "mlst.dtd">
+<mlst>
+
+<!-- _________________________________________________________ -->
+<!-- Before you start                                          -->
+<!-- ________________                                          -->
+<!-- As long as there are values marked like ##this## the      -->
+<!-- XML file is not usable                                    -->
+<!-- Make sure you read /usr/share/doc/mlstdbnet/README.Debian -->
+<!-- to learn what has to be done!                             -->
+<!-- _________________________________________________________ -->
+
+<system
+ longcode="cdif"
+ webroot="/cdif"
+ indexpage=""
+ dbprof="cdif"
+ profhome="/cgi-bin/mlstdbnet/mlstdbnet.pl?file=pub-cdif.xml"
+ description="Clostridium Difficile">Test</system>
+
+<!-- LOCI -->
+<locus fullname="TR6" length="315">TR6</locus>
+<locus fullname="TR10" length="396">TR10</locus>
+
+<!-- PROFILES FIELDS -->
+<field type="int" length="5" userupdate="no" comments="primary key">id</field>
+<field type="date" maindisplay="no" userupdate="no" length="10" comments="date last modified">datestamp</field>
+<field type="int" maindisplay="no" userupdate="no" length="4" comments="curator who entered data,link to users">curator</field>
+<field type="int" maindisplay="no" length="4" comments="sender unique name, link to users">sender</field>
+</mlst>

Modified: trunk/packages/mlstdbnet/trunk/debian/po/templates.pot
===================================================================
--- trunk/packages/mlstdbnet/trunk/debian/po/templates.pot	2009-01-23 14:06:09 UTC (rev 3046)
+++ trunk/packages/mlstdbnet/trunk/debian/po/templates.pot	2009-01-23 14:53:01 UTC (rev 3047)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: mlstdbnet at packages.debian.org\n"
-"POT-Creation-Date: 2009-01-22 17:45+0100\n"
+"POT-Creation-Date: 2009-01-23 08:49+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -323,13 +323,14 @@
 #. Type: string
 #. Description
 #: ../templates:12001
-msgid "Database profile"
+msgid "name of profiles database"
 msgstr ""
 
 #. Type: string
 #. Description
 #: ../templates:12001
 msgid ""
-"MlstDBNet accepts a database profile.  By default this is the same as the "
-"database name."
+"MlstDBNet accepts a profiles database.  By default this is the same as the "
+"database name.  But you might like to use a different name which can be "
+"given here."
 msgstr ""

Modified: trunk/packages/mlstdbnet/trunk/debian/postinst
===================================================================
--- trunk/packages/mlstdbnet/trunk/debian/postinst	2009-01-23 14:06:09 UTC (rev 3046)
+++ trunk/packages/mlstdbnet/trunk/debian/postinst	2009-01-23 14:53:01 UTC (rev 3047)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# postinst script for agdbdnnet/mlstdbnet
+# postinst script for agdbnet/mlstdbnet
 
 set -e
 

Modified: trunk/packages/mlstdbnet/trunk/debian/template/mlstdbnet.xml
===================================================================
--- trunk/packages/mlstdbnet/trunk/debian/template/mlstdbnet.xml	2009-01-23 14:06:09 UTC (rev 3046)
+++ trunk/packages/mlstdbnet/trunk/debian/template/mlstdbnet.xml	2009-01-23 14:53:01 UTC (rev 3047)
@@ -16,9 +16,7 @@
  webroot="##webroot##"
  indexpage=""
  dbprof="##dbprofiles##"
- profhome="/cgi-bin/mlstdbnet.pl?file=pub-##dbprofiles##.xml"
- noshow="other_name,Z_number,region"
- view="isolates" dbtype="st"
+ profhome="/cgi-bin/mlstdbnet.pl?file=##dbprofiles##.xml"
  description="##Description##">##PublicDescription##</system>
 
 <!-- LOCI -->

Modified: trunk/packages/mlstdbnet/trunk/debian/templates
===================================================================
--- trunk/packages/mlstdbnet/trunk/debian/templates	2009-01-23 14:06:09 UTC (rev 3046)
+++ trunk/packages/mlstdbnet/trunk/debian/templates	2009-01-23 14:53:01 UTC (rev 3047)
@@ -158,6 +158,7 @@
 
 Template: mlstdbnet/dbprof
 Type: string
-_Description: Database profile
- MlstDBNet accepts a database profile.  By default this is the same
- as the database name.
+_Description: name of profiles database
+ MlstDBNet accepts a profiles database.  By default this is the same
+ as the database name.  But you might like to use a different name
+ which can be given here.




More information about the debian-med-commit mailing list