Archive for May, 2012

Project-Builder.org 0.12.1 is now available

2012/05/30

As promised (or threatened (c) Bryan !) I have now published a new main version of project-builder.org, the 0.12.1 !

Since my previous post, I worked a lot on it to make it available in fact, and it took finally just a bit more than a year ! But it was hopefully worth the wait 😉

In order to ease the publication, I started to write a script to make project-builder.org tests in an automatic fashion. It helped me to find lots of small or less small remain issues before the release, so I’m more confident than before that this version is a good one indeed ! This was especially needed due to the fact I received this time other contributions.

Indeed, I received great contributions from Eric Anderson but I had to revert some of them, as the project wasn’t completely ready to deal with it. the major one being to error out immediately. That broke in fact a certain number of use case, where errors should be tolerated, and even after trying to catch them, I was unsuccessful in some case, so made a new parameter in the configuration file for that. So you can benefit from Eric’s work by activating pbstoponerr (and also pbshowsudo if you want to see what pb does behind the scene with sudo commands) in the /etc/pb/pb.conf configuration file. default is to have both of them off for now. It may change in the future, when the code handles more efficiently all error cases.

Also what I missed to detail last time is the new version number. This version is not compatible with the previous one, so you’ll have to update your VEs/VMs/RMs in order to benefit from it. Especially for test versions, now we use the full version name for producing the tar files, and the old version won’t build packages in the build environment when called from a 0.12.x external pb.

In order to do that, just use pb -p myproject setupvm (or setupve, setuprm) to update all your VMs in a row.

Project is still available at ftp://ftp.project-builder.org/ and you’ll find there all the versions made for all the distributions tuples supported (120+ as of today). Use trac to report problems or enhancement requests for next version, that I promised will not be next year but earlier !!

Enjoy and feel free to join our mailing-list to discuss more about it.

About to publish project-builder.org 0.12.1

2012/05/22

When I looked at the date of the current project-builder.org current stable version, I had a shock ! It has been nearly a year since I published that version. I should not stay that long without providing updates 😦 But you know what it is, you always think that you should still add that latest cool feature, and then that other, + fix this problem, … and you end up one year later with a great development version, but still no public stable one so others could benefit from your work.

So it’s time ! Especially as I have committed a lot of patches from an HP colleague, Eric Anderson, who is using the tool (and in its devel version !) to support packaging projects he is working on for HP. So I worked hard since the 8th of May to integrate what he has made available on github, since he got HP’s approval through the OSRB. And I have integrated I think more than 90% of his enhancements, which now will make 0.12.1 even more appealing than before.

But I’m not as a good guy as some think 😉 Some of the patches seemed strange to me, or could have an impact which I wasn’t completely sure of, so there is still some work Eric did, that has been left appart for the moment. Sorry for that, but I’m a slow guy, using this project on a daily basis, so I really need to be convinced before accepting a patch. But I was convinced by a lot 😉 I’ll now contact him back through the project mailing list, and see how we can work on these remaining points for 0.12.2 so he has a tool working much better for him. Among the nice stuff Eric has brought is clearly a much improved GIT support (read working !), and Debian/Ubuntu support as well (as he is using them natively). He also added support for stopping with the first error, or not as this is an option. Plus lots of improvements all around.

And he will also beneft from my own modifications, which hopefully improved the tool as well ! The last one, being with the configuration file management, now fully done in memory, instead of re-reading all conf file each time (which could also have some advantages, but speed improvement is what I was looking for here). In particular, in this version, the documentation has been improved a lot and should help more beginners. I have added a new getconf option to help following the value of configuration items (useful as pb uses lots of config files !), checkssh to verify what has been delivered on the repository, wrt what should have been, cleanssh to clean up the remote repository for test versions. A new -t option has been added to create local packages more quickly (when only the local distro will be used). Patches support has also been extended to .deb distributions. I have also introduced a new script, pbmkbm, which is aimed at creating customized boot media (project-builder.org make boot media), that will be the basis of an evolution of mindi in the MondoRescue project (doesn’t work as of now, and more on that later on). Some enhancement requests and bug fixes have also been done (#99, #585, #93, #522, #103, #105, new distro support for Fedora 15 and 16, Ubuntu 11.10, 12.04, OpenSuSE 11.4, 12.1 at least). #101 is the last on the list for 0.12.1 and as soon as it’s mostly done, I’ll publish it. Promised !

Stay tuned as usual 😉

UUWL aka the Unix to Unix Wrapper LIbrary is now available

2012/05/16

I recently receive the approval from the HP OpenSource Review Board so that we can publish a new HP and Intel sponsored Open Source project called the UUWL aka the Unix to Unix Wrapper Library, now available at UUWL.project-builder.org.

The published code is a first version providing help to migrate C code from Solaris to Linux. That’s a first step in this project. The target is to augment that with more code porting helper functions, which have not yet being developed, and also to target next other Unices such as AIX. As well we think this library may well become a must have for Linux distributions, so they may integrate it as they do with the GNU LibC, so that Linux could become the most porting friendly platform.

For the moment, only the source code and build process is available. I’ve started to work on the packaging with project-builder.org, and soon multiple packages will be available for various Linux distributions in order to ease installation and usage. We also need to release more documentation, use autoconf/automake, … It’s just a start. But as such we thought it would be worth sharing and try to build a new community interested by this topic.

We are interested by getting first feedback around this project. And if you have porting experience, you’re also welcome to join and share it with us so we could improve the UUWL and make it more useful for everybody. It’s released under a dual license, both OSI approved, the LGPLv2 and the MIT license, so it could be used in multiple context.