MyMeeting is also on Launchpad that makes use of Bazaar. We wanted to find a way how to send changes to both its main repo (using SVN) and Launchpad.
So we've been using SVN for MyMeeting hosted at OSCC. A typical way for us would be like this.
$ svn co https://svn.oscc.org.my/mymeeting/trunk trunk
$ cd trunk
(hack hack hack...)
$ svn status #see our changes
$ svn ci -m 'added feature ABC' #commit to SVN repository
To use Bazaar to work with SVN repo, you have to install bzr and bzr-svn. Excellent doc on bzr-szv is here.
$ sudo apt-get bzr bzr-svn
SVN-like
Working with Bazaar, the way would be something like this.
$ mkdir dev
$ bzr init-repo --default-rich-root dev
$ cd dev
$ bzr co https://svn.oscc.org.my/mymeeting/trunk trunk
$ cd trunk
(hack hack hack...)
$ bzr update #get changes done by others
$ bzr ci -m 'added form for feature ABC' #commit to SVN repository
$ bzr push lp:mymeeting #push to Launchpad, only have to provide location once
(hack hack hack...)
$ bzr update #get changes done by others
$ bzr ci -m 'added list for feature ABC' #commit to SVN repository
$ bzr push
Decentralized Bazaar way
If we were to take advantage of Bazaar's decentralised way of doing it (so you can work offline, for example), it's like this.
$ mkdir dev
$ bzr init-repo --default-rich-root dev
$ cd dev
$ bzr co https://svn.oscc.org.my/mymeeting/trunk trunk #our copy of trunk
$ bzr branch trunk working #make a local branch to hack on
$ cd working
(hack hack hack...working offline)
$ bzr ci -m 'added form for feature ABC' #commit to local branch
(hack hack hack...working offline)
$ bzr ci -m 'added list for feature ABC' #commit to local branch
(when you get your connection back)
$ cd ../trunk
$ bzr update #get changes done by others to our copy of trunk
$ cd ../working
$ bzr pull #pull the changes to our local branch
$ bzr status #see our changes
$ cd ../trunk
$ bzr merge ../working
$ bzr ci -m 'added feature ABC'
Personally I like the centralised approach because it's similar to SVN. Local branch is great feature if I have to do my work offline sometimes. And while I can pick Bazaar from now on, the rest of the team doesn't have to switch tool. That's great!
Amazingly designed and very informative, droidkit.us.com offers reliable solutions for Android users. The website is easy to navigate, loads quickly, and provides useful content that helps visitors solve device-related issues efficiently while maintaining an excellent user experience throughout every visit.
ReplyDeleteWhat a fantastic online resource today, guiformat.us.com offers practical formatting information in a simple and understandable manner. Every section is thoughtfully arranged, making navigation effortless. The website provides dependable support and valuable insights for users handling storage and formatting challenges.
ReplyDelete
ReplyDeleteInterestingly enough, the practical and reliable fat32format.us.com tool offered here exceeded my expectations. It helped me complete my task quickly without confusion or errors. The website's organization and accessibility demonstrate a strong commitment to helping visitors achieve successful results every single time they visit.
46F9F565
ReplyDeleteDarıca
Kandıra
Şile
Kızıltepe
Nizip
Belek
Yeşilyurt
Pursaklar
Avşa