Thursday, June 17, 2010

yum install sup

I am happy to announce that sup has now been pushed to the Fedora updates-testing repository.

Now you can do
yum install sup --enablerepo=updates-testing

It took packaging three rubygem dependencies
* rubygem-net-ssh
* rubygem-rmail
* rubygem-lockfile

The package is rubygem-sup. Apparently all rubygems have to be named this way, regardless of whether it is an application or library.

Use it, test it and provide karma to the package, so I can push it to stable. :-)

Thursday, June 10, 2010


One of the ideas that came out of packaging rubygem dependencies for sup and sup itself, was a need of a script that would cat a specific file from an rpm. Since rpmls exists, the next logical step would be a rpmcat.

Rahul told me to go ahead and write it down. He also gave me a few pointers.

Here it is.
Copy it to your /usr/bin/ and do a chmod +x

$ rpmcat <RPM> <full-file-path>
(get the full-file-path from rpmls)

Don't try random stuff. It will break! :-P

Wednesday, June 2, 2010

FAD Pune, haml and sup

I was supposed to be working on and talking about Dorrie. But that meant I had to sync the F13 repository, which I was not prepared with.

So I started checking out haml and converted one of my FSoC templates to haml. That was fun. Takes some time to get the hang of, but it makes your templates really clean and beautiful. Here's a before/after.

Rahul then asked me why I was not packaging sup. I said that was because I had never packaged anything for Fedora before. He said now would be a good time to start.

So we started packaging sup. We made a rpm spec from the gem spec of sup. I found out that a lot of sup's dependencies were not packaged for Fedora. So I started with them first.

For the rest of Day1 and entire Day2 I spent making spec files and doing review requests.

I have two packages under review now. Another is on the way.

Hoping to get sup packaged for Fedora soon.