mms development moved to bzr

Moderator: Moderator

User avatar
arj
Site Admin
Posts: 2316
Joined: Thu Dec 01, 2005 8:51 pm
Location: Denmark
Contact:

mms development moved to bzr

Postby arj » Sun Mar 04, 2007 12:43 am

Hi

As explained http://www.gnulinux.dk/arj/2007/03/03/bzr-kicks-gits-ass/ I have been playing around with bzr. Bzr is bazaar next generation. It's written in python and has a much nicer UI (still console :)). Andreas has kindly supplied me with a place where I can store the bzr archive so we can now move the development over from baz to bzr.

What does this mean?

You need to do a new checkout using: bzr get http://bazaar.launchpad.net/~anders-gnulinux/mms/1.0.9 mms-1.0.9. Please note that it will take a while the first time (so please go grab a cup of coffee while it's downloading).

Updating works by issuing the command: bzr pull in the dir. One may need to add the http path after that, but bzr should be able to remember it.

If you want to provide easy to merge bzr patches, you can follow this simple guide: http://bazaar-vcs.org/QuickHackingWithBzr.

Since this is all hosted on launchpad we can now easily add more developers which can use their own ssh key. So we could e.g. have a new branch for the theme stuff and other things.
Last edited by arj on Tue Mar 06, 2007 1:24 am, edited 2 times in total.

User avatar
arj
Site Admin
Posts: 2316
Joined: Thu Dec 01, 2005 8:51 pm
Location: Denmark
Contact:

Postby arj » Sun Mar 04, 2007 2:23 am

there's an added bonus of online changelog :)

https://launchpad.net/~anders-gnulinux/ ... /mms/1.0.9

User avatar
arj
Site Admin
Posts: 2316
Joined: Thu Dec 01, 2005 8:51 pm
Location: Denmark
Contact:

Postby arj » Sun Mar 04, 2007 2:47 am

Latest in ubuntu 6.10 is 0.11, latest official is 0.14. I checked and both seem to work fine. 0.14 might be a little faster. Instructions for grabbing the latest using apt is here:

http://bazaar-vcs.org/DistroDownloads

User avatar
castorinop
veteran
Posts: 331
Joined: Wed Jun 07, 2006 6:34 pm
Location: Argentina
Contact:

Postby castorinop » Sun Mar 04, 2007 5:19 am

arj wrote:there's an added bonus of online changelog :)

https://launchpad.net/~anders-gnulinux/ ... /mms/1.0.9


I Love this !!!!

User avatar
acmelabs
Overlord
Posts: 2365
Joined: Mon Feb 20, 2006 9:18 pm
Location: Germany
Contact:

Re: mms development moved to bzr

Postby acmelabs » Sun Mar 04, 2007 11:21 am

Hi,
I did my first check-out, here are my experiences:
  1. it works :D
  2. but slow :-(
  3. with the line you've posten above "mms-1.0.9" is created. patch??? With baz also this folder was created, but I saw a message naming the patch-level. And I manually moved to "-patch-xy".
  4. "https://launchpad.net/~anders-gnulinux/+branch/mms/1.0.9" doesn't give patch number either. How should we refer our bug-reports now?

Which patch did I download now?

Regards,
Andreas

PS: and why did google-bot scaned 74 bzr repository-folders so far? This makes no sense.

User avatar
arj
Site Admin
Posts: 2316
Joined: Thu Dec 01, 2005 8:51 pm
Location: Denmark
Contact:

Postby arj » Sun Mar 04, 2007 12:40 pm

You get the "patch-level" from bzr by doing a bzr log in the dir you checked out. When you update it will tell you how many changes you fetched.

esprit
master
Posts: 503
Joined: Tue Dec 06, 2005 5:50 pm
Location: France
Contact:

Re: mms development moved to bzr

Postby esprit » Sun Mar 04, 2007 12:43 pm

acmelabs wrote:"https://launchpad.net/~anders-gnulinux/+branch/mms/1.0.9" doesn't give patch number either. How should we refer our bug-reports now?

There is a revision column in the table, with revision numer + date of revision ;)

User avatar
arj
Site Admin
Posts: 2316
Joined: Thu Dec 01, 2005 8:51 pm
Location: Denmark
Contact:

Postby arj » Sun Mar 04, 2007 1:09 pm

Let me just explain a little more in detail how it work and how it's different from baz. When you do a checkout it will have complete history. So every change since ~2003 or something is there. What this means is that you have a local "mirror" of the whole mms-1.0.9 repo. If you want to play around with something and not fear a conflict when you update the next time just do a bzr branch <checkout> <new_dir>. You can still do a bzr update from new_dir if needed. You can also just copy that <checkout> folder around, so if you have two machines you can just scp it over and everything will work ok on the other machine as well.

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Postby Uatschitchun » Sun Mar 04, 2007 5:04 pm

Cool! so with bzr we will be able to add a branch for debian packaging, too!

If I did a checkout, how do I get a clean upstream package? Still with removing arch-ids?

[Edit]
It seems it's the .bzr dir which has to be removed!? Or is there a bzr command to branch/mirror the checkout to be a clean upstream (which can be used as upstream tar-ball for packaging)
[/Edit

Lg
Roman

User avatar
arj
Site Admin
Posts: 2316
Joined: Thu Dec 01, 2005 8:51 pm
Location: Denmark
Contact:

Postby arj » Sun Mar 04, 2007 5:38 pm

Yes sure the whole idea is to provide bzr space for all kinds of mms related stuff included the debian packages. So just create a user and I'll add you to the project. You just need to put a ssh public key there as well.

I havn't gotten so far yet as to what to do about releasing but I think one does:

bzr branch <from> <to>
cd <to>
rm -rf .bzrignore
rm -rf .bzr

But I will know that very soon I hope :D

esprit
master
Posts: 503
Joined: Tue Dec 06, 2005 5:50 pm
Location: France
Contact:

Re: mms development moved to bzr

Postby esprit » Mon Mar 05, 2007 9:48 pm

arj wrote:Updating works the same way as before: bzr update in the dir.

Doen't seem to be so easy :

Code: Select all

> bzr update
Tree is up to date at revision 1072.


:?

User avatar
arj
Site Admin
Posts: 2316
Joined: Thu Dec 01, 2005 8:51 pm
Location: Denmark
Contact:

Postby arj » Tue Mar 06, 2007 1:23 am

Aha yes. I guess I was wrong. One needs to use bzr pull instead. I can use saved locations so I don't think it's needed to add the fullpath after pull each time.

User avatar
acmelabs
Overlord
Posts: 2365
Joined: Mon Feb 20, 2006 9:18 pm
Location: Germany
Contact:

Wiki

Postby acmelabs » Tue Mar 06, 2007 10:06 am

@Roman: Does this change (bar->bzr) affect your wiki-pages?

I've updated the "Download->Develop" Section in the Wiki.

Regards,
Andreas

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Postby Uatschitchun » Tue Mar 06, 2007 10:23 am

Yes, it does :?

Will update asa I have the debian packages ready ...

Lg
Roman

User avatar
castorinop
veteran
Posts: 331
Joined: Wed Jun 07, 2006 6:34 pm
Location: Argentina
Contact:

Postby castorinop » Tue Mar 06, 2007 12:42 pm

arj wrote:there's an added bonus of online changelog :)
https://launchpad.net/~anders-gnulinux/ ... /mms/1.0.9


it is possible to be seen the changes in the archives of changelog?


Return to “announcements”

Who is online

Users browsing this forum: No registered users and 2 guests