Svnadmin verify question

2021-11-02 Thread Luke Mauldin
Can anyone tell me the details of the svnadmin verify command?  Does subversion 
store any internal hash of each commit to verify its correctness and that it 
has not changed over time due to disk/memory errors or software bugs?

Luke Mauldin

RE: Current project status

2021-11-02 Thread Stuempfig, Thomas
Hi all,
one thing that i really missed, was rename tracking.
Other thing that I missed would be attributes for files, folders and commits. 
This would enable a better search.
Search for all commits that touch business critical PRs... or files that touch 
about a system or requirement...
I know, one should go for an ALM System for that. But somehow, I wished not to 
have to maintain an ALM System.

But that's history, our situation is worse...

Hope the best for you all, and I was really happy for the responsiveness in 
this forum.

Regards
Thomas

-Original Message-
From: Luke Mauldin 
Sent: Freitag, 29. Oktober 2021 19:46
To: Mark Phippard 
Cc: Stuempfig, Thomas (DI SW GS&CS EU DACH AUTO PRBD EC) 
; Justin MASSIOT | Zentek 
; Nico Kadel-Garcia ; Subversion 

Subject: Re: Current project status

You bring up a good point about the pre-commit code review process.  I have 
never been in an organization that had strict pre-commit code review 
requirements so it wasn’t an issue.  To me, so much of it just comes down to 
the developer.  We have been doing interviews of Junior engineers and asking 
them the question “assume you have a Git repository, if you have local changes, 
and you need to get changes from master into your branch, what do you do?”  The 
answer is surprisingly common to just make a local copy on the file system, 
reclone the git repo and then move the changes over manually….I cringe every 
time I hear that one.

Regarding the merge tracking that wanted to be added, what end user 
functionality would that add?  From my understanding through reading the docs 
and this earlier conversation, I thought that most of the merge tracking issues 
had been resolved?

> On Oct 29, 2021, at 12:36 PM, Mark Phippard  wrote:
>
> On Fri, Oct 29, 2021 at 1:26 PM Luke Mauldin  wrote:
>>
>> Sorry to hear about the Teams / Sharepoint migration, that seems to be 
>> occurring industry wide.  “Its moving to the cloud so it has to be better”.  
>> It also amazes me how much money and labor large companies are throwing at 
>> Git to have it scale to scenarios that it was never envisioned to support 
>> but every company has to be on Git because “thats what the developers want”. 
>>  Every company that I have worked for that has used Git has always had a 
>> centralized Git repository just like SVN. From the SVN community’s 
>> perspective, I am curious to see their perspective on why the industry 
>> transitioned away from SVN to Git?
>
>
> In my experience, it is the code review and branching workflows that
> git enables that wins the day, With SVN the pre-commit review process
> is too cumbersome and there is no real guarantee that what was
> committed is what was reviewed. There have been several good solutions
> for this built on Git, with the GitHub Pull Requests being the most
> notable.
>
> In environments where pre-commit code review is not part of the
> culture or process I find it hard to beat the SVN workflow for ease of
> use. Conceptually, I have always liked the way SVN models a versioned
> file system but it has also been the achilles heel when it comes to
> using folders to model branches and tags so that neither of those
> features truly exist in SVN and are really more conventions that one
> can adopt in the folder structure. SVN's extreme flexibility has also
> made it difficult to develop some of the features we wanted like merge
> tracking because it became an endless slog of dealing with weird edge
> cases.
>
> Mark

-
Siemens Industry Software GmbH; Anschrift: Am Kabellager 9, 51063 Köln; 
Gesellschaft mit beschränkter Haftung; Geschäftsführer: Dr. Erich Bürgel, 
Alexander Walter; Sitz der Gesellschaft: Köln; Registergericht: Amtsgericht 
Köln, HRB 84564; Vorsitzender des Aufsichtsrats: Timo Nentwich


RE: Subversion 1.14.1 build problem

2021-11-02 Thread Gretton, Liam
Hi Daniel,

Thanks very much for your reply, I've been able to build 1.14.1 with 
sqlite-amalgamation 3.35.

I'll keep an eye on SQLite releases to see if this gets fixed, I see 3.37.0 is 
due out in a couple of weeks.


Re: Subversion 1.14.1 build problem

2021-11-02 Thread Daniel Sahlberg
Den mån 1 nov. 2021 kl 09:32 skrev Gretton, Liam :
>
> I'm rebuilding our Subversion server, getting it up to date after a fair 
> period of neglect.
>
>
>
> I'm finding that 1.41.1 has a problem somewhere in its SQLite code and fails 
> at the make stage. 1.10.7 succeeds with exactly the same build process and 
> dependencies.
>
>
>
> I'm using CentOS 7, but with Apache 2.4.8, APR 1.7.0, APR-util 1.6.1 and 
> SQLite 3.36.0.
>
>
>
> cd subversion-1.14.1
>
> unzip ../sqlite-amalgamation-336.zip
>
> mv sqlite-amalgamation-336.zip sqlite-amalgamation
>
>
>
> ./configure --prefix=/local/software/subversion-1.14.1 \
>
>   --with-lz4=internal \
>
>   --with-utf8proc=internal \
>
>   --with-apxs=/local/software/httpd/bin/apxs \
>
>   --with-apr=/local/software/bin \
>
>   --with-apr-util=/local/software/bin
>
> make
>
>
>
> …
>
>
>
> In file included from subversion/libsvn_subr/sqlite3wrapper.c:63:0:
>
> /home/liam/downloads/subversion-1.14.1/sqlite-amalgamation/sqlite3.c:38012:12:
>  warning: ‘unixFcntlExternalReader’ used but never defined [enabled by 
> default]
>
> static int unixFcntlExternalReader(unixFile*, int*);
>
>
>
> …
>
>
>
> .libs/sqlite3wrapper.o: In function `unixFileControl':
>
> /home/liam/downloads/subversion-1.14.1/sqlite-amalgamation/sqlite3.c:38131: 
> undefined reference to `unixFcntlExternalReader'
>
> /usr/bin/ld: .libs/sqlite3wrapper.o: relocation R_X86_64_PC32 against 
> undefined symbol `unixFcntlExternalReader' can not be used when making a 
> shared object; recompile with -fPIC
>
> /usr/bin/ld: final link failed: Bad value
>
> collect2: error: ld returned 1 exit status
>
> make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1
>
>
>
> Any idea what I can do to get past this?

Hi!

I reproduce this behaviour.

As far as I can tell this is a bug in SQLite. The offending function
was added 2021-04-02 [1] and it seems to be hidden by #ifdef
SQLITE_OMIT_WAL. There is a reference to the same error in the SQLite
forums [2] with a suggestion to leave out SQLITE_OMIT_WAL on
compilation.

It seems to be possible to restore the old behaviour by reverting our
r1865523 (which is defining SQLITE_OMIT_WAL, triggering the build
failure). I'm adding Evgeny Kotkov, author of r1865523, for a second
pair of eyes, but I don't think that we are doing anything wrong.

I think it should also be possible to use an older version of SQLite
(released before 2021-04-02).

Kind regards,
Daniel

[1] https://sqlite.org/src/info/e16da5af822ef31d
[2] https://sqlite.org/forum/info/f4640ddef932093c