Thu, 19 Nov 2009
TurboGears2 in Fedora & EPEL
I'm excited to announce that the TurboGears2 web application stack is now available in Fedora 12, 11 and EPEL-5.
What is TurboGears2?
TurboGears 2 is the built on top of the experience of several next generation web frameworks including TurboGears 1 (of course), Django, and Rails. All of these frameworks had limitations which were frustrating in various ways, and TG2 is an answer to that frustration. We wanted something that had:
- Real multi-database support
- Horizontal data partitioning (sharding)
- Support for a variety of JavaScript toolkits, and new widget system to make building ajax heavy apps easier
- Support for multiple data-exchange formats.
- Built in extensibility via standard WSGI components
Installing the TurboGears2 stack & development tools
Fedora 12Fedora 11yum install TurboGears2 python-tg-devtoolsRed Hat Enterprise Linux 5 (with EPEL)yum --enablerepo=updates-testing install TurboGears2 python-tg-devtoolsyum --enablerepo=epel-testing install TurboGears2 python-tg-devtools
Creating your first TG2 app
paster quickstart
Run your test suite
nosetests
Run your application
paster serve development.ini
Read the documentation
http://www.turbogears.org/2.0/docs
Contribute
If you're interested in helping maintain and improve the TG2/Pylons stack within Fedora/EPEL, please let me know. We're always looking for new Python hackers to join the team. There are still a few more components that need to be packaged and reviewed (eg: chameleon.genshi), so please take a look at the TurboGears2 page on the Fedora wiki for more details..
posted at: 00:00 | link | | 0 comments
Tue, 17 Nov 2009
Fedora 12 is here!
Install it with the liveusb-creator!
posted at: 00:00 | link | | 0 comments
Sun, 08 Nov 2009
New liveusb-creator release!
So I've gotten some pretty inspiring feedback from various users of the
liveusb-creator recently, so I decided to put some cycles into it this weekend and
crank out another release.
"As a non-Linux person, Live-USB Creator has improved the quality of my life measurably!" --Dr. Arthur B. Hunkins
Yesterday I released version 3.8.6 of the liveusb-creator. Changes in this
release include:
- Added the F12 beta release
- Updated to the latest Sugar on a Stick v2 beta snapshot (#522240)
- Made our automatic device detection code more robust (#519134)
- Fixed encoding of unicode strings from exceptions (#471367)
- Made our Linux device detection more robust (#517053)
- Intel Mac EFI directory preparation (#526825) thanks to Matt Domsch
- Made our windows device detection more robust
- Added a --device-checksum options, which calculates the checksum of the entire device.
- Added a --liveos-checksum option, which takes the checksum of all LiveOS files, and then generate a checksum of the checksums
- Added a --hash option for configuring the hash for the above checksum features
- Made the LiveUSBCreator.bootable_partition method a little more robust
- Better handling of file descriptors
- Some Windows-specific optimizations & fixes
- Fixed a bug with the overlay size on sticks with not much free space
- Handle device paths containing spaces when running extlinux (#490843)
- Remove some duplicate po files (#516841)
- Many translation updates
https://fedorahosted.org/releases/l/i/liveusb-creator/liveusb-creator-3.8.6.zip
Fedora
https://admin.fedoraproject.org/updates/liveusb-creator-3.8.6-1.fc11
https://admin.fedoraproject.org/updates/liveusb-creator-3.8.6-1.fc12
Source
https://fedorahosted.org/releases/l/i/liveusb-creator/liveusb-creator-3.8.6.tar.bz2
Trac
http://liveusb-creator.fedorahosted.org
posted at: 20:39 | link | | 1 comments
Tue, 13 Oct 2009
Good Python Habits: vim + pyflakes
Here is a neat little hack for running pyflakes on Python files after you save them. I like using pyflakes for quickly catching dumb errors, but you could easily replace it with a more comprehensive tool like pychecker, or pylint for more strict PEP8 compliance.
All you have to do is throw this in your ~/.vimrc
au BufWritePost *.py !pyflakes %
This has saved me *tons* of time and frustration over the past few weeks, and I have no idea I lived without it.
posted at: 08:32 | link | | 3 comments
Sun, 11 Oct 2009
Fedora 12 filesystem showdown
- Kernel: 2.6.31.1-56.fc12.i686.PAE
- I/O Scheduler: CFQ
- Encryption: LUKS/dm-crypt AES-XTS cipher 512 bit key
- Installation Media: rawhide boot.iso (20091010)
- Benchmark: bonnie++
- Graphing script: flotbonnie.py
- Hardware profile: 2.6.31.1-56.fc12.i686.PAE-hardinfo (note: ancient hardware)
- Raw data: 2.6.31.1-56.fc12.i686.PAE-btrfs, 2.6.31.1-56.fc12.i686.PAE-ext3, 2.6.31.1-56.fc12.i686.PAE-ext4, 2.6.31.1-56.fc12.i686.PAE-xfs
posted at: 18:02 | link | | 4 comments
Tue, 14 Jul 2009
Fedora 9 Updates Metrics
Most updated packages
Packages with the best karma
Most updates per developer
Most tested packages
Top testers
posted at: 12:00 | link | | 8 comments
Fri, 10 Jul 2009
Bodhi EPEL support!
It's been a long time coming, but the Extra Packages for Enterprise Linux (EPEL) project is finally utilizing the Koji build system and the Bodhi updates system.
So I spent the past week hacking on EPEL support in bodhi. This was not a trivial task, and took more work than expected. Overall, it was a very beneficial experience, as I was able to hack in some higher level abstractions and also remove a lot of Fedora-specific assumptions in the code. Most of the changes were what I would normally call "hacks", mainly because I wanted to do it without changing the database schema. However, this gives me a much clearer picture as to what we need from the Bodhi v2.0 model. Anyway, 28 bodhi upgrades later, and everything seems to be working fine.
The inevitable TurboGears2 rewrite/port of Bodhi is a little further down the road. I've already ported the original model from SQLObject to SQLAlchemy, but the templates, controllers, and widgets still need to be ported. If you're interested in helping make bodhi suck less, then please come talk to me :)
Anyway, developers can now submit their EPEL updates here, or by running `make update` in their EL CVS branches. Admins can read the Bodhi SOP to learn how to push updates.
The workflow is far from perfect, but there has been some recent discussions as to how we want EPEL to be treated differently compared to Fedora updates. If you have suggestions or comments, discussions should take place on epel-devel-list.
posted at: 14:06 | link | | 1 comments
Sat, 13 Jun 2009
Fedora Activity Day: Fedora Development Cycle 2009
Earlier this week I ventured to Raleigh for a Fedora Activity Day, where a dozen or so people brainstormed for a few days about ways to improve our development process. I feel that it was a very productive experience, as it allowed everyone to list the things that could use improvements, without getting caught up in the technical or political details. We hashed out a huge list of items in Gobby , prioritized them, and discussed possible solutions for as many as we could. A good number of proposals came out of it:
- Milestone Adjustment Proposal
- No Frozen Rawhide Proposal
- Critical Path Packages Proposal
- Koji Build Autosign Proposal
- israwhidebroken.com Prposal
posted at: 19:24 | link | | 0 comments
Mon, 26 Jan 2009
bodhi updates push process
Bodhi's push process is something that is usually quite opaque to Fedora package maintainers. Once an update request goes into bodhi, the developer sits back and waits for the update to go to where it needs to go. The ball is then in releng's court, as they must sign the packages, and tell bodhi to begin the push. From there, bodhi does it's thing for a while, and then updates magically end up on our users machines. Yay!
Pushing updates used to take the better part of a day, mostly due to dumb code and lots of filesystem churn over NFS. Thankfully, a lot of the code is now much smarter, and people like jkeating and mmcgrath have been helping to address the NFS & infrastructure bottlenecks.
Hopefully I can help shed some light on one of the dark corners of bodhi known as The Masher. Here are some statistics of the last updates push that happened earlier today.
| Initial push request from releng | |
| Check koji tag / bodhi status consistency | 38s |
| Move all of the build tags in Koji | 9m32s |
| Update the comps CVS module | 11s |
| Mash f9-updates-testing | 4m16s |
| Mash f9-updates | 1h3m8s |
| Mash f10-updates-testing | 12m43s |
| Mash f10-updates | 37m51s |
| Set update ids, state modifications, updates-testing digest generation | 1m57s |
| Generate updateinfo.xml | 5m55s |
| Repo sanity checks & symlinking to go live | 1m4s |
| Cache latest repodata, and remove old | 1m14s |
| Wait for updates to hit the master mirror | 1h1s |
| Send update notices, update/close bugs, notify developers/commenters | 11m11s |
| Total | 3h49m42s |
So we've obviously made some great improvements here, and once the signing server is deployed, you can probably expect a much more frequent/consistent flow of updates. However, I definitely think there is still a lot of low-hanging fruit in this process, and many steps can probably be done in parallel. We're going to be adding DeltaRPM generation into the mix in the near future, so I'll give an update a bit later with some details as to how that effects the process.
Anyway... if you know Python, and enjoy optimizing code -- come talk to me :)
posted at: 23:15 | link | | 0 comments
Wed, 31 Dec 2008
liveusb-creator 3.0
I'm pleased to announce version 3.0 of the liveusb-creator. Aside from the usual batch of bug fixes and code improvements, this release also contains a variety of enhancements:
- Fedora 10 support
- Add a touch of Sugar to your USB key with the Sugar Spin 0.82-2!
- Ability to create OLPC-bootable live USB sticks or SD cards with the new `--xo` option
- Translations! (Thanks to the incredible Transifex)
- Greek translation (Nikos Charonitakis)
- Slovak translation (Ondrej Sulek)
- Catalan translation (Xavier Conde)
- French translation (PabloMartin-Gomez)
- Serbian (Milos Komarcevic)
- Chinese (sainrysec)
- Brazilian Portuguese translation (Igor Pires Soares)
- Spanish translation (Domingo Becker)
- Malay translation (Sharuzzaman Ahmat Raslan)
- German Translation (Marcus Nitzschke, Fabian Affolter)
- Polish translation (Piotr Drąg)
- Portuguese translation (Valter Fukuoka)
- Czech translation (Adam Pribyl)
For Fedora 9 and 10 users, you can currently find the liveusb-creator-3.0 in the updates-testing repository. Feedback is appreciated!
There are still many more great features in the pipeline, so stay tuned!
posted at: 17:19 | link | | 2 comments







