I'm looking for a part-time remote job.

Hire me


I'm the author of:

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

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Feature #1875

Bazaar support

Added by Andriy Lesyuk about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
20 Oct 2011
Due date:
05 Nov 2011
% Done:

100%

External issue:

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 View (16.3 KB) Mario Luzeiro, 08 Nov 2011 13:06

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

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

History

#1 Updated by Andriy Lesyuk about 8 years ago

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

:S I guess I cannot use new...

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

#2 Updated by Andriy Lesyuk about 8 years ago

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

#3 Updated by Andriy Lesyuk about 8 years ago

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

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

#4 Updated by Andriy Lesyuk about 8 years ago

  • % Done changed from 20 to 70

#5 Updated by Andriy Lesyuk about 8 years 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!

#6 Updated by Mario Luzeiro about 8 years 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.

#7 Updated by Mario Luzeiro about 8 years 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://

#8 Updated by Mario Luzeiro about 8 years ago

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

#9 Updated by Andriy Lesyuk about 8 years ago

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

#10 Updated by Mario Luzeiro about 8 years 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/..

#11 Updated by Mario Luzeiro about 8 years ago

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

#12 Updated by Mario Luzeiro about 8 years 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

Terms of use | Privacy policy