Thoughts on cloud, observability, appdev, architecture, and open source software, but not always in that order...
Monday, August 25, 2008
ABout Time Linux blog opened
Tuesday, May 20, 2008
Development behind a proxy
Subversion:
The problem here is that we need to checkout code and commit our changes to the repository. Normal anonymous checkouts are taken as so:
$ svn co http://svn2.assembla.com/svn/abtlinux # To do this over a proxy you need to either set the # global subversion server configuration to include a # proxy machine address and a port specification, or # you can put this in your users home directory # configuration. Bother are shown here. /etc/subversion/servers ~/.subversion/servers # Put this in the servers file in the global section. [global] http-proxy-host = your-proxy-hostname http-proxy-port = 8081 # A commit of code changes on this project as checked # out above encounters the following error. $ svn commit -m "Your commit message" svn: Commit failed (details follow): svn: MKACTIVITY of '/svn/abtlinux/!svn/act/e0331bc3-e9e7-': 400 Bad Request # To commit your changes you need to be on the https # version of the code repository, so you can migrate # your existing checkout as follows. $ svn switch --relocate http://svn2.assembla.com/svn/abtlinux https://svn2.assembla.com/svn/abtlinux
Wget:
Finally, I ran into some wget problems when trying to download package sources. The only way to get wget to run is to set an environment variable to point to your http proxy.
$ export http_proxy="proxy-servername:8081"
Monday, April 28, 2008
Trac for AbTLinux has been recovered
Until repairs can be made I have dissected the machine and was able to recover the entire Trac database. I have found new hosting, uploaded the old database, and the work put in to setup our development plan for 2008 was recovered.
Check it out at the AbTLinux Trac site.
Thursday, April 3, 2008
AbTLinux Trac site down
Either way, I have removed the site link and will put it up after low (thanks!) gets a chance to setup a new hosting location. He is a handy guy to have around and I am sure we will be up and running again soon.
And I just setup our development plan for 2008...
Sunday, March 30, 2008
AbTLinux - development plans for 2008
This is more to facilitate progress, something new every month, than to put pressure on myself. Again, the only developer so far is me!
I have on the schedule for the next release v0.3 two items:
- provide for default configuration overriding
- implement 10 new packages from our supported packages list
Monday, January 28, 2008
AbTLinux package manager tagged v0.2
I feel this is good enough to put out a tag, so today I give you version 0.2!
You can find it over in subversion at our site: http://www.abtlinux.org or just run:
$ svn co https://abtlinux.svn.sourceforge.net/svnroot/abtlinux/src/tags/abt-0.2
Feel free to provide input or comments on irc.freenode.net at #abtlinux.
Ruby system function help and hints
First, you can use the system(command) function which will execute your command in a subprocess and report a boolean success value. It should be noted that stdout will be available on the screen/console while the given command is running and you can redirect with the standard Linux commands (such as tee, |, >, >>, etc.).
The second option is to use what are called backticks, which allows you to capture the commands output into a variable. Note that you will no longer see stdout on the screen/console, but you will receive stderr on the screen/console. Usage is like this:
It matters not whether you use the first or the second option, they both provide a means to check their resulting exit codes. I use the standard Bash variable $? like this:
Monday, December 31, 2007
Ruby include path
Use of the $: global variable:
- $:.push("/whatever")
- $LOAD_PATH.unshift '/whatever'
Thursday, December 27, 2007
AbTLinux - more coding progress on the package manager
My new job has settled down a bit so that I have been able to make some time for coding on AbTLinux. This has led to the completion of features and reduced our unit test failure count from 18 down to 12. Here is a summary of the updates:
- refactored reinstalling a package to allow for fully automated runs
- implemented show-frozen
- implemented freeze
- added /etc/abt configuration directories setup
- refactored update package and package tree implementation
- implemented retrieve package tree (part of package-repo add)
- refactored some logging to make use of ruby Logger
- implemented verify-integrity
- fixes to the pruge-src function
- implemented show-files
Thursday, August 2, 2007
AbTLinux - coding month reduces failing unit tests to 18
This coding push involved some major refactoring, included a migration of the file names, method names in all classes, and general unit testing cleanup. This all involved turning my 'java-ish' code into a more 'ruby-ish' look, something pointed out to me by some of you. I checked each of these changes with the fine people that hang out on irc at #ruby-lang. Outside of this work, here is a list of issues that have been implemented:
- able to purge sources for packages not installed.
- a simple single word search of package descriptions available.
- the verification of installed package files (are they installed) implemented.
- able to view install, build, integrity, configure logs from an installed package.
- able to generate a list of installed packages.
- source packages are validated for sha1, currently not allowing failing checks to install.
- implemented reinstalling of a package.
- implemented removal of an installed package.
- can remove build directory (unpacked source tree) or not, configurable in abtconfig.rb.
- added ipc package source tarball to packages directory, used for copy to correct location instead of having to download sources. This speeds up unit testing.
- diverse small bugs found along the way.
Friday, June 15, 2007
AbTLinux - caching package installs now!
I choose caching a package, which is in the AbTLogManager and runs now after a successful package installation. You can see the coding progress on our Trac (if you get some Trac error message, just hit refresh until it goes away).
Only 26 failing unit tests to go!
Wednesday, June 13, 2007
Mocking up packages in AbTLinux with FlexMock
I have been looking for something simple that would allow objects, in my case software packages, to be easily tested without all the overhead of actually running through downloads, configuring, building and installing a real package. The obvious solution is to mock up the package object and test that. FlexMock provides a rather extensive tool set for mocking up my package objects.
As of yet I have not exactly decided where and how to integrate this, but I will. For now I have included the library into the code base and will get back to this soon.
Tuesday, June 12, 2007
AbTLinux wiki setup on Sourceforge
I have migrated all old pages over to the new location, set security to prevent spamming and encourage both developers and eventual interested persons to take a look.
To edit the wiki you need to be a project member, which entails getting a sourceforge user account and then requesting addition to the About Time Linux project.
The original announcement for those interested:
SourceForge, Inc. (NASDAQ: LNUX) today said it has teamed-up with Wikispaces to integrate wikis directly into SourceForge.net, the world's largest repository of open source software. The addition of wiki functionality into SourceForge.net gives the community a simpler and more efficient tool to mass-author the documentation and communication necessary to support its open source projects.
"Open source succeeds because of community," said Michael Rudolph, vice president and general manager, SourceForge.net. "Adding the collaborative power of wikis into what is already a vibrant community will create a better way for the members of SourceForge.net to maintain their projects. Wikispaces gives us the ability to support the high volume of projects on the site and bring greater value to the open source community." [...read more...]
Sunday, March 4, 2007
AbTLinux progress, install a package is working!
There is still much to do, but the basic framework is starting to appear. As things are getting more stable in my world I am trying to commit at least a few hours in the evenings each week to coding. Watch the progress in the AbTLinux Trac.
Sunday, February 25, 2007
Running Ruby unit tests in Eclipse (AbTLinux project)
The solution was rather simple, just start your eclipse with sudo and the results here are that you see the unit tests executing in the eclipse console. Some are failing as we are in the middle of implementation:
Saturday, November 18, 2006
AbTLinux package manager progress
- abt -h | –help
- abt [ -n | news ]
- abt show-details fortune
- abt show-journal
- abt [ -d | download ] fortune
- abt [ -i | install ] fortune
I have been digging into Ruby as a programming language on the way and received my Ruby book (The Ruby Way, second edition, by Hal Fulton) order this weekend. That has sped up my work considerably! I am expecting to make some good progress over the coming month, so stay tuned! ;-)
Friday, May 19, 2006
Started in on AbTLinux design!
I have gotten some time to work on the AbTLinux design, putting together via Ruby’s rdoc a simple overview of the classes to be used based on our requirements document. It has taken a bit to get the hang of Ruby’s rcod, finding the IDE I might be using (still a toss up between vim and FreeRIDE), template the doc design I like and hammering out the classes in a form that will generate the API docs.
The key here is to stay away from actual coding, so I am just outlining the classes at this point. Based on our requirements I have a pretty good overview and it should slowly start to emerge at Abt API link on the AbTLinux site. Very curious as to how this will end up with my knowledge of Ruby being very limited. It is refreshing to design without being influenced by my knowledge of the language, but I am wondering what this will lead to when I apply OO design elements that are not available in Ruby (for example, it is missing multiple inheritance).
Sunday, March 5, 2006
Infrastructure supported by Sourceforge.net!
See our news on the AbTLinux site for more information.
Saturday, December 31, 2005
A look back at AbTLinux in 2005
I have also setup a wiki environment which low has been very busy filling with development and design documents. This is the Wikka product, a very nice wiki that provides user controlled ACL's which is working very nice for us at http://wiki.abtlinux.org.
I have also added recently the Trac projects tool for bug tracking, reporting, source repository browsing and roadmapping. See http://trac.abtlinux.org.
Furthermore, we have just finished a cycle of the depEngine requirements which produced (through six teams of students at the Radboud University Nijmegen) six documents I am currently reviewing. One will be selected as the winner and implemented!
Finally, the abt package manager has almost reached its 0.6 version which includes all use cases and a start is made on the scenarios. Please see our roadmap for the project planning and release cycles.
For 2006 I hope to see our first implementation of the abt package manager and maybe even our first iso release. I want to wish all those that have offered input, worked on parts of the project or are just following the developments as they happen a Happy New Year!
See you all in 2006!
Thursday, December 22, 2005
Closing down the for 2005!
We close down the university after tomorrow but I am on my daddy day so will not be there. A week off to enjoy the Christmas holidays and New Years, lovely! I do have a set of six AbTLinux depEngine requirements documents to read and evaluate for a course given this last semester, am looking forward to that.
Only plans I have the coming week are to finish up the loft I built this last spring. Need to close out the wall and insulate it up to the ceiling. Furthermore, I would like to fill up the gaps between the sheetrock with filler so that it is ready to hang/paint or whatever it is we decide to do to the walls.
From my family to yours, wishing you a very Merry Christmas and Happy New Year for 2006!