Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable checkout view in ViewVC #6169

Closed
vicuna opened this issue Sep 11, 2013 · 3 comments
Closed

Enable checkout view in ViewVC #6169

vicuna opened this issue Sep 11, 2013 · 3 comments

Comments

@vicuna
Copy link

vicuna commented Sep 11, 2013

Original bug ID: 6169
Reporter: @garrigue
Assigned to: @damiendoligez
Status: closed (set by @xavierleroy on 2017-02-16T14:16:38Z)
Resolution: won't fix
Priority: normal
Severity: minor
Target version: later
Category: web site
Monitored by: @alainfrisch

Bug description

ViewVC is used to access the subversion repository, but the checkout view is not enable, so that one cannot easily obtain the raw version of a file.

@vicuna
Copy link
Author

vicuna commented Sep 20, 2013

Comment author: @alainfrisch

Another problem with the ViewVC installation is that we cannot get diff with:

http://caml.inria.fr/cgi-bin/viewvc.cgi/ocaml/trunk/asmcomp/asmgen.ml?r1=14151&r2=14152

such links are generated by pages such as:

http://caml.inria.fr/cgi-bin/viewvc.cgi?view=revision&revision=14152

We get the following error:

Traceback (most recent call last):
File "/usr/lib/viewvc/lib/viewvc.py", line 4322, in main
request.run_viewvc()
File "/usr/lib/viewvc/lib/viewvc.py", line 397, in run_viewvc
self.view_func(self)
File "/usr/lib/viewvc/lib/viewvc.py", line 3141, in view_diff
fp = request.repos.rawdiff(p1, rev1, p2, rev2, diff_type, diff_options)
File "/usr/lib/viewvc/lib/vclib/svn/svn_repos.py", line 710, in rawdiff
temp1 = temp_checkout(self, p1, r1)
File "/usr/lib/viewvc/lib/vclib/svn/svn_repos.py", line 254, in temp_checkout
chunk = core.svn_stream_read(stream, core.SVN_STREAM_CHUNK_SIZE)
File "/usr/lib/pymodules/python2.7/libsvn/core.py", line 4801, in svn_stream_read
return _core.svn_stream_read(*args)
TypeError: expecting an integer for the buffer size

@vicuna
Copy link
Author

vicuna commented Apr 2, 2014

Comment author: @damiendoligez

Does anyone have suggestions on how to fix these two problems?

@vicuna
Copy link
Author

vicuna commented Nov 23, 2015

Comment author: @xavierleroy

ViewVC and the SVN repo for OCaml are dead, long live Github
https://github.com/ocaml/ocaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants