#5715 closed task (wontfix)
trac svn repository still runs on svn 1.3.1
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | project | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Could you consider updating already?
My main motivation is svk's
"Requires newer svn for replay support when mirroring to /." |
message when I want to do a 1:1 mirror (so that revision numbers match).
Attachments (0)
Change History (12)
follow-up: 3 comment:1 by , 17 years ago
comment:2 by , 17 years ago
Component: | general → project |
---|---|
Milestone: | → not applicable |
comment:3 by , 17 years ago
Type: | defect → task |
---|
Replying to nkantrowitz:
The better question is why do you need to mirror Trac repo?
I needed it some weeks ago, when I start developing the Revtree extension for svnmerge. I bumped into the very same issue, t.e.o. not running a 1.4.x SVN server.
However, I finally managed to get a copy of the t.e.o. repository with the SVK tools. In order to keep the same revision numbers, simply discard the first revision when you copy the repository. It is not an exact copy (as the initial revisions of the source and the mirror differ), but it is the best solution I found up to now.
As one answer to Noah's initial question: t.e.o. is a very good base to perform a lot of test with a prefilled repository, with many branches, many merge operations and last but not least many commit messages that contains Trac wikified references. It is quite hard to create a mock repository with so many real "use-cases" of SVN+Trac.
follow-up: 5 comment:4 by , 17 years ago
I think a better solution to that particular problem would be making a dump of the repository available somehow (and possibly a sanitized version of the database).
comment:5 by , 17 years ago
Replying to nkantrowitz:
I think a better solution to that particular problem would be making a dump of the repository available somehow (and possibly a sanitized version of the database).
Yeah, I'm not sure it is a better solution, as it would:
- require to generate the archive on a regular basis
- prevent from easily upgrading an existing mirror (and generate more traffic)
- be very specific to this problem
OTOH, why "preventing" other sites or people from mirroring t.e.o. repository?
follow-up: 7 comment:6 by , 17 years ago
SVK uses a local-mirror paradigm instead of keeping only the current revision.
It allows me to perform LAN-speed 'svk log' and 'svk blame', bypassing major network traffic that svn causes (although perl::svk's blame is cpu intensive and slow as hell, that's why I use trac instead :). It also gets rid of all those annoying .svn directories. And finally, since the mirror is a svn repo, I can hook trac onto it directly.
Of course, as mentioned, I can also make a subdirectory and do a partial mirror, of trunk branch only, starting the mirror at the HEAD revision instead of revision 0. But that skews the numbering; I need to do a clean 1:1 dedicated mirror.
Why? It's ugly to do 'svk sync /trac/trac/', it breaks all revision references in commit messages, and to find out the original number of a certain revision I would have to do a tedious 'svk log | grep'.
Replay support server-side was added in subversion 1.4.0 and I think many people welcomed it. Previously it wasn't possible to achieve correct numbering without doing hacks like skipping revisions to maintain sync.
Thank you for reading.
comment:7 by , 17 years ago
to theultramage and any other interested party: you should mail directly to JonasBorgstrom; even if he probably won't upgrade the Subversion server anytime soon, he can maybe allow rsync access for you (as he did it for me, and it works fine).
Odds are that if he gets flooded by such requests he will actually upgrade svn ;-)
comment:8 by , 17 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
I rather not upgrade to subversion 1.4 just yet since the Linux distribution used on svn.edgewall.org currently ships with svn 1.3.
But people interested in mirroring the repository can contact me and I'll provide you with instructions on how to do this with rsync.
follow-up: 10 comment:9 by , 17 years ago
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
please change version control to mercurial to avoid that mirror headache once and for all …
follow-up: 11 comment:10 by , 17 years ago
Resolution: | → wontfix |
---|---|
Status: | reopened → closed |
Replying to anonymous:
please change version control to mercurial to avoid that mirror headache once and for all …
Can we say "Out of scope"?
comment:11 by , 17 years ago
Replying to nkantrowitz:
Can we say "Out of scope"?
Yes, we should ;-)
Although I hope the Linux distribution on t.e.o. is upgraded to a recent version of Subversion ASAP.
The better question is why do you need to mirror Trac repo?