Home Home > 2010 > 07 > 19
Sign up | Login

Deprecation notice: openSUSE Lizards user blog platform is deprecated, and will remain read only for the time being. Learn more...

Archive for July 19th, 2010

openSUSE present in the Especial Edition of CIBESS

July 19th, 2010 by

Happily, I was invited the last Weekend to give a conference about Security and Hacking at the International Congress of Informatics and E-Business (Congreso Internacional de Informática y E-Business) at the paradisaical Island of Margarita, Venezuela at the Caribbean Sea .

Of course, I don’t loose any time to Spread the openSUSE word, so I talk a lot about Linux, Why to use Linux in security matters, Why Windows is a Joke, and how openSUSE its a great choice for newbies and advanced users. There was 3 conferences for 600 people, in groups of 200. I gave DVD’s, CD’s and Stuff to everybody who ask, or want one… After my chat, everybody ask a lot about our beloved Geeko… 😀

I hang some pictures in Flickr about the event. Next stop, make my Launch Party, that I couldn’t the last Weekend because this event. Cheers!

git bisect in action

July 19th, 2010 by

We have a little regression in the buildservice API test suite. And looking at the commit log I didn’t find the obvious problem, so I tried bisect, because I know it worked very recently:


git bisect start master 1dfd9717348d8425492b556d3a183b4d265007d
git bisect run sh -c "cd src/api; ruby test/functional/build_controller_test.rb --name=test_project_index"

And it gave me:
25347c2d712e6e4b598e05442dd95b5e82f14aed is the first bad commit
commit 25347c2d712e6e4b598e05442dd95b5e82f14aed
Author: Jan-Simon Möller
Date: Sun Jul 18 01:14:01 2010 +0200

[api] Add fixtures for request controller ACL tests.

Now if you look at the commit, it is not obvious why it’s a problem. But now that git has proven, it has to be buggy I looked at the other fixture data and then it’s obvious and the fix is simple:


--- a/src/api/test/fixtures/package_user_role_relationships.yml
+++ b/src/api/test/fixtures/package_user_role_relationships.yml
@@ -11,8 +11,8 @@ testpack_maintainer:
bs_user_id: 267
role_id: 3
-testpack_maintainer:
- db_package_id: 10095
+testpack1_maintainer:
+ db_package_id: 11006
bs_user_id: 42
role_id: 3

Thanks git 🙂