Mastering Redmine

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book project on this site and/or

Buy the book

By buying this book you will also be donating to Redmine (see this page).


Feature #1875

Bazaar support

Added by Andriy Lesyuk over 1 year ago. Updated over 1 year ago.

Status:Closed Start:20 Oct 2011
Priority:Normal Due date:05 Nov 2011
Assigned to:Andriy Lesyuk % Done:

100%

Category:-
Target version:0.3.0
External issue:
Votes: 0

Description

The command for creating repo should be (thanks Mario Rui Luzeiro!):

bzr new --feature-branches --create-prefix --format 2a LOCATION

Redmine_bug_CreateRepository01.png (16.3 KB) Mario Luzeiro, 08 Nov 2011 13:06

Redmine_bug_CreateRepository02.png (19.1 KB) Mario Luzeiro, 09 Nov 2011 12:14

Redmine_bug_CreateRepository03.png (17.1 KB) Mario Luzeiro, 09 Nov 2011 12:50

History

Updated by Andriy Lesyuk over 1 year ago

$ bzr new --help
bzr: ERROR: unknown command "new" 

:S I guess I cannot use new...

What then? bzr init or bzr init-repository?..

Updated by Andriy Lesyuk over 1 year ago

What protocols are supported? sftp://, bzr+ssh://? Else? What about http://? Using %r{^(?:sftp|bzr(?:\+[a-z]+)?)://}...

Updated by Andriy Lesyuk over 1 year ago

  • Status changed from Open to In Progress
  • % Done changed from 0 to 20

Using bzr init-repository <custom options> <path>...

Updated by Andriy Lesyuk over 1 year ago

  • % Done changed from 20 to 70

Updated by Andriy Lesyuk over 1 year ago

  • Due date set to 05 Nov 2011
  • Status changed from In Progress to Closed
  • % Done changed from 70 to 100

I believe support for Bazaar has been implemented!

Updated by Mario Luzeiro over 1 year ago

Andriy Lesyuk wrote:

:S I guess I cannot use new... What then? bzr init or bzr init-repository?..

I get the new from the command line of bazaar explorer. I don’t understand it at all, probably it inits at local machine some information about the repository it creates remotely.

bzr --help new
bzr init-workspace [LOCATION]

we should understand this options better.. or ask some one that know it better.
Also.. there is any way you can setup in redmine your own init command line? in configuration of plugin. that would be nice.

Updated by Mario Luzeiro over 1 year ago

Andriy Lesyuk wrote:

What protocols are supported? sftp://, bzr+ssh://? Else? What about http://? Using %r{^(?:sftp|bzr(?:\+[a-z]+)?)://}...

I’m not sre what you mean. Probably bazaar supports all of this protocols. I’m using redmine from turnkeylinux and it works with bzr://

Updated by Mario Luzeiro over 1 year ago

Nothing happen after press repository.
There is the log in attached image

Updated by Andriy Lesyuk over 1 year ago

Can you show me your Bazaar scm.yml configuration?.. I guess it’s missing either path or (most likely) bzr...

Updated by Mario Luzeiro over 1 year ago

Andriy Lesyuk wrote:

Can you show me your Bazaar scm.yml configuration?.. I guess it’s missing either path or (most likely) bzr...

I didn’t touch this file.

bazaar:
 path: /var/lib/bazaar
 bzr: /usr/bin/bzr

This path should be the same as the others: /srv/repos/bzr
Also I notice that I don’t have any files in pre ou post create/delete in /usr/local/bin/..

Updated by Mario Luzeiro over 1 year ago

Now in bazaar the creation button does not appear.
See attach image.

Updated by Mario Luzeiro over 1 year ago

Oks I setup it and press create new repository.
The path field appears gray, the button is still visible
but it didn’t create the repository.

Also available in: Atom PDF