Commit Graph

52 Commits (459ed3fea38e7d27723eee8783a81ebfd2933cb8)

Author SHA1 Message Date
rey4 690e7b6e8f installation now prompts to delete .py or .pyc files that don't belong
in install folders


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@636 8cb11bc2-c004-0410-86c3-e597b4017df7
2003-03-03 09:57:06 +00:00
rey4 c8d318c670 replaced += operation with call to list extend method for pre-2.0 python compatibility
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@627 8cb11bc2-c004-0410-86c3-e597b4017df7
2003-02-20 10:43:11 +00:00
rey4 4e2aa11281 changed installer to not install windows-only files on unix!
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@624 8cb11bc2-c004-0410-86c3-e597b4017df7
2003-02-19 23:24:29 +00:00
rey4 74b01543ae Updated with new locations of asp and mod_python files
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@623 8cb11bc2-c004-0410-86c3-e597b4017df7
2003-02-19 22:51:27 +00:00
rey4 1d1816cc8c added the new mod_python files
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@610 8cb11bc2-c004-0410-86c3-e597b4017df7
2003-02-18 11:54:21 +00:00
rey4 c10162e3da updated installer for windows compatibility
- escaped backslashes in regular expressions
- added viewcvs.asp and query.asp to FILE_INFO_LIST
- set default install path to "Program Files" directory


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@585 8cb11bc2-c004-0410-86c3-e597b4017df7
2003-02-09 09:16:09 +00:00
gstein 79728fb463 Update copyright years.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@543 8cb11bc2-c004-0410-86c3-e597b4017df7
2002-09-05 07:34:45 +00:00
gstein 4ea09932a2 Only attempt to set paths in the Python source code. We don't want to
accidentally do this in a jpeg or whatever. (yah, unlikely, but it is
easy to say "just python source" since we already have the flag)


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@517 8cb11bc2-c004-0410-86c3-e597b4017df7
2002-05-22 09:01:14 +00:00
gstein e3a4336d40 Enable installation of entire trees so that we don't have to name all
the files individually.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@515 8cb11bc2-c004-0410-86c3-e597b4017df7
2002-05-22 01:16:07 +00:00
timcera 314efa19da Added down.png and up.png for sorting on dir pages.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@471 8cb11bc2-c004-0410-86c3-e597b4017df7
2002-02-07 13:21:21 +00:00
timcera ed9d473ff1 * Added template components to templates/include.
* Added description of remaining install step at end of install.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@451 8cb11bc2-c004-0410-86c3-e597b4017df7
2002-01-23 05:24:31 +00:00
gstein 7e3baffea4 add dir_alternate.ezt
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@407 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-12-21 11:59:45 +00:00
timcera e88fcaebce Added lib/accept.py
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@402 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-12-21 04:46:11 +00:00
timcera c8718c00cd Added new template files.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@396 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-12-18 06:07:47 +00:00
timcera a2b579b5ac Allow the installer to view differences between old and new configuration files.
* Use lib/ndiff.py to do the differencing.
* Passes by configuration files that have no differences between new and old.
* Create menu loop to choose between overwrite, do not overwrite and view
  differences.

Future:
  Need to work on difference format, ndiff is unusual.  Need line numbers.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@391 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-12-16 01:58:00 +00:00
pefu 83f6a7c7d5 Install new help pages also
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@387 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-12-12 20:43:58 +00:00
timcera b564bd020a * Added apache_icons.py so that standalone.py works.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@354 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-11-19 13:55:18 +00:00
pefu eff0ddeabe Add the new debug module to the installer
installed viewcvs dies with an ImportError exception otherwise.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@351 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-11-19 10:22:28 +00:00
gstein cef439958f Remove direasy.ezt.
directory.ezt incorporated its cvsgraph icon, so its only difference is
flipping the links around. But the existing definition for the links makes
more sense, so that leaves direasy.ezt without any new or interesting
features.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@347 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-11-19 03:11:21 +00:00
gstein 27df7480c5 Various tweaks:
* remove standalone comment from README; standard operation is to use a CGI
  script, so we don't want an incorrect emphasis; keep this discussion in
  INSTALL.

* clarify the GUI vs CGI operation description at the head of the file

* other updates/clarifications in INSTALL

* reformat a bit of text in the installer


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@345 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-11-19 01:10:08 +00:00
gstein 5e497355a4 Fix up how the cvsdb handles loading the configuration.
* cvsdb.py: provide for running out of the CVS working dir. pass the config
  to GetRlogData().

* rlog.py: stop reading the config here (it's a library module). accept the
  config object as a param.

* viewcvs-install: turn off install-time substitution for several files


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@334 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-11-18 10:29:31 +00:00
timcera 70b05c8a5e * Added direasy.ezt to install.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@323 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-11-15 20:17:16 +00:00
pefu 2be790dcb3 Greg voted against providing local copies of the ViewCVS docs in a
ViewCVS installation.  So back these out from the doc directory again.
Remaining work:  Change the links within the Help pages.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@309 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-11-13 19:01:01 +00:00
pefu e824f93fb5 make contributing.html also available locally
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@305 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-11-09 22:10:44 +00:00
timcera 9da51dbec2 Added log_table.ezt to the installation.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@303 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-11-09 18:42:34 +00:00
pefu c2d403b482 Informational stuff separated out into two help pages.
Might be removed from templates/directory.ezt.
Please have a look at my email to viewcvs-dev.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@294 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-11-08 08:12:56 +00:00
pefu d206d1d80b Some new files were missing in the installer
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@277 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-10-25 16:17:06 +00:00
pefu 89282b3125 * ATTENTION: I changed the meaning of the cvsgraph_path config option variable!
This is more consistent with the already existing enscript_path config option.

* Added a new subsection about enscript configuration to the INSTALL file
  similar to the subsection about cvsgraph.

* Updated the notes about cvsgraph to match the new situation. (make install
  in the cvsgraph source directory places itself into /usr/local/bin).

* Added a note about linking cvsgraph on Solaris.

* The value of the config option variable cvsgraph_conf needs to be an
  absolute path.  viewcvs-install now sets this path automatically
  to the viewcvs install directory.

Idea: Should viewcvs-install try to find cvsgraph and enscript binaries
on $PATH and enable the use*-config options automatically?


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@265 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-10-24 09:44:59 +00:00
pefu de7c322520 * Replaced the os.system() calls inherited from cvsgraphwrapper.cgi and
cvsgraphmkimg.cgi with popen.popen().  Suggested by Greg Stein.

* Removed the cvsgraphwrapper.cgi and cvsgraphmkimg.cgi scripts.  They
  are no longer needed.  Suggested by Greg Stein.

* Fixed the viewcvs-install accordingly.

* Added some basic HTML files to the installer, so that they are available
  for access from an installed viewcvs locally.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@263 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-10-23 11:26:49 +00:00
pefu 289e6514da * Added a README file. Currently this simply refers the reader to the
existing file INSTALL.
* Similar to the README file of the Python distribution I added a new
  section titled "TO THE IMPATIENT" at the top of the INSTALL file.
* Changed the section about upgrading to refer to the HTML file.
* Added a note about the optional prerequisite 'cvsgraph'.
* Modified the default behaviour of viewcvs-install, so that it will
  use a fresh installation directory for each major release of ViewCVS
  and changed the INSTALL file to point this behaviour out.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@261 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-10-22 21:17:59 +00:00
gstein 9b25497fe9 Specify the template to use in the .conf file. This allows vhosts to select
different templates. (and simply provide flexibility to the user)


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@251 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-10-20 23:54:21 +00:00
pefu a8ace27847 Now people upgrading their viewcvs will be warned about the
necessary changes in configuration file


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@235 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-10-17 07:46:52 +00:00
timcera 620307a64c Added installation of the ezt.py library, directory.ezt, and cvsgraphmkimg.cgi.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@224 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-10-12 04:51:19 +00:00
timcera 350db5250c Added CvsGraph support including documentation and installation.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@209 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-09-22 05:38:32 +00:00
jpaint a64dc83028 big update of commit database; new CGI, better database cache; no more
html templates; better intigration with viewcvs.cgi's HTML settings


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@207 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-08-21 19:24:40 +00:00
akr d29fac8ba9 Fix typo. (overwright -> overwrite)
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@206 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-06-18 03:12:03 +00:00
gstein 007ad51b2c change web site references from www.lyra.org/viewcvs/ to the new
viewcvs.sourceforge.net/ site.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@193 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-30 08:49:19 +00:00
gstein d0de5e7ad0 add the two new lib/ modules.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@191 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-30 08:18:28 +00:00
gstein e3dbdb4fcc Update copyright years to include 2001.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@182 8cb11bc2-c004-0410-86c3-e597b4017df7
2001-05-12 22:51:02 +00:00
jpaint 91d2ebfc64 move the dbi abstraction to dbi.py; I'll deal with various errors and
incompatibilities in different versions of MySQLdb here...


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@135 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-06-27 03:09:52 +00:00
jpaint cb4f496b99 moved query object from lib/database.py to lib/query.py; expanded query
object to accept multiple directories,  repositories, authors, and files;
it also does regular expressions (optionally) now

Note: this commit doesn't leave the database in a very useable state,
      I'll fix that very soon.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@131 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-06-11 16:47:37 +00:00
gstein 8810ab6c57 some fixes for Python 1.5(.1) compatibility. problems found by the help of
Bruce Langlois <bruce@acsp.com>


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@123 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-05-17 06:42:49 +00:00
gstein ee8a705131 add compilation of lib/ files (running as the web server probably will not
allow a write to lib/, so we do it ahead of time)


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@120 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-05-12 10:26:11 +00:00
jpaint 934209abb9 have rlog.py use the rcs path set in the config file
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@115 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-05-12 03:19:09 +00:00
gstein ee6c5f5da3 don't create a cgi/ directory.
update the shell-bang line at the top of the executable files with the
    correct python executable path.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@113 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-05-12 01:56:50 +00:00
jpaint 43d6d82b34 added popen.py to the installer
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@112 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-05-12 00:25:00 +00:00
jpaint 25e4e5d18a Fixed up viewcvs-install script. It includes a few
files, excludes a few we don't use, and added a new field to the install
file list which will prompt before overwriting a file (viewcvs.conf, for
example).


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@110 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-05-11 23:55:07 +00:00
gstein 182aeaa7fa various simplification of the code. use re.sub() rather than line-by-line
replacements for the config variable stuff.
output a bit more information when unknown errors occur.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@95 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-05-09 10:29:13 +00:00
gstein 18048c0a80 update the copyright and license information.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@93 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-05-09 08:36:29 +00:00
jpaint c8ebba802e * CVSdb now uses viewcvs.conf
* added licence text for lib/compat.py lib/config.py
* viewcvs-install now installs + sets all the paths and modes for
	installed files


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@84 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-26 22:46:47 +00:00