Edgewall Software

Ticket #978 (new enhancement)

Opened 4 years ago

Last modified 17 months ago

SVK repository support

Reported by: cboos@… Owned by: cmlenz
Priority: normal Milestone: 2.0
Component: version control Version: devel
Severity: normal Keywords: svk repository
Cc:

Description

This topic was already mentioned on the list of features for the 2.0 Roadmap, so I thought I should created a ticket for it in order to comment on that topic.

Actually, SVK is supported, out of the box, because a SVK repository is just a regular Subversion repository. Simply configuring a Trac environment to use the SVK repository just works.

However, starting from this basic level of support, several SVK-specific enhancements could be made:

  • show the list of mirrors
  • when displaying a changeset, show if it is one generated by SVK (like those created while synchronizing a mirrored repository)
  • annotate branches with their merge tickets
  • ...

Attachments

Change History

  Changed 4 years ago by otavio

What you mean with "... Simply configuring a Trac environment to use the SVK repository just works."? I use SVK a lot but all mirrored from original SVN repositories.

Does SVK support to access a remote depotmap? That is what I understood with your comments.

  Changed 4 years ago by mrowe

If you create a Trac environment using /home/username/.svk/local for the path to the Subversion repository, you will be able to browse your SVK repository in Trac.

  Changed 4 years ago by otavio

Sure but this isn't a integration enough to say: SVK just work.

I think maybe Trac shoundn't support SVK for backend but support it's addons for allow more interesting views for user.

  Changed 4 years ago by cboos

Some additional thoughts about mirrors...

Proper SVK support is indeed hard: the difficulty is mainly related to proper handling of mirrors and their changesets. The comments in those changesets will likely contain references to changesets in the original repository.

Several possible scenarii:

  • Mirroring a normal SVN repository: a reference to the changeset [123] of the original repos. should actually be linked to the changeset e.g. [5453] in the mirror. Note that SVK allows you to skip changesets, so there's no garantee that you can find a local target for a given reference. Computing the offsets is likely to be a nightmare...
  • Mirroring a Trac enabled SVN repository: a reference to the changeset [123] of the original repository could be linked to corresponding Trac. This would avoid the problems mentioned above. Again two possibilities:
    • simply redirect to the remote Trac of that project if it exists. This has the advantage of also correctly handling the reference to tickets and other Trac objects
    • setup a local Trac environment operating on a remote repository, which might be the only possibility if there's no remote Trac server...

This is somehow related to the multiple project support.

  Changed 3 years ago by cmlenz

  • owner changed from jonas to cmlenz
  • component changed from general to version control

follow-up: ↓ 7   Changed 21 months ago by norman@…

FYI: If you're careful when doing your svk sync (i.e. always sync from the root, and start at revision 2) then you can keep your changeset numbers in sync.

in reply to: ↑ 6 ; follow-up: ↓ 8   Changed 17 months ago by Tom

Replying to norman@rasmussen.co.za:

FYI: If you're careful when doing your svk sync (i.e. always sync from the root, and start at revision 2) then you can keep your changeset numbers in sync.

Only if you use a single repository - if you have several repositories checked out in SVK, the changeset numbers go out of sync very quickly.

in reply to: ↑ 7   Changed 17 months ago by norman@…

Replying to Tom:

Replying to norman@rasmussen.co.za:

FYI: If you're careful when doing your svk sync (i.e. always sync from the root, and start at revision 2) then you can keep your changeset numbers in sync.

Only if you use a single repository - if you have several repositories checked out in SVK, the changeset numbers go out of sync very quickly.

Correct, being careful also include only mirroring a single remote repository per SVK tree. Each mirror needs it's own SVKROOT.

  Changed 17 months ago by cboos

Add/Change #978 (SVK repository support)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from cmlenz. Next status will be 'new'
The owner will change from cmlenz to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.