Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • wiki wiki
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 12
    • Issues 12
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Insights
    • Issue
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • openlpopenlp
  • wikiwiki
  • Wiki
  • Development
  • Convert from Bazaar to Git

Convert from Bazaar to Git · Changes

Page history
Create Development/Convert from Bazaar to Git authored Apr 27, 2020 by Raoul Snyman's avatar Raoul Snyman
Hide whitespace changes
Inline Side-by-side
Development/Convert-from-Bazaar-to-Git.md 0 → 100644
View page @ 32c28b11
To convert a repository from Bazaar to Git, follow these steps:
Getting set up
--------------
You're going to first need to get your computer set up to do it.
### Install Breezy (the Python 3 version of Bazaar)
On Debian (and Debian-based systems like Ubuntu):
```
$ sudo apt install breezy
```
On Fedora:
```
$ sudo dnf install -y breezy
```
### Checkout the repository
If you haven't already, you'll want to checkout the Bazaar repository:
```
$ brz checkout lp:openlp
```
Do the Conversion
-----------------
First you'll need to initialise a git repository:
```
$ git init
```
Then you need to pipe a `fast-export` from Breezy into a `fast-import` in git:
```
$ brz fast-export --plain . | git fast-import
```
Once that is done, you'll want to check git's status to look for any problem files:
```
$ git status
```
Fix up any issues, and then you can push the repository to a remote repository:
```
$ git remote add origin https://server/repo
$ git push origin master
```
And you're done!
\ No newline at end of file
Clone repository
  • Addendum
  • Brand_Guidelines
  • Classes_Plugin
  • Code Structure
  • Configuring_SSH_Keys_on_Linux_and_Mac_OS_X
  • Configuring_SSH_Keys_on_Windows
  • Creating a Study Bible for OpenLP
  • Custom Stage Views
  • Data Privacy
  • Development of Icons
  • Development
    • Branching_And_Merging_Standards
    • Coding_Standards
    • Convert from Bazaar to Git
    • Core_API_Framework
    • EasySlides_ _Song_Data_Format
View All Pages