commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/reports INSTALL adapters/destinations/emai...


From: Jason Cater
Subject: gnue/reports INSTALL adapters/destinations/emai...
Date: Mon, 15 Apr 2002 00:36:44 -0400

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    02/04/15 00:36:44

Modified files:
        reports        : INSTALL 
        reports/adapters/destinations/email: sendmail.py 

Log message:
        misc cleanup

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/reports/INSTALL.diff?cvsroot=OldCVS&tr1=1.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/reports/adapters/destinations/email/sendmail.py.diff?cvsroot=OldCVS&tr1=1.3&tr2=1.4&r1=text&r2=text

Patches:
Index: gnue/reports/INSTALL
diff -c gnue/reports/INSTALL:1.5 gnue/reports/INSTALL:1.6
*** gnue/reports/INSTALL:1.5    Sun Apr 14 17:06:00 2002
--- gnue/reports/INSTALL        Mon Apr 15 00:36:43 2002
***************
*** 1,15 ****
! Installation instructions for GNUe-Reports
  
! Quick Ref: (read below for more info)
! =====================================
  
! ./setup.py install
  
! Make sure that you have a valid /usr/local/gnue/etc/gnue.conf and
! a valid /usr/loca/gnue/etc/report-filters.conf.  Sample versions of
! these files are installed by gnue-common as sample.gnue.conf and
! sample.report-filters.conf.  These samples will be sufficient for
! most sites. Simply copy the sample files to the needed files.
  
  Currently, only a non-server report engine will run (i.e., the
  background server implementation of Reports is not complete).
--- 1,25 ----
! Installation instructions for GNUe Reports
  
! Short Version
! =============
  
! Install the following prerequisites:
  
!  * Python 2.0 or later    http://www.python.org/
!  * GNUe-Common            http://www.gnuenterprise.org/downloads/common
!  * Sablotron              http://www.gingerall.com/charlie/ga/xml/p_sab.xml
!  * PySablot               http://sourceforge.net/projects/pysablot/
! 
! Then, as root:
! 
!  $ python2 ./setup.py install  (may be python2.1 or python2.2)
!  $ cd /usr/local/gnue/etc
!  $ cp sample.gnue.conf gnue.conf
!  $ cp sample.report-filters.conf report-filters.conf
! 
! 
! Introduction
! ============
  
  Currently, only a non-server report engine will run (i.e., the
  background server implementation of Reports is not complete).
***************
*** 17,26 ****
  small, centralized (2-tier) sites.
  
  
! General information:
! ====================
  
! GNUe-Reports needs some prerequisites to work. You need a database
  managment system and the scripting language Python (version 2.0 or
  higher).  Most modern Unix platforms have a python package available.
  
--- 27,36 ----
  small, centralized (2-tier) sites.
  
  
! Prerequisites
! ==============
  
! GNUe Reports needs some prerequisites to work. You need a database
  managment system and the scripting language Python (version 2.0 or
  higher).  Most modern Unix platforms have a python package available.
  
***************
*** 32,37 ****
--- 42,60 ----
   PySablot               http://sourceforge.net/projects/pysablot/
  
  
+ Configuration
+ =============
+ 
+ Make sure that you have a valid /usr/local/gnue/etc/gnue.conf and
+ a valid /usr/loca/gnue/etc/report-filters.conf.  Sample versions of
+ these files are installed by gnue-common as sample.gnue.conf and
+ sample.report-filters.conf.  These samples will be sufficient for
+ most sites. Simply copy the sample files to the needed files.
+ 
+ See the various sections below for setting up the "destinations"
+ (printers, email, file, and fax.)
+ 
+ 
  
  Support for the "printer" destination
  =====================================
***************
*** 78,89 ****
  
  Note that if the destination is set to "-", then the stdout "file" is used.
  In other words, -d -  will output the report to the console (or through a
! unix pipe.)  When using -d-, it is best to also specify the --quiet option.
  
  Example grrun:
  
    $ grrun -D file -d- --filter html | enscript -P lp
- 
  
  
  
--- 101,111 ----
  
  Note that if the destination is set to "-", then the stdout "file" is used.
  In other words, -d -  will output the report to the console (or through a
! unix pipe.)  When using -d -, it is best to also specify the --quiet option.
  
  Example grrun:
  
    $ grrun -D file -d- --filter html | enscript -P lp
  
  
  
Index: gnue/reports/adapters/destinations/email/sendmail.py
diff -c gnue/reports/adapters/destinations/email/sendmail.py:1.3 
gnue/reports/adapters/destinations/email/sendmail.py:1.4
*** gnue/reports/adapters/destinations/email/sendmail.py:1.3    Sun Apr 14 
16:20:42 2002
--- gnue/reports/adapters/destinations/email/sendmail.py        Mon Apr 15 
00:36:43 2002
***************
*** 71,78 ****
    #
    def close(self, mimetype='plain/text'):
  
-     print mimetype
- 
      if _mimeFileTypes.has_key(mimetype):
        fileExt = _mimeFileTypes[fileExt]
      else:
--- 71,76 ----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]