[gsoc] osc2 client – summary of week 8
Hi,
here’s a small summary of the 8th (coding) week. The last days I
was working on getting build support into the osc2 library. I just
checked in a BuildInfo and Builder class (+ testcases). Here’s a
brief example how they can be used:
# example how to use the Builder class
builder = Builder(su_cmd=Builder.SUDO, root='/var/tmp/build-root')
builder.rpmlist = '/path/to/rpmlist'
builder.dist = '/path/to/buildconfig'
builder.without = 'feature1'
builder.without += 'feature2'
builder.arch = 'x86_64'
# run the build:
builder.run('/path/to/osc.spec')
# this executes:
sudo /usr/bin/build --arch x86_64 --dist /path/to/buildconfig \
--root /var/tmp/build-root --rpmlist /path/to/rpmlist \
--without feature1 --without feature2 /path/to/osc.spec
Basically Builder is just a wrapper around the build script
(all options will be passed to the build script; if an option contains
a “-” character like “vm-type” it can be set like this:
“binfo.vm_type = ‘xen'” (a “_” will be replaced with “-“)).
Additionally here’s a small example how to utilize the BuildInfo
class:
# fname is a path to a spec file
binfo = BuildInfo('openSUSE:Tools', 'osc', 'openSUSE_Factory', 'x86_64',
filename=fname)
# print preinstall packages
for bdep in binfo.preinstall():
print bdep.get('name'), bdep.get('version')
# save binfo xml in a file
binfo.write_to('/path/to/file.xml')
The next thing on my TODO is the fetcher and cachemanager code.
Marcus
Linux Kernel built with clang boots into openSUSE
Whatch this: http://youtu.be/Jp04DMXH2Rg
The kernel was compiled with Clang (C frontend of LLVM) and boots into a running openSUSE desktop!
[gsoc] osc2 client – summary of week 7
Hi,
here’s a small summary of the 7th (coding) week. Last week
I was really busy with university stuff (it was the second
last week in the lecture period so I had to recap quite
some stuff) and didn’t manage to work much on the GSoC project.
I’m going work off the TODO this weekend.
Marcus
GUADEC 2012 program is published!
The program for GUADEC 2012 got published yesterday! Okay, it has been online for a week already, but there were some small adjustments to force the layout of the talks (due to some Indico bug, or maybe some misconfiguration on our side).
If you were still wondering if you should come, now you have no more excuse: great talks and cool keynotes (The History of GNOME
will surely be full of fun stories!) during the core days, two slots of lightning talks, the Foundation AGM to get the latest update on the Foundation, our now traditional sport games (football, but possibly other sports too), and several BoF and hackfests... GUADEC will be quite busy!
So go check out the full GUADEC program! And many thanks to the sponsors who help us make this event happen: Canonical, Collabora, Google, Igalia, OpenShine, Open Innovation Network and the Linux Foundation.
In Geneva for the RMLL
I arrived this morning in Geneva, for the RMLL 2012, the biggest french-speaking community-oriented event every year. It's the first time the RMLL move out of France, and it's also my first time where I actually stay in Switzerland for a few days instead of being there just for a flight connection. Good to go to foreign countries and still speak French, but it'd be even better if we could use euro to pay ;-)
This year again, I'm co-chairing a Communities track with Michael Scherer. We wanted to restrict the track to two days, but we had to add a third day to accept all talks we wanted to see in. In this track, we obviously have talks related to several french-speaking-specific organizations or projects, but we also have talks about communities and freedom in general, as well as talks presenting some theoretical approaches to communities.
The first day is nearly over, and I'm pleasantly surprised by the content: it's even more interesting than what I expected, and there is good discussion between the audience and the various speakers. Some highlights:
- The presentation about Sigmah, for instance, showed some fascinating work in the world of NGOs.
- Learning more about the challenges faced by LinuxFr.org (very popular free software news website) was also eye-opening, as it reflects on the evolution of the free software community in general: difficulties to get people to contribute, people getting older, social issues, etc.
- I was also interested in what EnVenteLibre is doing: sharing the infrastructure needed for online shopping so that free software organizations don't have to each reinvent the wheel can make a big difference for those organizations.
Unfortunately, co-chairing a track has a side-effect: much less time to chat with people or stay in booths. If you want to discuss GNOME or openSUSE, though, just come and say hi!
Oh, and thanks to SUSE for letting me go to this event: it's really amazing to have an employer willing to help you contribute to the community world!
[gsoc] osc2 client – summary of week 6
Hi
here’s a small summary of the 6th (coding) week. Last week I
continued working on the build module and developed a concept
for the package fetcher (and discussed some parts
with darix:) ).
The main idea is to modularize the fetcher code, verify code etc.
Thus we have a fetcher class which takes care of retrieving the
packages. The fetcher class utilizes a “cache manager” which takes
care of storing the fetched packages on the filesystem. The goal is
that at some point in time one can exchange the “simple” cache manager
with a more “clever” cache manager (which for instance cleans up the
cache from time to time or only allows exactly one version of a
package in the cache etc.). In order to achieve this no code in the
fetcher has to be touched – instead it’s sufficient to pass a different
cache manager object to the fetcher.
Additionally the fetcher provides some hooks like pre, pre_fetch,
post_fetch and post. For instance a post_fetch hook can be used to
verify the just fetched package etc.
TODO:
– write testcases and implement the concept from above
If you have questions, suggestions etc. feel free to contact me:)
Marcus
Susan's Book on Intellectual Property and Access to Education
I am happy to announce the upcoming book of my dear wife. A must read for all interested in intellectual property, in access to copyrighted materials and in development issues.
This book originates from a PhD thesis defended at the Graduate Institute of International and Development Studies, Geneva, Switzerland. It has been awarded "summa cum laude" mention.
Check, please, with your libraries whether they know about the book and advise them strongly to purchase it for the biggest good of the humanity :)
Repository GNOME:Contrib is dead
An announcement for GNOME users in openSUSE: the repository GNOME:Contrib is now dead. This used to be the development branch of GNOME packages living in Contrib. Packages previously in this repository have all been pushed to Factory. If this is in the list of your subscribed repositories, please remove it now (using zypper rr <reponame> or from YaST, etc.), because the repository itself will be deleted from the download.opensuse.org server shortly.
New life, new country, new job, new community, new....
On Monday June 17th I moved to Nuremberg to join SUSE to lead a team that is 'under construction', that will follow openSUSE Boosters experience.In a few weeks I will be able to give you more details about our plans since at the moment I'm working on them along with some Boosters, other SUSE/openSUSE members and new people that is joining us. Obviously openSUSE community members will be the first to know.
So basically, I'm in a new city/country, working for a new company building a partially new team and I will be involved in a new community (openSUSE) .
On the personal side, I'm going through the natural process everybody that moves from one country to another goes. SUSE people is helping me and I have some friends in this city so I'm doing fine.
I will begin to learn German in a couple of weeks, after Akademy. It's going to be a tough task, I know. But hey, it is something I will bring with me forever, right?
I would like to thank SUSE for this opportunity and to my family and friends for all the support I've received the last few months so I could get to this point.
Now it is time to work hard and work smart.