Archive for June, 2007

Writing Spells

Friday, June 22nd, 2007

If you are interested in becoming a Source Mage developer you should learn how to write spells. If not an apprentice, you may want to learn how to write your own spells because you couldn’t find a program you need in Source Mage. Here are a couple of ways to get started.
There is a wiki page on sourcemage.org called Spell Writing For Dummies. This is a good way to start to learn the intricacies of spell writing. The good part is you can do this on your local machine without affecting anyone else. So you can make all the mistakes you want while you learn.

Another way to start writing spells is to use a tool that has been created just for that purpose. The tool is called Quill. It has been created and updated by the Source Mage developers to make it easier to write spells. If you want to know when and what things have been added to Quill, here is the location of the changelog. To obtain a better explanation of Quill and all of it’s features, I did a “gaze what quill” in my shell. Here is the result.

quill:
An interactive spell generator and updater script. It’s meant to eventually become the be-all for spell manipulation. It has support for moving the working copy of the spell around, so any lacking features can easily be circumvented manually (the old way).

Current set of features:

  • spell creation with different levels of complexity (see quill -h)
  • full fledged update mode that checks new urls and downloads the sources
  • freshmeat metadata fetching for quicker work
  • perl cpan metadata fetching for quicker work
  • ruby-raa metadata fetching for quicker work
  • copying the spell from and back to the grimoire
  • copying the spell from and back to a local git grimoire (any scm actually)
  • casting of the spell
  • creating a tarball out of it for easy submission
  • SOURCE and SOURCE_URL unexpansion, so later updates will be easy
  • substitution of source urls with known mirror and spell variables
  • dumping of default_build and similar functions for custom spell files
  • sudo support for the copying cases where root privileges are required

Update mode highlights:

  • url checking that also tries substituting the suffixes on failure (bz2<->gz)
  • some multiversion support
  • automatic HISTORY updates
  • simple and automatically style-conformant adding of arbitrary HISTORY entries
  • automatic removal of deprecated variables like UPDATED and MD5
  • automatic removal of old signature files and PATCHLEVEL
  • hash and gpg verification support on spell udpates
  • patchlevel handling

If you want to use Quill, just cast it like you would any other program and your ready to go. Hopefully this will at least point you in the right direction to begin writing your own spells for Source Mage. As always, you can get answers to any questions you might have in the #SourceMage IRC channel on Freenode or on the SM-Discuss mailing list. Now go forth young mage and conjure spells!

New Cauldron Lead

Friday, June 22nd, 2007

Karsten Behrmann has been elected to another term as Cauldron Team Lead. His first term was not the normal full year term. The previous Cauldron Lead stepped down before the term was up and Karsten was voted in to fill the position. With nominations closed today, he was the only nominee.

Congratulations Karsten! Give us a good year!

Xorg-modular Grimoire

Saturday, June 16th, 2007

Grimoire Lead Eric Sandall has sent a message to the SM-Discuss and SM-Users mailing lists yesterday about the Xorg-modular grimoire. There has been some confusion about this grimoire, for those who know about it. Questions like, what is modular for?

From my understanding, this is the way X.Org wants to go, modular. I found a modular proposal on the X.Org Wiki. Here is an exert from the introduction.

“Traditionally, the X Window System source code has been comprised of many different components that are brought together into a single monolithic source tree. We propose to split the tree into logical modules that can be developed, built and maintained separately, but still fit together coherently into the larger source code base as they have in the monolithic tree.”

If you follow the link I provided above for the modular proposal it explains much more.

A grimoire for Xorg-modular has existed for some time now for Source Mage. It is in early development. To advance development on this grimoire, Sandall sent the aforementioned message.

“I have created a master Bug #13845[0] to track getting xorg-modular into test. Please file one bug per spell that is missing any of the following:

* Descriptions in DETAILS
* Dependency descriptions
* Missing dependencies
* Missing check_if_xorg_modular
* dependencies
* Incorrect symlinks (e.g. /etc/X11R6)
* Broken defaults
* Unclear descriptions

And mark them as blocking bug #13845 (be kind to those tracking the bugs and do a search before filing). Do not feel as though you need to *fix* these bugs, just file a bug when you find it so that those with the time (and inclination ;)) can easily track what needs to be done. I hope that we can integrate xorg-modular to test in the next month.”

I hope this will help answer some questions about Xorg-modular. If you have any questions, please feel free to visit the #SourceMage IRC channel at irc.freenode.net or send a message to one of the mailing lists.

Stable Grimoire 0.11 Released

Saturday, June 16th, 2007

A new stable Grimoire was recently released by the Source Mage Development Team. This version is 0.11. Information on how to obtain this Grimoire was posted on the SMGL mailing-list. Grimoire Lead Eric Sandall stated the following about this release.

“Stable grimoire version 0.11 has been released! Users of stable merely need to run ’sorcery system-update’. Spells listed on the release wiki were tested and qualified to have no known defects of “gating” severity at the time of this release.

I would like to thank Juuso Alasuutari, George Sherwood, Thomas Orgis, and Jaka Kranjc for their help on this release.”

Double, double toil and trouble

Thursday, June 14th, 2007

You guessed it, the time has come to vote for Cauldron Team Lead. Cauldron is the installer and ISO generation component of Source Mage. Find out more about the Cauldron Team here. Voting is conducted using the SM-Discuss mailing list.

Here are the general voting rules.

“All nominations, motions, seconds, votes, etc. MUST be GPG-signed by the Developer’s GPG key as recorded at keysigning to be valid. If you’re not listed bug someone to list your key there.

  • Nominations WILL last for one week from the time the call for
  • Nominations MUST be sent to the Mailing List.
  • The nomination MUST be seconded within one week of being made.
  • The nomination MUST be accepted within one week of being made.
  • Accepting nominees SHOULD send a message to the list explaining why they are running for the position and why people might want to elect them.

Voting is being managed by Andraž “ruskie” Levstik this time. He is the Source Mage GNU/Linux Games grimoire guru.

Good luck to the participants!