Re: SVN MFA

2025-04-28 Thread Prasu S
Hello Andreas, We are using an Apache server, which is installed on a Windows server. We want to implement OTP. We are using Tortoise SVN to access the repositories.I'm checking to see how we can implement MFA. Thanks! Regards, Prasanna On Tue, Apr 22, 2025 at 12:44 PM Prasu S wrote: > Thanks

Re: Implications of duplicate UUIDs on a server

2025-04-28 Thread Andreas Stieger
On 2025-04-28 17:11, LWChris wrote: I intend to quick fix that by calling "svnadmin setuuid" after copying the template, for future repositories. Correct. Recommended for future repositories. But what to do about the existing ones? What are the implications of duplicate UUIDs on a server?

Re: Implications of duplicate UUIDs on a server

2025-04-28 Thread Daniel Sahlberg
Hi, Den mån 28 apr. 2025 kl 17:18 skrev LWChris : > Hi, > > for a long time, a company I am working with now has set up new > repositories using a “template” repository, which is a folder on the server > with a “configured but empty” repository, that was just copied over and > over to the SVN ser

Re: svn status --xml with -u and --depth=empty lost the entry block

2025-04-28 Thread Daniel Sahlberg
Hi, Den sön 27 apr. 2025 kl 13:02 skrev Jian Wang : > Hi~ > I'm coding to use svn in my Unity project, and want find a way to get file > status > I've tried `svn status` command, in most cases it works well, > however when -u and --depth=empty are both enabled, the entry block is > missing. > Th

Re: svn status --xml with -u and --depth=empty lost the entry block

2025-04-27 Thread Lorenz via users
Hi, hm, with depth=empty you're telling svn to only consider the root folder itself. In that case the entry tag would be empty ( and therefore perhaps omitted) in case there are no changes/updates regarding the folder. Lorenz -- Jian Wang wrote: >Hi~ >I'm coding to use svn in my Unity project,

Re: SVN MFA

2025-04-24 Thread Jeffrey Walton
On Tue, Apr 22, 2025 at 11:49 AM Peter Balogh wrote: > > Andreas can you please share more about this? > I've been looking for a solution for this for a while, but I only found > hacks like when entering your password, also add your OTP at the end > every time you do an svn operation Yuk, what a

Re: SVN MFA

2025-04-22 Thread Peter Balogh
Hi, I have rather simple implementation plan, to handle a special response with a 2fa challenge in cli, or by opening a browser window for auth, than storing the session cookie next to usual svn credentials I wrote up my plans in the dev mailing list, I'm happy to further discuss it, before I

Re: SVN MFA

2025-04-22 Thread Prasu S
Thanks Andreas for your quick response. Does Apache Subversion support organisation MFA or external MFA? We are using Tortoise SVN to access the repositories. Is it possible to set up MFA through Tortoise SVN? Thanks On Tue, Apr 22, 2025 at 11:29 AM Andreas Stieger wrote: > Hello, > > On 20

Re: SVN MFA

2025-04-22 Thread Mark Phippard
Supporting this from a CLI is next to impossible. I would look at how it is done with Git and see if it is possible to make the SVN CLI directly use the Git Credential Manager: https://github.com/git-ecosystem/git-credential-manager You would then need to work backwards from there to an Apache sol

Re: SVN MFA

2025-04-22 Thread Peter Balogh
Hi, Andreas can you please share more about this? I've been looking for a solution for this for a while, but I only found hacks like when entering your password, also add your OTP at the end every time you do an svn operation Is a modern OTP or Oauth authentication possible with httpd and the s

Re: SVN MFA

2025-04-22 Thread Peter Balogh
Hi, We're working on contributing a 2FA solution to subversion, if you can share your requirements, we'll try to support it in the future What server are you planning to use? apache or svnserve? What MFA solution would satisfy your requirements? One time passwords, external 2nd factor like Duo

Re: SVN MFA

2025-04-22 Thread Andreas Stieger
Hello, On 2025-04-22 16:37, Prasu S wrote: Our team is using SVN as a version control tool for source code. We are looking into implementing MFA. Does SVN have built-in MFA capabilities? If so, can you please point me to the documentation? I appreciate any help you can provide. Apache Subve

Re: I think I found a Bug on SVN Cleanup

2025-04-19 Thread Branko Čibej
On 17. 4. 25 22:51, Jan Kohlmeyer wrote: Hi Nathan, * Which directory are you in when you run "svn cleanup --remove-unversioned --include-externals"? I am in the root directory of the repository. Did you mean "in the root directory of the working copy"? Subversion working copies are

AW: [EXT] Re: [EXT] Re: I think I found a Bug on SVN Cleanup

2025-04-17 Thread Jan Kohlmeyer
If i am in a or a\b and do this, „Performing status on external“ is not listet. Regards, Jan Von: Nathan Hartman Gesendet: Donnerstag, 17. April 2025 21:19 An: Jan Kohlmeyer Cc: Daniel Sahlberg ; users@subversion.apache.org Betreff: [EXT] Re: [EXT] Re: I think I found a Bug on SVN Cleanup Sie erha

Re: [EXT] Re: I think I found a Bug on SVN Cleanup

2025-04-17 Thread Nathan Hartman
On Thu, Apr 17, 2025 at 9:59 AM Jan Kohlmeyer wrote: > Hi Daniel, > > > >- What will be deleted? > > > > the external Folder in my Repo will be deleted. > > If I have > > > Path: a/b/c > > Url: ^/../OtherDir > > > > And do svn cleanup --include-externals it will not be updated and with svn >

AW: [EXT] Re: I think I found a Bug on SVN Cleanup

2025-04-17 Thread Jan Kohlmeyer
ted in my local copy that I run the cleanup on. Than I can run Update-Command and the ‚c‘ Folder will be checked out again. Grards, Jan Von: Daniel Sahlberg Gesendet: Donnerstag, 17. April 2025 11:34 An: Nathan Hartman Cc: Jan Kohlmeyer ; users@subversion.apache.org Betreff: [EXT] Re: I think I

Re: I think I found a Bug on SVN Cleanup

2025-04-17 Thread Daniel Sahlberg
Den ons 16 apr. 2025 kl 23:27 skrev Nathan Hartman : > On Wed, Apr 16, 2025 at 9:38 AM Jan Kohlmeyer > wrote: > > > > Hi, I think I found a Bug on SVN Cleanup: > > > > > > > > * What steps led to the issue: > > > > > > > > I have an Repository with externals. > > > > One external has a depth of t

Re: I think I found a Bug on SVN Cleanup

2025-04-16 Thread Nathan Hartman
On Wed, Apr 16, 2025 at 9:38 AM Jan Kohlmeyer wrote: > > Hi, I think I found a Bug on SVN Cleanup: > > > > * What steps led to the issue: > > > > I have an Repository with externals. > > One external has a depth of three directorys: > > Path: Dir1/Dir2/Dir3 > > Url: ^/../OtherDir > > > > Run clean

Re: svn unlock all files locked by a specific user

2025-03-24 Thread Branko Čibej
On 19. 3. 25 19:10, Sean McBride wrote: Hi all, Is there an easy way to force unlock all files currently locked by a specific user? Consider an employee that leaves, and needing to then unlock anything she still had locked. You'll have to script it. You can use 'svn ls -R -v URL' to get the

Re: svn unlock all files locked by a specific user

2025-03-19 Thread Sean McBride
Thanks to you both. I ended up doing this on the server: ``` svnadmin lslocks /usr/local/repositories/reponame/ | grep -B3 "Owner: alice" | grep "Path: " | sed 's/^Path: \//svn unlock --force "/' | sed 's/$/"/' > ~/svnunlock.sh ``` then running that result on my own computer against my local

Re: svn unlock all files locked by a specific user

2025-03-19 Thread Andreas Stieger
On 2025-03-19 19:10, Sean McBride wrote: Is there an easy way to force unlock all files currently locked by a specific user? It's easy enough to get a full list: https://svnbook.red-bean.com/nightly/en/svn.advanced.locking.html#svn.advanced.locking.break-steal grep -B3 [...], grep, awk/cu

Re: ./configure --with-berkeley-db gives incomplete message

2025-03-19 Thread Michael Osipov
On 2025/03/18 23:27:58 Yasuhito FUTATSUKI wrote: > Hello, > > On 2025/03/19 3:21, Michael Osipov wrote: > > On 2025/03/18 16:41:07 Nathan Hartman wrote: > >> On Tue, Mar 18, 2025 at 10:09 AM Michael Osipov > >> wrote: > >> > >>> Folks, > >>> > >>> the configure script for 1.14.5 gives me: > >>>

Re: ./configure --with-berkeley-db gives incomplete message

2025-03-18 Thread Yasuhito FUTATSUKI
Hello, On 2025/03/19 3:21, Michael Osipov wrote: > On 2025/03/18 16:41:07 Nathan Hartman wrote: >> On Tue, Mar 18, 2025 at 10:09 AM Michael Osipov wrote: >> >>> Folks, >>> >>> the configure script for 1.14.5 gives me: >>> --with-berkeley-db[=HEADER:INCLUDES:LIB_SEARCH_DIRS:LIBS] >>>

Re: ./configure --with-berkeley-db gives incomplete message

2025-03-18 Thread Michael Osipov
On 2025/03/18 16:41:07 Nathan Hartman wrote: > On Tue, Mar 18, 2025 at 10:09 AM Michael Osipov wrote: > > > Folks, > > > > the configure script for 1.14.5 gives me: > > --with-berkeley-db[=HEADER:INCLUDES:LIB_SEARCH_DIRS:LIBS] > > The Subversion Berkeley DB based files

Re: ./configure --with-berkeley-db gives incomplete message

2025-03-18 Thread Nathan Hartman
On Tue, Mar 18, 2025 at 10:09 AM Michael Osipov wrote: > Folks, > > the configure script for 1.14.5 gives me: > --with-berkeley-db[=HEADER:INCLUDES:LIB_SEARCH_DIRS:LIBS] > The Subversion Berkeley DB based filesystem > library > requires Berkel

Re: Svn-1.14.3 and svn1.14.5 segfault using 32-bit x86, but not on 64-bit x86_64

2025-03-10 Thread Branko Čibej
On 10. 3. 25 13:45, John Frankish wrote: Svn-1.14.3 and svn1.14.5 segfault using 32-bit x86, but not on 64-bit x86_64 using the same distro (tinycorelinux) and the same machine. Building from source using: CC="gcc -ggdb" CXX="g++ -ggdb" ./configure --prefix=/usr/local -disable-static --locals

Re: Svn-1.14.3 and svn1.14.5 segfault using 32-bit x86, but not on 64-bit x86_64

2025-03-10 Thread Branko Čibej
On 10. 3. 25 13:45, John Frankish wrote: Svn-1.14.3 and svn1.14.5 segfault using 32-bit x86, but not on 64-bit x86_64 using the same distro (tinycorelinux) and the same machine. Building from source using: CC="gcc -ggdb" CXX="g++ -ggdb" ./configure --prefix=/usr/local -disable-static --locals

Re: Svn-1.14.3 and svn1.14.5 segfault using 32-bit x86, but not on 64-bit x86_64

2025-03-10 Thread Branko Čibej
On 10. 3. 25 20:09, Branko Čibej wrote: On 10. 3. 25 13:45, John Frankish wrote: Svn-1.14.3 and svn1.14.5 segfault using 32-bit x86, but not on 64-bit x86_64 using the same distro (tinycorelinux) and the same machine. Building from source using: CC="gcc -ggdb" CXX="g++ -ggdb" ./configure --pr

Re: Seeking Feedback on SVNPlus.com – A modern SVN Solution

2025-03-05 Thread Peter Balogh
Hi, I've never used Phabricator, but did spend hours setting up Phorge and it was still not able to create a review from a branch without a command line software on my desktop RhodeCode after setting up, the instructions asked me to create a pull request. There was no button for it, and supp

Re: Seeking Feedback on SVNPlus.com – A modern SVN Solution

2025-03-05 Thread Justin MASSIOT
Hello Peter, Always great to hear fresh initiatives around Subversion :-) Some years ago, I was actively looking for such a tool. And even now that Git is all over the place, I'm convinced that SVN has a role to play. [1] And because Phabricator has winded down, I finally chose *RhodeCode* which i

Re: AW: svnserve frequently die at assertion in utf.c

2025-03-02 Thread Branko Čibej
On 7. 1. 25 10:47, Jäkel, Guido wrote: Building and running the test suite non-parallel shows up a single failure # make clean # EXTRA_CFLAGS="-fsanitize=thread" EXTRA_LDFLAGS="$EXTRA_CFLAGS" make check [...] [028/122] locks-test..

Re: Apache Subversion 1.14.5 package

2025-02-14 Thread Nico Kadel-Garcia
On Fri, Feb 14, 2025 at 7:01 AM Daniel Sahlberg wrote: > > Den ons 12 feb. 2025 kl 22:15 skrev suruvumohan : >> >> Hi Team, >> >> I have been trying to find Subversion 1.14.5 package for Oracle linux 8.x >> and 9.x platforms, but nowhere I could find them. >> Can someone please help me with the r

Re: Apache Subversion 1.14.5 package

2025-02-14 Thread Daniel Sahlberg
Den ons 12 feb. 2025 kl 22:15 skrev suruvumohan : > Hi Team, > > I have been trying to find Subversion 1.14.5 package for Oracle linux 8.x > and 9.x platforms, but nowhere I could find them. > Can someone please help me with the relevant package? > Hi. I think you are better off asking in the su

Re: Inquiry for SVN server

2025-02-03 Thread Daniel Sahlberg
Den mån 3 feb. 2025 kl 12:41 skrev Bhagyashri Narule < bhagyashri.nar...@titagarh.in>: > Hello Apache SVN Team, > > I hope this email finds you well. I am reaching out to inquire about > setting up a *locally hosted SVN server* for our team. We require a > solution that supports *remote access, us

Re: How to restore repositories from backup server

2025-01-17 Thread Daniel Sahlberg
fre 17 jan. 2025 kl. 18:43 skrev Nathan Hartman : > I don't know whether GPG-Agent can be configured to unlock > automatically at startup. (That probably would bring us back to the > issue of how to securely store the pin that would unlock it > automatically; it would probably end up being in plai

Re: How to restore repositories from backup server

2025-01-17 Thread Nathan Hartman
On Fri, Jan 17, 2025 at 7:40 AM Johan Corveleyn wrote: > Oh, and according to this cirata (previously wandisco) blog article it > should be possible to setup a Gnome Keyring without a GUI: > > https://community.cirata.com/s/article/How-to-set-up-encrypted-svn-password-storage-using-gnome-keyring-i

Re: How to restore repositories from backup server

2025-01-17 Thread Daniel Sahlberg
Den fre 17 jan. 2025 kl 07:25 skrev Bo Berglund : > On Fri, 17 Jan 2025 07:03:34 +0100, Daniel Sahlberg > wrote: > > >I agree with Bo here although I don’t understand enough about recent > >Linux-on-the-desktop development. A long time ago, setting DISPLAY was the > >way to declare where you want

Re: How to restore repositories from backup server

2025-01-17 Thread Johan Corveleyn
On Fri, Jan 17, 2025 at 1:27 PM Johan Corveleyn wrote: > > On Fri, Jan 17, 2025 at 7:24 AM Bo Berglund wrote: > ... > > -- > > $ svn --version: > > svn, version 1.14.2 (r1899510) > >compiled Jan 31 2023, 18:14:10 on aarch64-unknown-linux-gnu

Re: How to restore repositories from backup server

2025-01-17 Thread Johan Corveleyn
On Fri, Jan 17, 2025 at 7:24 AM Bo Berglund wrote: ... > -- > $ svn --version: > svn, version 1.14.2 (r1899510) >compiled Jan 31 2023, 18:14:10 on aarch64-unknown-linux-gnu > ... > The following authentication credential caches are available:

Re: How to restore repositories from backup server

2025-01-16 Thread Bo Berglund
On Fri, 17 Jan 2025 07:03:34 +0100, Daniel Sahlberg wrote: >I agree with Bo here although I don’t understand enough about recent >Linux-on-the-desktop development. A long time ago, setting DISPLAY was the >way to declare where you wanted to your GUI to appear. When SSH-ing into a >box you wasn’t

Re: How to restore repositories from backup server

2025-01-16 Thread Daniel Sahlberg
fre 17 jan. 2025 kl. 01:49 skrev Ryan Carsten Schmidt < subversion-2...@ryandesign.com>: > On Jan 16, 2025, at 17:09, Bo Berglund wrote: > > > > It should return the request for password into the channel that issued > the > > command rather than firing up a completely unrelated comm channel. (of >

Re: How to restore repositories from backup server

2025-01-16 Thread Ryan Carsten Schmidt
On Jan 16, 2025, at 17:09, Bo Berglund wrote: > > It should return the request for password into the channel that issued the > command rather than firing up a completely unrelated comm channel. (of course) > > If you get a landline phone call you do not reply in a cellphone, right? I understand

Re: How to restore repositories from backup server

2025-01-16 Thread Bo Berglund
On Thu, 16 Jan 2025 14:24:48 -0600, Ryan Carsten Schmidt wrote: >> Sooo strange that it should throw up something in a completely different >> environment than where the trigger was. > >How should subversion detect that it is running in an ssh session rather than >in a local terminal? > >What do

Re: How to restore repositories from backup server

2025-01-16 Thread Ryan Carsten Schmidt
On Jan 16, 2025, at 10:29, Bo Berglund wrote: > > I have now built an RPi4B device using the latest 64 bit PiOS and on that I > get > a version of svn that *does* allow plaintext password cache. But it also came > with a desktop and the first thing that happened when I tried a subversion > comman

Re: How to restore repositories from backup server

2025-01-16 Thread Bo Berglund
On Mon, 13 Jan 2025 17:45:31 +0100, Daniel Sahlberg wrote: >> A separate RPi4 image can be built here and then transferred over via >> Internet >> so they can burn it to a blank SDcard and start the RPi device up there. >> Once on that netywork I can manage it from here via VPN. >> >> Meanwhile I

RE: Re: How to restore repositories from backup server

2025-01-16 Thread Eliseo Diler
On 2025/01/12 23:29:05 Bo Berglund wrote: > On Sun, 12 Jan 2025 18:39:29 +0100, Daniel Sahlberg > wrote: > > >sön 12 jan. 2025 kl. 18:30 skrev Bo Berglund : > > > >> On Sun, 12 Jan 2025 09:53:43 -0600, Ryan Carsten Schmidt > >> wrote: > >> > >> >On Jan 12, 2025, at 01:45, Bo Berglund wrote: > >>

Re: How to restore repositories from backup server

2025-01-13 Thread Daniel Sahlberg
mån 13 jan. 2025 kl. 17:36 skrev Bo Berglund : > On Mon, 13 Jan 2025 07:59:35 +0100, Daniel Sahlberg > wrote: > > >Den mån 13 jan. 2025 kl 00:29 skrev Bo Berglund : > > > >> So in which versions has the plaintext cache been removed? > >> > > > >There is no simple answer to this question. The best

Re: How to restore repositories from backup server

2025-01-13 Thread Bo Berglund
On Mon, 13 Jan 2025 07:59:35 +0100, Daniel Sahlberg wrote: >Den mån 13 jan. 2025 kl 00:29 skrev Bo Berglund : > >> So in which versions has the plaintext cache been removed? >> > >There is no simple answer to this question. The best answer I can give is >that in 1.12 the compile time default was

Re: How to restore repositories from backup server

2025-01-12 Thread Daniel Sahlberg
Den mån 13 jan. 2025 kl 00:29 skrev Bo Berglund : > So in which versions has the plaintext cache been removed? > There is no simple answer to this question. The best answer I can give is that in 1.12 the compile time default was changed [1] to stop writing to the plaintext password store. This wi

Re: How to restore repositories from backup server

2025-01-12 Thread Bo Berglund
On Sun, 12 Jan 2025 18:39:29 +0100, Daniel Sahlberg wrote: >sön 12 jan. 2025 kl. 18:30 skrev Bo Berglund : > >> On Sun, 12 Jan 2025 09:53:43 -0600, Ryan Carsten Schmidt >> wrote: >> >> >On Jan 12, 2025, at 01:45, Bo Berglund wrote: >> >> >> >> I am not specifically interested in a *plaintext* pa

Re: How to restore repositories from backup server

2025-01-12 Thread Daniel Sahlberg
sön 12 jan. 2025 kl. 18:30 skrev Bo Berglund : > On Sun, 12 Jan 2025 09:53:43 -0600, Ryan Carsten Schmidt > wrote: > > >On Jan 12, 2025, at 01:45, Bo Berglund wrote: > >> > >> I am not specifically interested in a *plaintext* password store, what > I want is > >> to store the passwords locally (e

Re: How to restore repositories from backup server

2025-01-12 Thread Bo Berglund
On Sun, 12 Jan 2025 09:53:43 -0600, Ryan Carsten Schmidt wrote: >On Jan 12, 2025, at 01:45, Bo Berglund wrote: >> >> I am not specifically interested in a *plaintext* password store, what I >> want is >> to store the passwords locally (encrypted is fine) and accessible by svn when >> the system

Re: How to restore repositories from backup server

2025-01-12 Thread Ryan Carsten Schmidt
On Jan 12, 2025, at 01:45, Bo Berglund wrote: > > I am not specifically interested in a *plaintext* password store, what I want > is > to store the passwords locally (encrypted is fine) and accessible by svn when > the system does not have a GUI desktop. As far as I know, a plaintext password is

Re: How to restore repositories from backup server

2025-01-11 Thread Bo Berglund
On Sun, 12 Jan 2025 06:52:55 +0100, Daniel Sahlberg wrote: >> But it is not working on the Ubuntu server on the main LAN. >> What can I do in order for the script to run without asking for my >> password? >> Svn version on the linux server is: 1.14.1 >> >> I have not used svn on that machine pre

Re: How to restore repositories from backup server

2025-01-11 Thread Daniel Sahlberg
lör 11 jan. 2025 kl. 23:31 skrev Bo Berglund : > On Thu, 9 Jan 2025 15:20:46 +0100, Johan Corveleyn > wrote: > > >On Thu, Jan 9, 2025 at 1:26?PM Daniel Sahlberg > > wrote: > >... > >> The only solution that will make sure you actually have a working sync > >> is to monitor that the sync script co

Re: How to restore repositories from backup server

2025-01-11 Thread Ryan Carsten Schmidt
On Jan 11, 2025, at 16:31, Bo Berglund wrote: > > (I don't know how to craft a Windows bat file to do the checking above so that > is why I turned to the Linux server...) Doesn't the Windows Subsystem for Linux allow you to run Linux scripts on a Windows machine, if that's what you want to do?

Re: How to restore repositories from backup server

2025-01-11 Thread Bo Berglund
On Thu, 9 Jan 2025 15:20:46 +0100, Johan Corveleyn wrote: >On Thu, Jan 9, 2025 at 1:26?PM Daniel Sahlberg > wrote: >... >> The only solution that will make sure you actually have a working sync >> is to monitor that the sync script completes without errors. Maybe you >> could have a script that l

Re: How to restore repositories from backup server

2025-01-09 Thread Andreas Stieger
On 2025-01-09 15:20, Johan Corveleyn wrote: On Thu, Jan 9, 2025 at 1:26 PM Daniel Sahlberg wrote: ... The only solution that will make sure you actually have a working sync is to monitor that the sync script completes without errors. Maybe you could have a script that looks for the svn:sync

Re: How to restore repositories from backup server

2025-01-09 Thread Johan Corveleyn
On Thu, Jan 9, 2025 at 1:26 PM Daniel Sahlberg wrote: ... > The only solution that will make sure you actually have a working sync is to > monitor that the sync script completes without errors. Maybe you could have a > script that looks for the svn:sync-lock property (something like svn proplist

Re: How to restore repositories from backup server

2025-01-09 Thread Daniel Sahlberg
Den tors 9 jan. 2025 kl 13:09 skrev Bo Berglund : ... > > 4) From then on it took a while but it finally reached rev 4521 and exited > successfully. > > Now my two repositories seem to be exactly the same, which is the whole > purpose. > Good, this is exactly what I was expecting - after an inter

Re: How to restore repositories from backup server

2025-01-09 Thread Bo Berglund
On Wed, 08 Jan 2025 15:02:51 +0100, Bo Berglund wrote: >Where can I find a howto that is used with Apache SVN to do the sync config >properly? So I asked ChatGPT and got a reply which I checked against the svnbook and the state of my existing working repositories. This way I could create a new

Re: How to restore repositories from backup server

2025-01-08 Thread Bo Berglund
On Wed, 08 Jan 2025 12:10:33 +0100, Bo Berglund wrote: >Regarding repository names, are they stored anywhere internally in the repo or >is it just the top level directory name? > >If it is "just a name" then I should be able to rename the existing mirror dir >and then create a new "pc" repo desti

Re: How to restore repositories from backup server

2025-01-08 Thread Bo Berglund
e you have fewer but bigger revisions, I would >suspect it to take a lot less time. I know that there are binaries (excutable files) stored along with the sources so those are one big item at a time, I guess... >It sounds like a good plan to make a new repository and re-initialize the >sync. You

Re: How to restore repositories from backup server

2025-01-08 Thread Daniel Sahlberg
quot; 1.4 GB but on the other hand has almost 30'000 (small) revisions. It took the better part of a day, but that is because the sync does one revision at a time. Since you have fewer but bigger revisions, I would suspect it to take a lot less time. It sounds like a good plan to make a new reposito

Re: How to restore repositories from backup server

2025-01-08 Thread Bo Berglund
On Tue, 7 Jan 2025 22:20:59 +0100, Daniel Sahlberg wrote: >> In the batch file the command is created at the start and then used for all >> repos going down the file. Here is how it is defined (again wrapped lines): >> >> rem If a repository is not synced due to a lock problem, then use >> --stea

Re: svnserve frequently die at assertion in utf.c

2025-01-07 Thread Daniel Sahlberg
Big thanks to both Sean and Guido for their help in tracking down the issue. It seems indeed to be a bug in the Subversion code. I've added d...@subversion.apache.org for further debugging - this goes out of scope of the users list. I believe several threads are accessing the same "translator" si

Re: How to restore repositories from backup server

2025-01-07 Thread Daniel Sahlberg
Den tis 7 jan. 2025 kl 22:08 skrev Bo Berglund : > > This is how the execution went (long lines are wrapped by my newsreader): > > H:\>"C:\Program Files\VisualSVN Server\bin\svnsync.exe" synchronize > --sync-username syncuser https://svn.mydomain.com/svn/pc > https://agiengineering/svn/pc > > Fail

Re: How to restore repositories from backup server

2025-01-07 Thread Bo Berglund
On Tue, 07 Jan 2025 22:08:33 +0100, Bo Berglund wrote: >In the batch file the command is created at the start and then used for all >repos going down the file. Here is how it is defined (again wrapped lines): > >rem If a repository is not synced due to a lock problem, then use --steal-lock >in a

Re: How to restore repositories from backup server

2025-01-07 Thread Bo Berglund
On Tue, 7 Jan 2025 04:22:43 -0600, Ryan Carsten Schmidt wrote: >On Jan 7, 2025, at 03:48, Bo Berglund wrote: >> >> It seems like the sync was not really done for this repo for a long time even >> though the nightly sync operation actually was working for all the other >> repos >> where the mirr

Re: svnserve frequently die at assertion in utf.c

2025-01-07 Thread Sean McBride
On 7 Jan 2025, at 2:07, Guido Jäkel wrote: > I'm no developer, but Google probably tell me to add the right flags: Yes, -fsanitize=thread is the main flag. You should also build in debug so that you get filenames and line numbers. Are you saying svn's own test suite does not pass under Thread S

Re: How to restore repositories from backup server

2025-01-07 Thread Johan Corveleyn
On Tue, Jan 7, 2025 at 10:48 AM Bo Berglund wrote: ... > I have also checked the commit emails for this repo and those show another set > of commits done for revs 4519 to 4528 between 2024-08-14-2024-12-01, which is > where the mirror should be now. But isn't > > > Command svn info on the *mai

Re: How to restore repositories from backup server

2025-01-07 Thread Ryan Carsten Schmidt
On Jan 7, 2025, at 03:48, Bo Berglund wrote: > > It seems like the sync was not really done for this repo for a long time even > though the nightly sync operation actually was working for all the other repos > where the mirror contains commits done up to the server crash... Indeed! > And it is

Re: svnserve frequently die at assertion in utf.c

2025-01-07 Thread Guido Jäkel
Dear Sean, I'm no developer, but Google probably tell me to add the right flags: root@testsub0 /var/tmp/portage/dev-vcs/subversion-1.14.5/work/subversion-1.14.5/testcase # diff Makefile{.20250107-073455,} -u --- Makefile.20250107-0734552025-01-07 07:34:55.0 +0100 +++ Makefile20

Re: How to restore repositories from backup server

2025-01-07 Thread Bo Berglund
On Sun, 29 Dec 2024 00:49:21 +0100, Bo Berglund wrote: >Since I did not succeed in getting this to work with svnrload and a >StackOverflow search suggested I should use svnadmin instead: > >I reverted to svnadmin and look what happened: > >svnadmin load E:\SVNREPOS\cmpcpy < dump_cmp ><<< Started

Re: svnserve frequently die at assertion in utf.c

2025-01-06 Thread Sean McBride
On 6 Jan 2025, at 16:32, Daniel Sahlberg wrote: > To me, this proves that my basic program is correct and that with a mutex, > the shared memory is protected and without the mutex we get errors. I have > tested this under both Ubuntu and Guix with the same results. If you really want to prove c

Re: svnserve frequently die at assertion in utf.c

2025-01-06 Thread Daniel Sahlberg
Den ons 18 dec. 2024 kl 16:43 skrev Guido Jäkel : > > > Did I understand you correctly that you were seeing the issue before the > upgrade as well, but more frequent now? > Yes, we saw it also before during the last 12m using the "previous" > version (lxc container image) of our subversion service

Re: How to restore repositories from backup server

2024-12-28 Thread Bo Berglund
On Sat, 28 Dec 2024 18:07:06 +0100, Bo Berglund wrote: >>> In that case what would be the best approach to copy the repository? >> >> A repository is just a directory of files on disk. Since nothing should be >> accessing the July backup since you've disabled the server processes, a >> simple

Re: How to restore repositories from backup server

2024-12-28 Thread Ryan Carsten Schmidt
On Dec 28, 2024, at 11:07, Bo Berglund wrote:(NOTE:I had to open the html attachment externally to see this reply, my text onlynewsreader did not show it, just as an attached fileSo I added its text verbatim here for future readers of the group archives.)Apologies for the HTML mail. I am writin

Re: How to restore repositories from backup server

2024-12-28 Thread Bo Berglund
On Sat, 28 Dec 2024 09:02:16 -0600, Ryan Carsten Schmidt wrote: (NOTE: I had to open the html attachment externally to see this reply, my text only newsreader did not show it, just as an attached file So I added its text verbatim here for future readers of the group archives.) Thanks for

Re: How to restore repositories from backup server

2024-12-28 Thread Bo Berglund
On Sat, 28 Dec 2024 15:52:24 +0100, Daniel Sahlberg wrote: >lör 28 dec. 2024 kl. 15:45 skrev Bo Berglund : > >> On Sat, 28 Dec 2024 12:13:24 +0100, Bo Berglund >> wrote: >> >> >If the dump file I have for the original repository *can* be used on the >> clone >> >instead with the suggested comman

Re: How to restore repositories from backup server

2024-12-28 Thread Ryan Carsten Schmidt
On Dec 28, 2024, at 05:14, Bo Berglund wrote:You could do a trial run on a local machine instead of the server.I can't do that since I don't have another Windows machine with a Subversionserver...All my other devices except my laptop are Linux boxes.Your Windows laptop is sufficient, if it has enou

Re: How to restore repositories from backup server

2024-12-28 Thread Daniel Sahlberg
lör 28 dec. 2024 kl. 15:45 skrev Bo Berglund : > On Sat, 28 Dec 2024 12:13:24 +0100, Bo Berglund > wrote: > > >If the dump file I have for the original repository *can* be used on the > clone > >instead with the suggested commands in a cmd window then I can do a real > test > >before I touch the

Re: How to restore repositories from backup server

2024-12-28 Thread Bo Berglund
On Sat, 28 Dec 2024 12:13:24 +0100, Bo Berglund wrote: >If the dump file I have for the original repository *can* be used on the clone >instead with the suggested commands in a cmd window then I can do a real test >before I touch the actual repositories... > >In that case what would be the best a

Re: How to restore repositories from backup server

2024-12-28 Thread Bo Berglund
On Sat, 28 Dec 2024 10:34:40 +0200, "Stanimir Stamenkov via users" wrote: >Fri, 27 Dec 2024 16:44:05 +0100, /Bo Berglund/: > >> So I looked in the RedBean "manual" and found this: >> >> $ svnadmin load /var/svn/restored < repos-backup >> >> <<< Started new txn, based on original revision 1 >>

Re: How to restore repositories from backup server

2024-12-28 Thread Bo Berglund
On Fri, 27 Dec 2024 15:52:58 -0600, Ryan Carsten Schmidt wrote: >On Dec 27, 2024, at 15:44, Bo Berglund wrote: >> >> Well there are 11 repositories totalling 18.8 GB in size >> So a full backup is not a simple task, also regarding disk space on the >> virtualized server. Don't know how much disk

Re: How to restore repositories from backup server

2024-12-28 Thread Stanimir Stamenkov via users
Fri, 27 Dec 2024 16:44:05 +0100, /Bo Berglund/: So I looked in the RedBean "manual" and found this: $ svnadmin load /var/svn/restored < repos-backup <<< Started new txn, based on original revision 1 * adding path : test ... done. * adding path : test/a ... done. where they place t

Re: How to restore repositories from backup server

2024-12-27 Thread Ryan Carsten Schmidt
On Dec 27, 2024, at 15:44, Bo Berglund wrote: > > Well there are 11 repositories totalling 18.8 GB in size > So a full backup is not a simple task, also regarding disk space on the > virtualized server. Don't know how much disk it actually has. You could do a trial run on a local machine instead

Re: How to restore repositories from backup server

2024-12-27 Thread Bo Berglund
On Fri, 27 Dec 2024 21:31:05 +0100, Daniel Sahlberg wrote: >> svnadmin load E:\SVNREPOS\repositoryname < dumpfilename >> >> I don't want to do this erroneously and screw up the repositories > > >Do a backup and just try? Well there are 11 repositories totalling 18.8 GB in size So a full bac

Re: How to restore repositories from backup server

2024-12-27 Thread Daniel Sahlberg
fre 27 dec. 2024 kl. 16:46 skrev Bo Berglund : > On Mon, 23 Dec 2024 14:13:57 +0100, Timofei Zhakov > wrote: > > >> 2) Is there a load command version where one specifies the file other > than > >> piping a cat to it? What happens with binary files in this cat > operation? > >> > > > >Yes, there

Re: How to restore repositories from backup server

2024-12-27 Thread Bo Berglund
On Fri, 27 Dec 2024 12:36:14 -0600, Ryan Carsten Schmidt wrote: >On Dec 27, 2024, at 12:02, Bo Berglund wrote: >> >> Notice the absence of the -F argument on our actual server! :( > >The -F flag was added to svnrdump in Subversion 1.12.0: > >I guess your server has an older version. > I think i

Re: How to restore repositories from backup server

2024-12-27 Thread Ryan Carsten Schmidt
On Dec 27, 2024, at 12:02, Bo Berglund wrote:Notice the absence of the -F argument on our actual server! :(The -F flag was added to svnrdump in Subversion 1.12.0:Let 'svnrdump' read/write a file instead of stdin/stdout. · apache/subversion@c4c996dgithub.comI guess your server has an older version. 

Re: How to restore repositories from backup server

2024-12-27 Thread Bo Berglund
On Fri, 27 Dec 2024 16:44:05 +0100, Bo Berglund wrote: >So it seems like this svnadmin does not actually have an -F argument... > >Do I really have to *pipe* a cat of the dumpfile into svnadmin? >In that case what is the Windows version of cat? > > >So I looked in the RedBean "manual" and found t

Re: How to restore repositories from backup server

2024-12-27 Thread Bo Berglund
On Mon, 23 Dec 2024 14:13:57 +0100, Timofei Zhakov wrote: >> 2) Is there a load command version where one specifies the file other than >> piping a cat to it? What happens with binary files in this cat operation? >> > >Yes, there is an option to pass the path to the dumpfile instead: > > -F [--f

Re: How to restore repositories from backup server

2024-12-23 Thread Timofei Zhakov
(Answering the questions inline below) On Mon, Dec 23, 2024 at 9:26 AM Bo Berglund wrote: > On Sun, 22 Dec 2024 17:22:49 +0100, Daniel Sahlberg > wrote: > > >dsg@daniel-23:~/temp$ svn info file://`pwd`/repo_mirror > >Path: repo_mirror > >URL: file:///home/dsg/temp/repo_mirror > >Relative URL: ^

Re: How to restore repositories from backup server

2024-12-23 Thread Bo Berglund
On Sun, 22 Dec 2024 17:22:49 +0100, Daniel Sahlberg wrote: >dsg@daniel-23:~/temp$ svn info file://`pwd`/repo_mirror >Path: repo_mirror >URL: file:///home/dsg/temp/repo_mirror >Relative URL: ^/ >Repository Root: file:///home/dsg/temp/repo_mirror >Repository UUID: 2a340f81-40ba-467e-9d23-dc1940d0c4

Re: How to restore repositories from backup server

2024-12-22 Thread Daniel Sahlberg
Den sön 22 dec. 2024 kl 09:33 skrev Bo Berglund : > Background: > --- > In 2018 we migrated from CVSNT to VisualSvn and at the time I ran the > conversion, which produced a mirror repository from CVS but in subversion. > > This worked fine and we could use that new repository successfully

Re: svnserve frequently die at assertion in utf.c

2024-12-18 Thread Daniel Sahlberg
Den ons 18 dec. 2024 kl 10:38 skrev Guido Jäkel : > Hi, > > in our production environment, we have been observing random crashes of > snvserve since many month. As a platform to run Subversion we use Gentoo > Linux. Last weeks we did our common environment update. After that the > frequency of the

Re: mod_authz_svn single tree access

2024-12-17 Thread Doug Robinson
Folks: On Mon, Dec 16, 2024 at 6:47 AM Richard Tresidder < rtres...@electromag.com.au> wrote: >I'm wondering if there has been any discussion about adding the ability > to allow traversal of a single tree path. > Currently one has to provide read access to to each level of the tree and > prun

Re: mod_authz_svn single tree access

2024-12-16 Thread Richard Tresidder
On 17/12/2024 11:18 am, Richard Tresidder wrote: On 16/12/2024 10:00 pm, Mark Phippard wrote: On Mon, Dec 16, 2024 at 8:10 AM Daniel Sahlberg wrote: Den mån 16 dec. 2024 kl 12:47 skrev Richard Tresidder : Hi     I'm wondering if there has been any discussion about adding the ability to al

Re: mod_authz_svn single tree access

2024-12-16 Thread Richard Tresidder
On 16/12/2024 10:00 pm, Mark Phippard wrote: On Mon, Dec 16, 2024 at 8:10 AM Daniel Sahlberg wrote: Den mån 16 dec. 2024 kl 12:47 skrev Richard Tresidder : Hi I'm wondering if there has been any discussion about adding the ability to allow traversal of a single tree path. Currently one

  1   2   3   4   5   6   7   8   9   10   >