Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serve multiple repository with a single boar serve #96

Open
GoogleCodeExporter opened this issue Jun 2, 2015 · 1 comment
Open

Serve multiple repository with a single boar serve #96

GoogleCodeExporter opened this issue Jun 2, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

I'm currently evaluating boar to be used as an asset manager for my company's 
projects.
For the following reason, I will prefer to use one repository per project
instead of using boar sessions:
- Snapshot IDs are unique per repository, not per session.
- Ability to move old project repositories in another location

Currently, boar serve can't be used to serve a "repository root", like 
subversion server can do it. Each repository have to be served with a different 
instance of boar serve on a different port.

I have changed a bit the connect_tcp() function and serve command to let 'boar 
serve' act as a meta-server

Usage
# On server
mkdir root
mkdir root/projectA
mkdir root/projectB
boar serve --meta-repo root

# On client
boar --repo=boar://localhost:10001/projectA mksession Pictures
boar --repo=boar://localhost:10001/projectA import workdir/projectA/Pics 
Pictures
boar --repo=boar://localhost:10001/projectA mksession Movies
boar --repo=boar://localhost:10001/projectA import workdir/projectA/Vidz Movies

boar --repo=boar://localhost:10001/projectB mksession Pictures
boar --repo=boar://localhost:10001/projectA import workdir/projectB/Pics 
Pictures
# ...

Here is a clone of the boar sourcecode repository with my changes
http://hg.nore.fr/index.cgi/boar/

Branch tcpserver-metarepo
- '--meta-repo' option for boar serve
- allow subdirectories in --repo connection url
- use default port 10001 when not present in --repo connection url 
Branch default-locale
- fix for Mac OS X (Issue 85 http://code.google.com/p/boar/issues/detail?id=85)

Original issue reported on code.google.com by renaud.g...@gmail.com on 28 Feb 2013 at 7:46

@GoogleCodeExporter
Copy link
Author

(oops, forgot to set the issue as 'ehancement' instead of 'defect')

Original comment by renaud.g...@gmail.com on 28 Feb 2013 at 7:49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant