# # # patch "ChangeLog" # from [c19d5a4aa54ccbb20f776b2b282f8e17f68b6d2e] # to [89679c27aee60a88c1815fdd0f81475fb79add77] # # patch "README" # from [86f9112184651535771db7b381225f3053a9d8f0] # to [2f66d673c3ba4e563cf039ff6b5664a87794d868] # # patch "config.py.example" # from [3c78fa0e27d466f54df06dd69673a7b98f75fb47] # to [cbb57defe7f906cedae2a13c87aaec4bdb06a0f3] # # patch "urls.py" # from [cdd1ef4f53a33f703915f1fa5661a79967268bf1] # to [c3d91fe05c4521342fab6d19176aae9c9ef42ea7] # ============================================================ --- ChangeLog c19d5a4aa54ccbb20f776b2b282f8e17f68b6d2e +++ ChangeLog 89679c27aee60a88c1815fdd0f81475fb79add77 @@ -1,3 +1,10 @@ + +.. a few people committed without updating this, and I've + become sick of it too; please use "mtn log" or ViewMTN + to see what has gone on recently + + -- Grahame + 2008-02-14 Grahame Bowland * implement optional arguments, use this to ============================================================ --- README 86f9112184651535771db7b381225f3053a9d8f0 +++ README 2f66d673c3ba4e563cf039ff6b5664a87794d868 @@ -4,7 +4,7 @@ A web interface to monotone. See "COPYING" for distribution terms. ViewMTN is Copyright 2005 Grahame Bowland. -The minimum version of monotone required is: 0.32 +The minimum version of monotone required is: 0.35 See "INSTALL" for installation information. ============================================================ --- config.py.example 3c78fa0e27d466f54df06dd69673a7b98f75fb47 +++ config.py.example cbb57defe7f906cedae2a13c87aaec4bdb06a0f3 @@ -39,12 +39,34 @@ monotone = '/usr/bin/mtn' # the path to the 'mtn' binary monotone = '/usr/bin/mtn' -# the monotone database to be shared out -# everything in this database should be considered subject -# to disclosure. So don't store your private key in -# it! -dbfile = '/path/to/my/viewmtn.db' +# +# Database files: +# You can do this two ways. +# (1) Define "dbfile" as follows. VieWMTN will only +# allow access to one database. +# (2) Define "dbfiles". This tuple will describe several +# databases which ViewMTN will allow users to access. +# The format is as ( name , path, description, ... ) +# - just follow the patten in the example. +# The default database is defined via "defaultdb". +# +# If you have defined "dbfiles", it takes precedence over +# "dbfile". +# +# Everything in the databases you export should be considered +# subject to disclosure. Don't store your private key in +# any of the databases you export! +# +# Style (1) +# dbfile = '/path/to/my/viewmtn.db' + +# Style (2) +# dbfiles = ("database1", "/path/to/stuff.db", "my stuff", +# "database2", "/path/to/junk.db", "my other stuff") +# defaultdb = "database1" + + # highlight from http://andre-simon.de/ # if you don't have this available, just comment # the "highlight_command" line out ============================================================ --- urls.py cdd1ef4f53a33f703915f1fa5661a79967268bf1 +++ urls.py c3d91fe05c4521342fab6d19176aae9c9ef42ea7 @@ -29,7 +29,7 @@ perdb_urls = ( r'tags', 'Tags', r'databases', 'Databases', r'json/([A-Za-z]+)/(.*)', 'Json', - r'robots.txt', 'RobotsTxt', ## FIXME needs o exclude per-db paths + r'robots.txt', 'RobotsTxt', r'revision/browse/('+revision_re+')/(.*)', 'RevisionBrowse', r'revision/browse/('+revision_re+')()', 'RevisionBrowse',