Re: Checksum mismatch with 1.9.7
Well done for trying experiments so far. One more perhaps? 1. Make a new machine that is also 1.8.19. 2. Restore the dump file into that. 3. Upgrade that Subversion to 1.9.7 - following advice in the release notes for repo upgrades too 4. Make a dump file again on that new machine. 5. Try to restore that new dump file to the *intended* 1.9.7 machine.
Re: Apache svn - how to customize rendering?
On Sun, 10 Dec 2017 16:03:30 -0500, Mark Phippard wrote: >> I once installed ViewCVS on Windows servers back about 10 years ago >> (for CVS) and it was really not this complex to get running. >> >> I have yet to see anything at all via the Apache web server. > > >I have generally just followed the ViewVC docs: > >https://github.com/viewvc/viewvc/blob/master/INSTALL > I looked at this page and found the passage: " Quick sanity check: If you just want to see what your repository looks like when seen through ViewVC, type: $ bin/standalone.py -r /PATH/TO/REPOSITORY This will start a tiny ViewVC server at http://localhost:49152/viewvc/, to which you can connect with your browser." So I tried it on my Ubuntu box: ~$ /usr/lib/viewvc/bin/standalone.py -r /var/lib/svn server ready at http://localhost:49152/viewvc Notice the "localhost" entry! This will be no good because the UBUNTU Server 16.04.3 does not have a GUI in which to run a web browser. So I tried this instead (engineering-lx is the DNS name of my Ubuntu test server): http://engineering-lx:49152/viewvc But it just resulted in a "Unable to connect" error in FireFox. I can reach the svn via Apache fine though: http://engineering-lx/svn/pc/ But no sign of viewvc for Subversion... Maybe the tiny server is not connected to the eth0 public address? Localhost seems suspicious to me. -- Bo Berglund Developer in Sweden
Re: Apache svn - how to customize rendering?
On Sun, 10 Dec 2017 12:23:33 -0500, Mark Phippard wrote: >The OP does not really specify what they are looking for, Well, at first I was looking to improve the ugly looking out of the box single column display I get in my browser. But then I also thought about the ViewCVS we used with CVS and which gave us a lot more info than just a list of folders/files. So this is what I am looking for now (viewvc for svn), but I am having problems getting it running. PS: I sent this yesterday but it seems like it never made it to the list. Resending it now. DS -- Bo Berglund Developer in Sweden
Re: Apache svn - how to customize rendering?
On 11.12.2017 11:51, Bo Berglund wrote: > On Sun, 10 Dec 2017 16:03:30 -0500, Mark Phippard > wrote: > >>> I once installed ViewCVS on Windows servers back about 10 years ago >>> (for CVS) and it was really not this complex to get running. >>> >>> I have yet to see anything at all via the Apache web server. >> >> I have generally just followed the ViewVC docs: >> >> https://github.com/viewvc/viewvc/blob/master/INSTALL >> > I looked at this page and found the passage: > > " Quick sanity check: > > If you just want to see what your repository looks like when seen > through ViewVC, type: > >$ bin/standalone.py -r /PATH/TO/REPOSITORY > > This will start a tiny ViewVC server at > http://localhost:49152/viewvc/, > to which you can connect with your browser." > > So I tried it on my Ubuntu box: > > ~$ /usr/lib/viewvc/bin/standalone.py -r /var/lib/svn > server ready at http://localhost:49152/viewvc > > Notice the "localhost" entry! This will be no good because the UBUNTU > Server 16.04.3 does not have a GUI in which to run a web browser. So extend your httpd configuration to proxy the ViewVC server; you'd want to do that anyway. Something along these lines: ProxyPass http://localhost:49152/viewvc ProxyPassReverse http://localhost:49152/viewvc and don't forget to load mod_proxy and mod_proxy_http (the command is "a2enmod" on Ubuntu). Really, this is basic stuff that's documented with examples all over the place. Why not read the docs first and come here with actual problems? -- Brane
Re: Apache svn - how to customize rendering?
On Mon, 11 Dec 2017 11:51:13 +0100, Bo Berglund wrote: >Maybe the tiny server is not connected to the eth0 public address? >Localhost seems suspicious to me. I ended up editing the /usr/lib/viewvc/bin/standalone.py file on the line specifying the binding: host = sys.platform == 'mac' and '192.168.xxx.xxx' or 'engineering-lx' # '127.0.0.1' or 'localhost' After this I could see the repository through the basic ViewVC glasses on my PC! Much improved view over the svn built-in Apache view :) But standalone.py is not what I want to run anyway, so I need to plow through the immense installation configuration to enable VieVC integration into Apache2... Or is there a quyick way to get the standalone.py version become the way ViewVC serves out the repository via Apache2? Note: My CVS users are all working through the WinCVS application from the CVSGui project that died about 10 years ago... None is comfortable with command line work or Linux for that matter, all are on Windows workstations. So I need to give them some GUI style tools to convince of a migration to Subversion. Maybe VisualSVN on Windows can fulfill this? -- Bo Berglund Developer in Sweden
Re: Apache svn - how to customize rendering?
On Mon, 11 Dec 2017 12:34:09 +0100, Branko ?ibej wrote: >Really, this is basic stuff that's documented with examples all over the >place. Why not read the docs first and come here with actual problems? 'All over the place' is a bit of an overstatement. I have found a number of examples or how-to's but when following those it turns out to not work and then after looking closer most are outdated documents And they often assume that you know a whole lot more about the inner workings of Apache or Linux than I do. -- Bo Berglund Developer in Sweden
Re: Apache svn - how to customize rendering?
Hi Bo, I keep trying to drive you to look at working Docker configurations on Github. Here's one https://github.com/RainerBlessing/Docker-ViewVC for ViewVC on Ubuntu14.10. Can you run docker for yourself? In terms of self-education you need to be able to run Docker on you Mac or Windows workstation (or laptop), as this isn't so much about the intended server, more about "oooh, I wonder how that works" hacking around. Please tell me directly if you've no Docker capability on any workstation you have access to, and I'll shut up! - Paul
Re: Apache svn - how to customize rendering?
On 11.12.2017 12:43, Bo Berglund wrote: > Note: > My CVS users are all working through the WinCVS application from the > CVSGui project that died about 10 years ago... > > None is comfortable with command line work or Linux for that matter, > all are on Windows workstations. > > So I need to give them some GUI style tools to convince of a migration > to Subversion. Maybe VisualSVN on Windows can fulfill this? I propose starting with TortoiseSVN. It's a plugin for Windows Explorer. https://tortoisesvn.net/downloads.html Other than that: most common IDEs have SVN integration built-in, or have plugins available. Of course that's only relevant for developers. -- Brane
Re: Checksum mismatch with 1.9.7
Michael Knigge wrote on Sat, Dec 09, 2017 at 17:41:56 +0100: > But I'm fairly interested why I have this problems running 1.9.7 and what is > the right way around it... How about: - dump the 1.8.19 repository - change the offending checksums to all-zeroes. (Dumpfiles are a binary format so make sure your editor doesn't munge whitespace; if in doubt, use sed.) - load the edited dumpfile into 1.9.7 - dump the 1.9.7 repository - diff the two dumpfiles and check whether there are any differences besides the expected difference in the Text-content-sha1 header. This should at least get your migration done safely. I'll let others comment on what caused the warning. Cheers, Daniel
Re: Checksum mismatch with 1.9.7
Hi, I was able to restore the Dump on a system running 1.9.3. Tomorrow I'll try to transfer the 1.9.3 repository it to the intended 1.9.7 machine and start using svnsync on that new repository Hope this goes well until we'll switch over in production... Bye, Michael
Re: Apache svn - how to customize rendering?
On Mon, 11 Dec 2017 07:00:20 -0500, Paul Hammant wrote: >Hi Bo, > >I keep trying to drive you to look at working Docker configurations on >Github. Here's one https://github.com/RainerBlessing/Docker-ViewVC for >ViewVC on Ubuntu14.10. Can you run docker for yourself? In terms of >self-education you need to be able to run Docker on you Mac or Windows >workstation (or laptop), as this isn't so much about the intended server, >more about "oooh, I wonder how that works" hacking around. Please tell me >directly if you've no Docker capability on any workstation you have access >to, and I'll shut up! > Hi, I went to the github link you gave and had a look at the viewvc.conf file. It looks like almost everything inside it is commented out and it also states there is not yet able to run as a service... What really "docker" is eludes me however, could you expand a bit on it? It must be something general since I noticed this at the bottom of Dockerfile #sudo apt-get install docker.io So I could perhaps use it as a testing tool, but then I could as well use the standalone.py file which is part of viewvc itself, right? In any case both standalone.py and the docker thing seems to publish the view on localhost:someport, which kind of defeats the object here. I want the view to be available from computers outside of the server so it has to be published to the eth0 interface. I made this happen in standalone.py by editing it and changing the host variable so it uses the server's address (hardcoded) and hostname (also hardcoded). Then I was able to run standalone.py and view the result on http://hostname:someport/viewvc/ Looked all right, but has now to be transported into Apache2... -- Bo Berglund Developer in Sweden