Migration of Bazaar to Git: Difference between revisions

From OpenPetra Wiki
Jump to navigation Jump to search
Line 32: Line 32:


== Costs of hosting private repositories ==
== Costs of hosting private repositories ==
* Launchpad
** https://launchpad.net/+tour/join-launchpad#commercial
** 250 USD per year plus 20% VAT if you are in the EU
* Github
** https://github.com/pricing
** personal plan: Micro: 7 USD per month, 84 USD per year
** organisation plan: Bronce: 25 USD per month, 300 USD per year
** difference between personal and organisational: https://help.github.com/articles/what-s-the-difference-between-user-and-organization-accounts/
*** mainly: multiple admins
* Gitlab.com
** https://about.gitlab.com/gitlab-com/
** free without support
** Unlimited private and public repositories
** Unlimited private collaborators
* Gitlab hosted by Timotheus
** https://git.solidcharity.com
** 200 Euro per year
* self hosted Gitlab
** Open Source: no license fee
** could run inside ICT
** problem: need to maintain the server. needs quite some RAM. Ubuntu packages are available.
** problem: make available to people from outside, Timotheus would not have a VPN access


== Comparison of Git Hosting ==
== Comparison of Git Hosting ==

Revision as of 12:19, 10 September 2015

Description

This is just a proposal!

The idea is that the development and improvement of bazaar is not reliable anymore. See for this:

In 2009, we actually initially used Git for hosting the source code of OpenPetra! We still have some documentation for that in the wiki:

TODO

Document usage of git on these pages:

Costs of hosting private repositories

  • self hosted Gitlab
    • Open Source: no license fee
    • could run inside ICT
    • problem: need to maintain the server. needs quite some RAM. Ubuntu packages are available.
    • problem: make available to people from outside, Timotheus would not have a VPN access

Comparison of Git Hosting

Investigation of Launchpad Git Repositories

vi ~/.gitconfig
  [url "git+ssh://tpokorra@git.launchpad.net/"]
       insteadof = lp:
  [url "git+ssh://tpokorra@git.launchpad.net/~tpokorra/+git/"]
       insteadof = lpme:
mkdir test
cd test
git init
vi readme.md
git add readme.md
git commit -a -m "initial commit"
git remote add origin lpme:test
git push --set-upstream origin master

see result at:

useful git commands

# do not pull the whole history, but just the latest commit. save download bandwidth
git clone --depth=1 https://github.com/openpetra/openpetra.git myopenpetradirectory