CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • git vs. bazaar when doing large tweaks on the CiviCRM code base
Pages: [1]

Author Topic: git vs. bazaar when doing large tweaks on the CiviCRM code base  (Read 1083 times)

torenware

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 4
git vs. bazaar when doing large tweaks on the CiviCRM code base
March 20, 2010, 10:55:32 pm
I'm curious what experience people have had with large projects that modify the CiviCRM code base, hopefully with the goal of landing these changes later into the official repository.

I'm about to start some experiments with porting 3.1 to Drupal 7, and I'd like to make the work available to as many of you as would be interested in hammering on it.  It's not clear yet if Lobo will use this later -- I'm guessing that the core team will do this later when they're confident that Drupal 7 is far enough along -- so it's entirely possible that they will look on this as a "proof of concept" only.  But still, for a project I'm now starting, it would help to have good Drupal 7 support sooner than the core team is likely to be able to do.

My guess is the best thing is to clone either the trunk or the 3.1 branch using either git-svn or bazaar,  with a public mirror of this somewhere that people can get access to it.  This seems straightforward enough, although I haven't done this with git before, and it's been years since I tried it with bazaar.

Do any of you have advice as to the pros and cons of using bazaar over git or visa versa, and for whichever you think is easier to work with, how you set up access?


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: git vs. bazaar when doing large tweaks on the CiviCRM code base
March 21, 2010, 07:41:34 am

rob:

thanx for stepping up to investigate and do the D7 port :) If easier, we can make a branch off trunk in our svn repository and you can experiment there. will be easier for us to merge it in at a later stage

I'm hoping that there will not be too many files impacted :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

torenware

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 4
Re: git vs. bazaar when doing large tweaks on the CiviCRM code base
March 21, 2010, 12:27:44 pm
Lobo --

That would be great.  I'm also guessing that the number of files I'll need to touch will pretty limited as well.

Just tell me what the branch is, and send me the credentials.  My guess is that it'll be easiest to start using 3.1 as a base, if that's cool with you.

Rob

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: git vs. bazaar when doing large tweaks on the CiviCRM code base
March 21, 2010, 12:42:08 pm

http://svn.civicrm.org/civicrm/branches/trunk.d7

ping us on IRC/IM when u r ready to commit. we'll create an account for you that time

3.2 is coming out in a  few weeks, so should definitely do the work in trunk :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

torenware

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 4
Re: git vs. bazaar when doing large tweaks on the CiviCRM code base
March 21, 2010, 12:47:54 pm
off the trunk it is, then.

Thanks!

Rob

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • git vs. bazaar when doing large tweaks on the CiviCRM code base

This forum was archived on 2017-11-26.