OSSP CVS Repository

ossp - Check-in [4771]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 4771
Date: 2004-Oct-25 16:35:11 (local)
2004-Oct-25 14:35:11 (UTC)
User:rse
Branch:
Comment: commit initial work on OSSP quos
Tickets:
Inspections:
Files:
ossp-pkg/quos/.cvsignore      added-> 1.1
ossp-pkg/quos/Makefile      added-> 1.1
ossp-pkg/quos/README      added-> 1.1
ossp-pkg/quos/TODO      added-> 1.1
ossp-pkg/quos/openpkg-rdf2sql.pl      added-> 1.1
ossp-pkg/quos/openpkg.rdf      added-> 1.1
ossp-pkg/quos/openpkg.sh      added-> 1.1
ossp-pkg/quos/openpkg.sql      added-> 1.1
ossp-pkg/quos/quos.cfg      added-> 1.1
ossp-pkg/quos/quos.cgi      added-> 1.1
ossp-pkg/quos/quos.css      added-> 1.1
ossp-pkg/quos/quos.html      added-> 1.1

ossp-pkg/quos/.cvsignore -> 1.1

*** /dev/null    Sat Nov 23 01:17:18 2024
--- -    Sat Nov 23 01:17:22 2024
***************
*** 0 ****
--- 1 ----
+ openpkg.db


ossp-pkg/quos/Makefile -> 1.1

*** /dev/null    Sat Nov 23 01:17:18 2024
--- -    Sat Nov 23 01:17:22 2024
***************
*** 0 ****
--- 1,36 ----
+ ##
+ ##  OSSP quos - Query On Steroids
+ ##  Copyright (c) 2004 Ralf S. Engelschall <rse@engelschall.com>
+ ##  Copyright (c) 2004 The OSSP Project <http://www.ossp.org/>
+ ##
+ ##  This file is part of OSSP quos, a Web user interface for querying
+ ##  a database which can be found at http://www.ossp.org/pkg/tool/quos/.
+ ##
+ ##  This program is free software; you can redistribute it and/or modify
+ ##  it under the terms of the GNU General Public License as published by
+ ##  the Free Software Foundation; either version 2 of the License, or
+ ##  (at your option) any later version.
+ ##
+ ##  This program is distributed in the hope that it will be useful,
+ ##  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ##  General Public License for more details.
+ ##
+ ##  You should have received a copy of the GNU General Public License
+ ##  along with this program; if not, write to the Free Software
+ ##  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ ##  USA, or contact Ralf S. Engelschall <rse@engelschall.com>.
+ ##
+ ##  Makefile: build procedure
+ ##
+ 
+ SHELL = /bin/sh
+ 
+ all:
+ 
+ init:
+        $(SHELL) ./openpkg.sh
+ 
+ clean:
+        rm -f openpkg.db
+ 


ossp-pkg/quos/README -> 1.1

*** /dev/null    Sat Nov 23 01:17:18 2024
--- -    Sat Nov 23 01:17:22 2024
***************
*** 0 ****
--- 1,44 ----
+    _        ___  ____ ____  ____   
+   |_|_ _   / _ \/ ___/ ___||  _ \   __ _ _   _  ___  ___  
+   _|_||_| | | | \___ \___ \| |_) | / _` | | | |/ _ \/ __| 
+  |_||_|_| | |_| |___) |__) |  __/ | (_| | |_| | (_) \__ \ 
+   |_|_|_|  \___/|____/____/|_|     \__, |\__,_|\___/|___/ 
+                                       |_|                 
+ 
+   OSSP quos - Query On Steroids
+   Version 0.0.0 (XX-Oct-2004)
+ 
+   ABSTRACT
+ 
+   OSSP quos is a Web user interface for querying an SQL-based RDBMS.
+   ...FIXME...
+ 
+   COPYRIGHT AND LICENSE
+ 
+   Copyright (c) 2004 Ralf S. Engelschall <rse@engelschall.com>
+   Copyright (c) 2004 The OSSP Project <http://www.ossp.org/>
+ 
+   This file is part of OSSP quos, a Web user interface for querying
+   a database which can be found at http://www.ossp.org/pkg/tool/quos/.
+ 
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+ 
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+   General Public License for more details.
+ 
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+   USA, or contact Ralf S. Engelschall <rse@engelschall.com>.
+ 
+   SEE ALSO
+ 
+   o Homepage ....... http://www.ossp.org/pkg/tool/quos/
+   o Sources ........ http://cvs.ossp.org/pkg/tool/quos/
+   o Distribution .... ftp://ftp.ossp.org/pkg/tool/quos/
+ 


ossp-pkg/quos/TODO -> 1.1

*** /dev/null    Sat Nov 23 01:17:18 2024
--- -    Sat Nov 23 01:17:22 2024
***************
*** 0 ****
--- 1,4 ----
+ 
+ - how to implement dynamically adjusting views based
+   on total number of result records??
+ 


ossp-pkg/quos/openpkg-rdf2sql.pl -> 1.1

*** /dev/null    Sat Nov 23 01:17:18 2024
--- -    Sat Nov 23 01:17:22 2024
***************
*** 0 ****
--- 1,54 ----
+ #!/usr/opkg/bin/perl
+ ##
+ ##  OSSP quos - Query On Steroids
+ ##  Copyright (c) 2004 Ralf S. Engelschall <rse@engelschall.com>
+ ##  Copyright (c) 2004 The OSSP Project <http://www.ossp.org/>
+ ##
+ ##  This file is part of OSSP quos, a Web user interface for querying
+ ##  a database which can be found at http://www.ossp.org/pkg/tool/quos/.
+ ##
+ ##  This program is free software; you can redistribute it and/or modify
+ ##  it under the terms of the GNU General Public License as published by
+ ##  the Free Software Foundation; either version 2 of the License, or
+ ##  (at your option) any later version.
+ ##
+ ##  This program is distributed in the hope that it will be useful,
+ ##  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ##  General Public License for more details.
+ ##
+ ##  You should have received a copy of the GNU General Public License
+ ##  along with this program; if not, write to the Free Software
+ ##  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ ##  USA, or contact Ralf S. Engelschall <rse@engelschall.com>.
+ ##
+ ##  openpkg-rdf2sql.cfg: OpenPKG XML/RDF to SQL importing tool
+ ##
+ 
+ require 5.008;
+ use Getopt::Long;
+ use XML::Parser;
+ use DBI;
+ use DBD::SQLite;
+ 
+ #   ...FIXME...
+ 
+ __END__
+ 
+ =pod
+ 
+ =head1 NAME
+ 
+ B<openpkg-rdf2sql> - OpenPKG XML/RDF to SQL importing tool
+ 
+ =head1 SYNOPSIS
+ 
+ B<openpkg-rdf2sql>
+ [B<-v>|B<--verbose>]
+ ...FIXME...
+ I<url>
+ 
+ =head1 DESCRIPTION
+ 
+ =cut
+ 


ossp-pkg/quos/openpkg.rdf -> 1.1

*** /dev/null    Sat Nov 23 01:17:18 2024
--- -    Sat Nov 23 01:17:22 2024
***************
*** 0 ****
--- 1,97 ----
+ <?xml version="1.0" encoding="iso-8859-1"?>
+ <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+          xmlns="http://www.openpkg.org/xml-rdf-index/0.9">
+   <Repository rdf:resource="OpenPKG-2.2/Source/">
+     <rdf:Description about="a2ps-4.13b-2.2.0" href="a2ps-4.13b-2.2.0.src.rpm">
+       <Name>a2ps</Name>
+       <Version>4.13b</Version>
+       <Release>2.2.0</Release>
+       <Distribution>OpenPKG</Distribution>
+       <Group>Converter</Group>
+       <License>GPL</License>
+       <Packager>The OpenPKG Project</Packager>
+       <Summary>Any to Postscript Conversion Tool</Summary>
+       <URL>http://www.inf.enst.fr/~demaille/a2ps/</URL>
+       <Vendor>Akim Demaille</Vendor>
+       <BuildPreReq>
+         <rdf:bag>
+           <resource>OpenPKG</resource>
+           <resource geq="2.2.0">openpkg</resource>
+           <resource>psutils</resource>
+           <resource>flex</resource>
+           <resource>bison</resource>
+         </rdf:bag>
+       </BuildPreReq>
+       <PreReq>
+         <rdf:bag>
+           <resource>OpenPKG</resource>
+           <resource geq="2.2.0">openpkg</resource>
+           <resource>psutils</resource>
+         </rdf:bag>
+       </PreReq>
+       <Source>
+         <rdf:bag>
+           <rdf:li>ftp://ftp.enst.fr/pub/unix/a2ps/a2ps-4.13b.tar.gz</rdf:li>
+         </rdf:bag>
+       </Source>
+       <Description>
+ a2ps is an Any to PostScript filter. It started as a Text to
+ PostScript converter, with pretty printing features and all the
+ expected features from this kind of programs. But today, it is also
+ able to deal with other file types (PostScript, Texinfo, compressed,
+ whatever...) provided you have the necessary tools.
+       </Description>
+     </rdf:Description>
+     <rdf:Description about="aegis-4.19-2.2.0" href="aegis-4.19-2.2.0.src.rpm">
+       <Name>aegis</Name>
+       <Version>4.19</Version>
+       <Release>2.2.0</Release>
+       <Distribution>OpenPKG</Distribution>
+       <Group>Text</Group>
+       <License>GPL</License>
+       <Packager>The OpenPKG Project</Packager>
+       <Summary>Software Configuration Management System</Summary>
+       <URL>http://aegis.sourceforge.net/</URL>
+       <Vendor>Peter Miller</Vendor>
+       <BuildPreReq>
+         <rdf:bag>
+           <resource>OpenPKG</resource>
+           <resource geq="2.2.0">openpkg</resource>
+           <resource>perl</resource>
+           <resource>bison</resource>
+           <resource>groff</resource>
+           <resource>gcc</resource>
+           <resource>zlib</resource>
+           <resource>gettext</resource>
+           <resource>libiconv</resource>
+           <resource>uuid</resource>
+           <resource>curl</resource>
+         </rdf:bag>
+       </BuildPreReq>
+       <PreReq>
+         <rdf:bag>
+           <resource>OpenPKG</resource>
+           <resource geq="2.2.0">openpkg</resource>
+           <resource>perl</resource>
+           <resource>zlib</resource>
+           <resource>gettext</resource>
+           <resource>libiconv</resource>
+           <resource>uuid</resource>
+           <resource>curl</resource>
+         </rdf:bag>
+       </PreReq>
+       <Source>
+         <rdf:bag>
+           <rdf:li>http://aegis.sourceforge.net/aegis-4.19.tar.gz</rdf:li>
+         </rdf:bag>
+       </Source>
+       <Description>
+ Aegis is a transaction-based software configuration management system.  It
+ provides a framework within which a team of developers may work on many
+ changes to a program independently, and Aegis coordinates integrating
+ these changes back into the master source of the program, with as little
+ disruption as possible.
+       </Description>
+     </rdf:Description>
+   </Repository>
+ </rdf:RDF>


ossp-pkg/quos/openpkg.sh -> 1.1

*** /dev/null    Sat Nov 23 01:17:18 2024
--- -    Sat Nov 23 01:17:22 2024
***************
*** 0 ****
--- 1,34 ----
+ #!/bin/sh
+ ##
+ ##  OSSP quos - Query On Steroids
+ ##  Copyright (c) 2004 Ralf S. Engelschall <rse@engelschall.com>
+ ##  Copyright (c) 2004 The OSSP Project <http://www.ossp.org/>
+ ##
+ ##  This file is part of OSSP quos, a Web user interface for querying
+ ##  a database which can be found at http://www.ossp.org/pkg/tool/quos/.
+ ##
+ ##  This program is free software; you can redistribute it and/or modify
+ ##  it under the terms of the GNU General Public License as published by
+ ##  the Free Software Foundation; either version 2 of the License, or
+ ##  (at your option) any later version.
+ ##
+ ##  This program is distributed in the hope that it will be useful,
+ ##  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ##  General Public License for more details.
+ ##
+ ##  You should have received a copy of the GNU General Public License
+ ##  along with this program; if not, write to the Free Software
+ ##  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ ##  USA, or contact Ralf S. Engelschall <rse@engelschall.com>.
+ ##
+ ##  quos.cfg: configuration
+ ##
+ 
+ #   one-time database creation task
+ rm -f openpkg.db
+ sqlite openpkg.db <openpkg.sql
+ 
+ #   recurring database update task
+ ./openpkg-rdf2sql.pl openpkg.rdf openpkg.db
+ 


ossp-pkg/quos/openpkg.sql -> 1.1

*** /dev/null    Sat Nov 23 01:17:18 2024
--- -    Sat Nov 23 01:17:22 2024
***************
*** 0 ****
--- 1,99 ----
+ --
+ --  OSSP quos - Query On Steroids
+ --  Copyright (c) 2004 Ralf S. Engelschall <rse@engelschall.com>
+ --  Copyright (c) 2004 The OSSP Project <http://www.ossp.org/>
+ --
+ --  This file is part of OSSP quos, a Web user interface for querying
+ --  a database which can be found at http://www.ossp.org/pkg/tool/quos/.
+ --
+ --  This program is free software; you can redistribute it and/or modify
+ --  it under the terms of the GNU General Public License as published by
+ --  the Free Software Foundation; either version 2 of the License, or
+ --  (at your option) any later version.
+ --
+ --  This program is distributed in the hope that it will be useful,
+ --  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ --  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ --  General Public License for more details.
+ --
+ --  You should have received a copy of the GNU General Public License
+ --  along with this program; if not, write to the Free Software
+ --  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ --  USA, or contact Ralf S. Engelschall <rse@engelschall.com>.
+ --
+ --  quos-openpkg.sql: OSSP quos database schema for OpenPKG XML/RDF
+ --
+ 
+ CREATE TABLE quos_rdf (
+     rd_id           BIGSERIAL UNIQUE NOT NULL PRIMARY KEY,
+     rd_url          TEXT
+ );
+ 
+ CREATE TABLE quos_package (
+     pk_id           BIGSERIAL UNIQUE NOT NULL PRIMARY KEY,
+     pk_name         TEXT,
+     pk_version      TEXT,
+     pk_release      TEXT,
+     pk_distribution TEXT,
+     pk_group        TEXT,
+     pk_license      TEXT,
+     pk_packager     TEXT,
+     pk_summary      TEXT,
+     pk_url          TEXT,
+     pk_vendor       TEXT,
+     pk_description  TEXT,
+     pk_rdf          BIGINT UNIQUE NOT NULL
+                     REFERENCES quos_rdf (rd_id)
+                     MATCH FULL DEFERRABLE
+ );
+ 
+ CREATE TABLE quos_buildprereq (
+     bp_id           BIGINT UNIQUE NOT NULL
+                     REFERENCES quos_package (pk_id)
+                     MATCH FULL DEFERRABLE
+                     PRIMARY KEY,
+     bp_key          TEXT,         
+     bp_op           TEXT,
+     bp_val          TEXT,
+     bp_rdf          BIGINT UNIQUE NOT NULL
+                     REFERENCES quos_rdf (rd_id)
+                     MATCH FULL DEFERRABLE
+ );
+ 
+ CREATE TABLE quos_prereq (
+     rp_id           BIGINT UNIQUE NOT NULL
+                     REFERENCES quos_package (pk_id)
+                     MATCH FULL DEFERRABLE
+                     PRIMARY KEY,
+     rp_key          TEXT,         
+     rp_op           TEXT,
+     rp_val          TEXT
+     rp_rdf          BIGINT UNIQUE NOT NULL
+                     REFERENCES quos_rdf (rd_id)
+                     MATCH FULL DEFERRABLE
+ );
+ 
+ CREATE TABLE quos_provide (
+     pr_id           BIGINT UNIQUE NOT NULL
+                     REFERENCES quos_package (pk_id)
+                     MATCH FULL DEFERRABLE
+                     PRIMARY KEY,
+     pr_key          TEXT,         
+     pr_op           TEXT,
+     pr_val          TEXT
+     pr_rdf          BIGINT UNIQUE NOT NULL
+                     REFERENCES quos_rdf (rd_id)
+                     MATCH FULL DEFERRABLE
+ );
+ 
+ CREATE TABLE quos_source (
+     sr_id           BIGINT UNIQUE NOT NULL
+                     REFERENCES quos_package (p_id)
+                     MATCH FULL DEFERRABLE
+                     PRIMARY KEY,
+     sr_url          TEXT
+     sr_rdf          BIGINT UNIQUE NOT NULL
+                     REFERENCES quos_rdf (rd_id)
+                     MATCH FULL DEFERRABLE
+ );
+ 


ossp-pkg/quos/quos.cfg -> 1.1

*** /dev/null    Sat Nov 23 01:17:18 2024
--- -    Sat Nov 23 01:17:22 2024
***************
*** 0 ****
--- 1,96 ----
+ ##
+ ##  OSSP quos - Query On Steroids
+ ##  Copyright (c) 2004 Ralf S. Engelschall <rse@engelschall.com>
+ ##  Copyright (c) 2004 The OSSP Project <http://www.ossp.org/>
+ ##
+ ##  This file is part of OSSP quos, a Web user interface for querying
+ ##  a database which can be found at http://www.ossp.org/pkg/tool/quos/.
+ ##
+ ##  This program is free software; you can redistribute it and/or modify
+ ##  it under the terms of the GNU General Public License as published by
+ ##  the Free Software Foundation; either version 2 of the License, or
+ ##  (at your option) any later version.
+ ##
+ ##  This program is distributed in the hope that it will be useful,
+ ##  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ##  General Public License for more details.
+ ##
+ ##  You should have received a copy of the GNU General Public License
+ ##  along with this program; if not, write to the Free Software
+ ##  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ ##  USA, or contact Ralf S. Engelschall <rse@engelschall.com>.
+ ##
+ ##  quos.cfg: configuration
+ ##
+ 
+ options {
+     webpage "quos.html" "%BODY%";
+     database "dbi:SQLite:dbname=openpkg.db" {
+         fields {
+             field Name              quos.package.pk_name;
+             field Version           quos.package.pk_version;
+             field Release           quos.package.pk_release;
+             field Distribution      quos.package.pk_distribution;
+             field Group             quos.package.pk_group;
+             field License           quos.package.pk_license;
+             field Packager          quos.package.pk_packager;
+             field Summary           quos.package.pk_summary;
+             field URL               quos.package.pk_url;
+             field Vendor            quos.package.pk_vendor;
+             field Description       quos.package.pk_description;
+             field BuildPreReq.Key   quos_buildprereq.bp_key;
+             field BuildPreReq.Op    quos_buildprereq.bp_op;
+             field BuildPreReq.Val   quos_buildprereq.bp_val;
+             field PreReq.Key        quos_prereq.rp_key;
+             field PreReq.Op         quos_prereq.rp_op;
+             field PreReq.Val        quos_prereq.rp_val;
+             field Provide.Key       quos_provide.pr_key;
+             field Provide.Op        quos_provide.pr_op;
+             field Provide.Val       quos_provide.pr_val;
+             field Source            quos_source.sr_url;
+         };
+         relations {
+             key quos_package.pk_id {
+                 quos_buildprereq.bp_id
+                 quos_prereq.rp_id
+                 quos_provide.pr_id
+                 quos_source.sr_id
+             };
+         };
+     };
+ };
+ 
+ queries {
+     group "by Group" {
+         query "Mail"            { GROUP EQ "Mail" };
+         query "News"            { GROUP EQ "News" };
+     };
+     group "by Release" {
+         query "OpenPKG-2.2"     { RELEASE RE "2\.2\.\d+$" };
+         query "OpenPKG-CURRENT" { RELEASE RE "2\d{7}" };
+     };
+ };
+ 
+ views {
+     view "TXT: rpm -qa" q{
+         [%{NAME}-%{VERSION}-%{RELEASE}\n]
+     };
+     view "TXT: rpm -qi" q{
+         Name:     %-25{NAME} Source RPM:   %{SOURCERPM}\n\
+         Version:  %-25{VERSION} Signature:    %|DSAHEADER?{dsa:%{DSAHEADER:pgpsig}}:{%|RSAHEADER?{rsa:%{RSAHEADER:pgpsig}}:{%|SI
+         Release:  %-25{RELEASE} Build Host:   %{BUILDHOST}\n\
+         Group:    %-25{GROUP} Build System: %{ARCH}-%{OS}\n\
+         Class:    %-25{CLASS} Build Time:   %{BUILDTIME:date}\n\
+         Distrib:  %-25{DISTRIBUTION} Install Time: %|INSTALLTIME?{%{INSTALLTIME:date}}:{(not installed)}|\n\
+         License:  %-25{LICENSE} Install Size: %{SIZE} bytes\n\
+         Packager: %-25{PACKAGER} Relocations:  %|PREFIXES?{[%{PREFIXES} ]}:{(not relocateable)}|\n\
+         Vendor:   %{VENDOR}\n\
+         Summary:  %{SUMMARY}\n\
+         URL:      %{URL}\n\
+         Description:\n%{DESCRIPTION}\n\
+         %|PROVIDENAME?{Provides:\n\
+         [    %{PROVIDENAME} %|PROVIDEFLAGS?{%{PROVIDEFLAGS:depflags} %{PROVIDEVERSION}}:{}|\n]}:{}|
+     };
+ };
+ 


ossp-pkg/quos/quos.cgi -> 1.1

*** /dev/null    Sat Nov 23 01:17:18 2024
--- -    Sat Nov 23 01:17:22 2024
***************
*** 0 ****
--- 1,73 ----
+ #!/usr/opkg/bin/perl
+ ##
+ ##  OSSP quos - Query On Steroids
+ ##  Copyright (c) 2004 Ralf S. Engelschall <rse@engelschall.com>
+ ##  Copyright (c) 2004 The OSSP Project <http://www.ossp.org/>
+ ##
+ ##  This file is part of OSSP quos, a Web user interface for querying
+ ##  a database which can be found at http://www.ossp.org/pkg/tool/quos/.
+ ##
+ ##  This program is free software; you can redistribute it and/or modify
+ ##  it under the terms of the GNU General Public License as published by
+ ##  the Free Software Foundation; either version 2 of the License, or
+ ##  (at your option) any later version.
+ ##
+ ##  This program is distributed in the hope that it will be useful,
+ ##  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ##  General Public License for more details.
+ ##
+ ##  You should have received a copy of the GNU General Public License
+ ##  along with this program; if not, write to the Free Software
+ ##  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ ##  USA, or contact Ralf S. Engelschall <rse@engelschall.com>.
+ ##
+ ##  quos.cgi: web user interface
+ ##
+ 
+ require 5.008;
+ use CGI;
+ use String::Divert;
+ 
+ #  ...FIXME...
+ 
+ my $html = '';
+ $html .= "<div class=\"quos\">";
+ $html .= "...";
+ $html .= "<span class=titlebrowse>Browse</span>";
+ $html .= "...";
+ $html .= "</div>";
+ print STDOUT $html;
+ 
+ __END__
+ 
+ =pod
+ 
+ =head1 NAME
+ 
+ B<OSSP quos> - Query On Steroids
+ 
+ =head1 DESCRIPTION
+ 
+ ...FIXME...
+ 
+ =head1 LOGICAL LAYOUT
+ 
+ 1. Browse
+    - Groups
+      . Hyperlinks
+ 2. Query
+    - Groups
+      . Field (database schema)
+      . Operator (compare)
+      . Value (depends on compare)
+ 3. View
+    - Selection predefined output format
+    - OSSP var based formatting string
+    - ordering
+    - save custom view
+ 4. Result
+    - based on View
+ 
+ =cut
+ 


ossp-pkg/quos/quos.css -> 1.1

*** /dev/null    Sat Nov 23 01:17:18 2024
--- -    Sat Nov 23 01:17:22 2024
***************
*** 0 ****
--- 1,35 ----
+ /*
+ **  OSSP quos - Query On Steroids
+ **  Copyright (c) 2004 Ralf S. Engelschall <rse@engelschall.com>
+ **  Copyright (c) 2004 The OSSP Project <http://www.ossp.org/>
+ **
+ **  This file is part of OSSP quos, a Web user interface for querying
+ **  a database which can be found at http://www.ossp.org/pkg/tool/quos/.
+ **
+ **  This program is free software; you can redistribute it and/or modify
+ **  it under the terms of the GNU General Public License as published by
+ **  the Free Software Foundation; either version 2 of the License, or
+ **  (at your option) any later version.
+ **
+ **  This program is distributed in the hope that it will be useful,
+ **  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ **  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ **  General Public License for more details.
+ **
+ **  You should have received a copy of the GNU General Public License
+ **  along with this program; if not, write to the Free Software
+ **  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ **  USA, or contact Ralf S. Engelschall <rse@engelschall.com>.
+ **
+ **  quos.css: Cascading Style-Sheet (CSS)
+ */
+ 
+ DIV.quos {
+     background: #f0f0f0;
+ }
+ 
+ .quos SPAN.titlebrowse {
+     color:      #ffffff;
+     background: #000000;
+ }
+ 


ossp-pkg/quos/quos.html -> 1.1

*** /dev/null    Sat Nov 23 01:17:18 2024
--- -    Sat Nov 23 01:17:22 2024
***************
*** 0 ****
--- 1,10 ----
+ <html>
+   <head>
+     <link rel="stylesheet" type="text/css" href="quos.css">
+   </head>
+   <body>
+     <h1>Quos Sample</h1>
+     <p>
+     %BODY%
+   </body>
+ </html>

CVSTrac 2.0.1