Canonical Voices

Posts tagged with 'udd'

Martin Pool

Jelmer writes:

bzr-builddeb 2.8.1 has just landed on Debian Sid and Ubuntu Precise. This version contains some of my improvements from late last year for the handling of quilt patches in packaging branches. Most of these improvements depend on bzr 2.5 beta 5, which is also in Sid/Precise.

The most relevant changes (enabled by default) are:

  • ‘bzr merge-package’ is now integrated into ‘bzr merge’ (it’s just a hook that fires on merges involving packages)
  • patches are automatically unapplied in relevant trees before merges
  • before a commit, bzr will warn if you have some applied and some unapplied quilt patches

Furthermore, you can now specify whether you would like bzr to automatically apply all patches for stored data and whether you would like to automatically have them applied in your working tree by setting ‘quilt-tree-policy‘ and ‘quilt-commit-policy‘ to either ‘applied‘ or ‘unapplied‘. This means that you can have the patches unapplied in the repository, but automatically have them applied upon checkout or update. Setting these configuration options to an empty string causes bzr to not touch your patches during commits, checkout or update.

We’ve done some testing of it, as well as running through a package merge involving patches with Barry, but none of us do package merges regularly. If you do run into issues or if you think there are ways we can improve the quilt handling further, please comment here or file a bug report against the UDD project.

Caveats:

  • If there are patches to unapply for the OTHER tree, bzr will currently create a separate checkout and unapply the patches there. This may have performance consequences for big packages. The best way to prevent this is to set ‘quilt-commit-policy = unapplied‘.
  • bzr merge‘ will now fail if you are merging in a packaging tree that is lacking pristine tar metadata; I’m submitting a fix for this, but it’s not in 2.8.1.
  • if you set ‘quilt-commit-policy‘ and ‘quilt-tree-policy‘ but have them set to a different value, bzr will consider the tree to have changes.

To disable the automatic unapplying of patches and fall back to the previous behaviour, set the following in your builddeb configuration:

quilt-smart-merge = False

Read more
Vincent Ladeuil

The package importer is an important piece of the Ubuntu Distributed Development. It mirrors source packages and Bazaar branches and relies heavily on Launchpad to achieve that.

The past

During Launchpad downtimes, many (>1000) imports failed and they had to be re-queued semi-manually. The importer would have been better inspired by making tea instead of queuing imports that were bound to fail.

The circuit breaker

An automatically operated electrical switch designed to protect an electrical circuit <…> a circuit breaker can be reset (either manually or automatically) to resume normal operation.

This looks like a good candidate to avoid import failures while Launchpad is down.

In this automaton representing the behaviour of a circuit breaker, three events are used (remember that here closed == works ;)):

  • attempt: we try to use the circuit,
  • failure: an undesired event has occurred,
  • success: the circuit is working.

The main scenario here is:

closed — failure –> open — attempt –> half open — success –> closed

The reality test

A Launchpad rollout happened Friday 30 September 08:32. The importer log file said:

2011-09-30 08:32:02,308 – __main__ – INFO – Launchpad is down, re-trying jcifs

2011-09-30 08:34:09,337 – __main__ – INFO – Launchpad *is* back

The successful import took 27″, so the importer knew Launchpad was down for 1’40″ (back – down – duration(import)). I asked the Launchpad admins how long it took them and their log said:

2011-09-30 08:33:41 INFO    Outage complete. 0:01:40.919527

Make tea… or not

Another interesting number here is that we retried 498 times during this downtime. This is probably excessive and can be fixed by reducing the importer concurrency while Launchpad is down. These 498 attempts were previously seen as failures for 498 different packages.

In the end, not only did we avoid these 498 spurious failures but the imports were only suspended for as long as Launchpad was down, up to the second !

But that’s a bit short to make tea…

Read more
Hardik Dalwadi

First i would like to thanks all UDD attendees & Canonical, Ubuntu Community for making UDD successful event. we had around 350 attendees @ Hotel Leela, Grand Ball Room.

So, let me  share some behind the scene pictures.

 

This is how we started @ 1:30 PM, 26th Jnauary, 2011

 

Time to make seprate Ubuntu Cotton bags with T-shirts.

Final Goodies: Notepad, Pens, sticker, Products Sheets, Mavercik T-Shirts and Ubuntu Cotton Bags

 

Finally three containers with all goodies, according to their t-shirts size @ 2:30 PM, 26th January, 2011

Registration Counter @ 7:00 PM, 26th January, 2011

Agenda @ 9:10 PM, 26th January, 2011

UDD Presentation Hall @ 11:00 PM, 26th January, 2011

UDD Demonstration Room @ 3:00 AM 27 January, 2011

It was very interesting and busy day for all, packing bags to preparing demo room, shaping final presentations. We were very excited to see all Ubuntuers on UDD. And, OMG!!! that dream came true. Here is a picture taken 15 minutes before the UDD started. And, I believe Picture Speaks Louder Then The Words, OMG!!! It is!

 

Fronte-Right-Corner: A picture taken 15 minutes before the UDD started.

 

REAR-Right-Corner: A picture taken 15 minutes before the UDD started.

 

Though,  i was busy @ UDD Demonstration Counter, organized by Canonical and OEMs and LOEMs, showing their devices with Ubuntu, so i would not write much about UDD Presentation, later in this blog i will cover UDD Presentation source and community blog, covering whole UDD Presentation  part.  Again coming back to demo part, We demoed Wipro Machines (Netbook, Notebook, Tablet, Desktops), Lenovo All-In-One M90Z with Ubuntu 10.10, Dell Zino and Dell Latitude Netbook with Ubuntu Light. Most of the attendees were interested in getting list of Machine pre-installed with Ubuntu and available in Indian market. And that was one of the common need of all. And we surprised by seeing huge demand for that. In past, i have covered in my blog with picture of some LOEM brand with Ubuntu showcasing in CROMA. I got huge demand from attendees to generate and promote list of LOEMs and OEMs shipping machines with Pre-installed Ubuntu in Indian Consumer / Retail Market. We are already doing this for enterprise and corporates. I am sure i will cover that list in future blog. We had given 1 hour for UDD Demonstration Counter,  combined with UDD Break in UDD Agenda.  But personally,  i was much more  busy during the day  for demonstration ;) Here are few pictures from Demonstration Counter.

UDD Demonstartion Room @ 1:00 PM, 27th January, 2011

UDD Demonstration Counter @ 3:00 PM, 27th January, 2011

Overall it was amazing event. During the day, i had great meeting with Nigel Babu and Sreekanth. Nigel also covered detailed report of UDD. Sreekanth had given nice demo on preparing and running customized Ubuntu AMI on Amazon EC2 Cloud Services. We had given separate counter for community. Thanks a lot Sreekanth.

Finally, Closing keynote  by Prakash thanking  all UDD attendees and Canonical Employee for making UDD successful. Here is a snip from Nigel’s Blog Post.

Closing keynote by Prakash and Thanks to all UDD attendees and Canonical Employee for making UDD successful.

Though, We have finished the UDD, but still we are hearing from attendees. Personally, i got lot of e-Mails from attendees.  There was common request to do it again. And, of-course i will update you more in future. Here few words from one of e-Mail, i received. Personal thanks to Mr. Girish


Dear Hardik,
It was a great experience at Leela palace in Bangalore on Ubuntu Developer Day.
I had very good opportunity to meet many people to from open source.
Please keep on organising such events in India.

My Canonical colleagues also got the similar kind of e-Mails after UDD. It was great satisfaction for us. Here is few links around the web covering UDD, bit commercially, but that is not offensive :) .


http://www.mymobile.co.in/index.php/national-news/312-ubuntu-developer-day-counts-over-350-in-attendance

http://www.efytimes.com/e1/57794/fullnews.htm

http://press-releases.techwhack.com/

http://tweetmeme.com/story/3872838340/ubuntu-developer-day-in-india-a-resounding-success-with-over-350-in-attendance

http://friendfeed.com/techwhack/29e6af84/ubuntu-developer-day-in-india-resounding

To going at more commercial part, there was very nice coverage by Beyond Beat, Evening new paper.

I like the title most, i will close this blog with that one | UBUNTU STORY: STAFF OF TWO, LAKHS OF USERS | Big thanks to strong Ubuntu Community and Canonical. Now? Let’s make it billion….

UDD Coverage by Beyond Beat, Evening New Paper of Bangalore

Read more
Hardik Dalwadi

I have seen lot of buzz around that, registration has been closed for Ubuntu Developer Day, Bangalore, Jan 27, 2011! Yes it’s very true. We are very sorry to say that we have closed registration for Ubuntu Developer Day, Bangalore, Jan 27, 2011, due to being hugely oversubscribed. We did this two days ago, when we were 10 days away from event. It gives me two kind of feeling (:) – :( ). But, i believe it has created huge hope and fundamentals for Ubuntu and proved it’s position before the event. This is just beginning….

I am personally sorry for those, who have missed the registration. See you all, who have registered and planned to attend UDD :) .

Read more