Changeset 328 for cleverbox/branches

Show
Ignore:
Timestamp:
02/29/08 17:57:52 (2 years ago)
Author:
trivoallan
Message:

cleverbox :

  • fixed cleverbox version number. Fixes #37
  • explicitely forbid the cleverbox to run with trac-0.10.3. Fixes #43
Location:
cleverbox/branches/0.4
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • cleverbox/branches/0.4/cleverbox/scripts/admin.py

    r267 r328  
    3939} 
    4040 
    41 _version = '0.4.2dev' 
     41_version = '0.4.3pre' 
    4242 
    4343class CleverboxAdmin(cmd.Cmd): 
     
    7373        #  - open VERSION 
    7474        try: 
     75            import trac 
     76            if trac.__version__ == '0.10.3': 
     77                print 
     78                print "A bug in trac-0.10.3 prevents the cleverbox from working correctly." 
     79                print "Please upgrade or downgrade your trac installation." 
     80                print 
     81                 
     82                sys.exit(1) 
     83             
    7584            env_version = open(os.path.join(self.envname, 'VERSION')).read().strip() 
    7685             
     
    927936        trac_db.commit() 
    928937         
    929         print 
    930938        print "  Revoked Trac default permissions\n" 
    931939 
  • cleverbox/branches/0.4/debian/control

    r272 r328  
    88Package: cleverbox  
    99Architecture: all 
    10 Depends: ${python:Depends}, subversion (>=1.4.2), trac (>=0.10.3), libapache2-mod-python (>=3.2.10), libapache2-svn (>=1.4.2), python-setuptools (>=0.6c3-3) 
     10Depends: ${python:Depends}, subversion (>=1.4.2), trac (>=0.10), libapache2-mod-python (>=3.2.10), libapache2-svn (>=1.4.2), python-setuptools (>=0.6c3-3) 
     11Conflicts:  trac-0.10.3  
    1112Suggests: libapache2-mod-macro  
    1213Description: Trac and Subversion instances deployment shell  
  • cleverbox/branches/0.4/setup.py

    r278 r328  
    4141     
    4242    # Dependencies 
    43     install_requires=['setuptools>=0.6b1', 'trac>=0.10.3'] 
     43    install_requires=['setuptools>=0.6b1', 'trac>=0.10.4'] 
    4444)