Hi Chris,

Unfortunately those review requests are going to be bound to the old
repository... This is a pain point for sure, and we have thoughts on how we
might eventually address this to allow effectively archiving the source
files for a repository that are used in diffs so a repository can be
retired.

Right now, the best and only viable option is to keep the CVS server around
somewhere and point Review Board to it.

If you want to update everything to use the SVN repository instead, you're
going to need to:

1. Go through every uploaded set of diff data and re-write the diffs to be
compatible with a Subversion diff posted against the
appropriate repository. This is error-prone, and you'll need to check up to
three tables for this data (you might have old diff content in
diffviewer_filediff, and then there's diffviewer_filediffdata from Review
Board 2.5 and diffviewer_rawfilediffdata from 3.0+).
2. That will change the SHAs of the diff content, so you'd need to rewrite
any references in diffviewer_filediff tables to point to the new SHA
instead of the old one.
3. You'll also need to update that revisions and paths on all
diffviewer_filediff entries, so Review Board can locate those files from
the correct repository.
4. You'll then need to update the repository entries themselves to point to
the Subversion server.

There might be all sorts of other things I'm not thinking of... It's
extremely error-prone. Doable in theory, but a lot of work. It'll take some
trial and error. Definitely experiment with a test copy of the database,
not the production one :)

Personally, I'd keep the CVS server around if at all possible for now.

Christian

On Mon, May 4, 2020 at 1:55 PM Chris Lang <[email protected]> wrote:

> We had been using CVS for our version control since about 25 years ago and
> migrated our repository over to SVN.
> The new reviews work fine pointing to our svn repo, but any reviews that
> were pointing to our now non-existent CVS repo throw an error.
>
> I am certainly willing to do the work to do this migration but I just want
> to know if this might be possible and if anyone has done anything like this
> before.
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/830cae0d-8d30-476b-8fc7-abc49d61e18d%40googlegroups.com
> <https://groups.google.com/d/msgid/reviewboard/830cae0d-8d30-476b-8fc7-abc49d61e18d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAE7VndnM-OA_3unLj%3DO-0uMuAd9dxBN7EC0-Y1Pz8WdjDg%2B-fA%40mail.gmail.com.

Reply via email to