Skip to main content

Introduction

ClueBzrServer is a http server designed to serve up arbitrary bzr directories in configurable way. Authentication and authorization can be configured via config files.

Installation

The preferred manner of setup is to install ClueBzrServer within a virtualenv. Older instructions for setting up virtualenv can be found at Setting up virtualenv. Once the virtualenv is setup just use easy_install in the traditional way. For example:

$ easy_install ClueBzrServer

Usage

Running the Server

Once ClueBzrServer is installed, running clue-bzrserver the first time will generate a standard config file with all access turned off (for security reasons).

This will serve the currect directory as a bzr source:

$ clue-bzrserver

To specify an alternate port to the default 8080, try:

$ clue-bzrserver -p 9339

Display the --help arg for usage info:

$ clue-bzrserver --help

The default configuration will be generated at clue-bzrserver.ini in the same directory. It is configured to use htpasswd based access by looking at the file clue-bzrserver.passwd in the same directory. Use the standard apache2 htpasswd tool to update username/password entries.

At this point you should setup your first user account by doing something like follows (assumes apache2 htpasswd utility is available somewhere on the path):

$ htpasswd clue-bzrserver.passwd testuser1

The complete format of clue-bzrserver.ini for allowing access such as SQL or LDAP is dictated by the repoze.who project. See repoze.who security for details.

ACL Security

Security can be defined on a per branch basis. It gets defined inside the clue-bzrserver.ini file. Here’s an example:

[authz:MyProject/trunk]
anonymous = r
testuser1 = rw

Connecting to the Server

After you have launched the server for the first time the simplest way to get started is as follows:

$ bzr init-repo --no-trees --1.9 bzr+http://testuser1:mypassword@localhost:8080/MyProject

Now go ahead and start your new project (or work within an existing non-versioned directory). Lets assume you’re working on a project called “MyProject” and now want to turn what you have into the trunk:

$ cd MyProject
$ bzr init
$ bzr push --create-prefix bzr+http://testuser1:mypassword@localhost:8080/MyProject/trunk

Once you make some changes, you commit then as you normally would:

$ bzr commit

And then you have to make sure to push your local commits to the parent branch which in this case is the remote trunk:

$ bzr push

License

ClueBzrServer is covered under a BSD license. See LICENSE.txt for further details.

Credits

Written and maintained by Rocky Burt (rocky AT serverzen DOT com).

Changelog

0.2 - (Mar-01-2009)

  • New ACL based security

0.1 - Nov-10-2008

  • Initial release

Release files for ClueBzrServer 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ClueBzrServer 0.2
File Size Uploaded
ClueBzrServer-0.2.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ClueBzrServer 0.2
File Interpreter ABI Platform
ClueBzrServer-0.2-py2.5.egg Legacy Egg format - - Details

Total release size: 21.6 kB

Release files / ClueBzrServer-0.2.tar.gz

Download URL ClueBzrServer-0.2.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3d4cb3d6ae6942f953f01e08cd5b994466bb943e772e9e49224f92107e6ec6e9
BLAKE2b-256 checksum
How to use checksums
d62ccd7504e20ee1cadaf2944b503bdf272db6867ce6d7caea60fbfb9a87cc79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ClueBzrServer-0.2-py2.5.egg

Download URL ClueBzrServer-0.2-py2.5.egg
Size 14.8 kB
Tags Egg
SHA-256 checksum
How to use checksums
184c58647f7b412b1e65433af320a7a2bd346359e7c5e5f140cd59801aa855d0
BLAKE2b-256 checksum
How to use checksums
8099d4fa38fde0598d231b14927a6bee0fa969c1d013c7c926dac90733f1535a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1

2 release files

0.1dev

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page