Summary Implementation of the outstanding mirror split proposal for the Debian archive to allow new architectures, particularly amd64, to be included in the archive. Benefit In spite (or perhaps because) of its simplicity, this project has been languishing for over two years, and is not currently being worked on; so at present it’s not even possible to estimate when it would otherwise be completed. It is most notably preventing amd64 from being integrated into the normal Debian development environment, causing derived distributions to maintain amd64 specific patches themselves. In the longer term, reducing the constraints imposed on the archive size may allow the introduction of additional suites, such as backports or volatile, as well as additional architectures; though significant further discussion on this would be needed. Background Since at least mid-2003 the Debian archive has been closed to new architectures due to the already large amount of space and bandwidth required to become a Debian mirror. At present, the archive uses some 158GiB of disk, and about 1GiB per day; additional architectures are expected to require approximately an additional 10GiB each, and there are likely around half a dozen architectures that will be considered for addition once the moratorium on new architectures is rescinded (incl amd64, armeb, sh variants, kfreebsd and possibly partial architectures for arch variants such as s390x and ppc64). The primary work needed to fix this involves:In theory, a couple of days for each of those sound plausible, so making that twelve days actual work (with a couple of week’s delay in between for mirrors to have some time to adapt to the new network). On the downside, twelve days at a day a week is over three months of real time, not counting the possibility of doing other things with the one day a week, or Christmas, or the aforementioned delay for mirrors. Yick. So much for planning. Preparation So the next “p” is preparation. In this case that’s finally getting around to fix dak CVS, which has been slightly broken since May. The extent of the actual breakage was just the loss of the ChangeLog history, aiui (or at least, that was the unrecovered breakage), but the result of that was months of uncommitted changes on both ftp-master and security (and reportedly from Ubuntu’s dak installation too). The changelog for the first set of commits (not counting buildd changes from ftp-master, security changes or Ubuntu changes that haven’t made it to ftp-master) looks like:Actual work I expect there will be six phases to the project:
- ensuring the mirror network operates correctly when a majority of mirrors are partial; this reduces the impact on bandwidth and storage capacity
- optimising portions of the archive maintenance software, particularly apt-ftparchive; this reduces the load on the archive server
- providing appropriate guidelines on the qualification criteria new architectures need to meet in order to be added to the archive; this provides a limit on future increases, allowing growth to be appropriately controlled
- cleanup of the archive as it stands, and establishing a clear categorisation of its contents to define what a partial mirror by architecture or suite should officially contain
- providing appropriate scripts to ensure mirror sites can easily comply with the previously defined expectations for partial mirroring
- devise an appropriate structure for the new mirror network, that can easily incorporate existing mirrors, and coexist with the existing structure
- provide information on the new structure to both mirror admins and users; assist with the transition, and resolve any problems found
- ensure the archive management software is appropriately optimised, and that archive inclusion criteria have been debated and established
- add new ports that have passed the qualification requirements to the archive
* tiffani: new script to do patches to Packages, Sources and Contents
files for quicker downloads.
* ziyi: update to authenticate tiffani generated files
* dak: new script to provide a single binary with less arbitrary names
for access to dak functionality.
* cindy: script implemented
* saffron: cope with suites that don't have a Priority specified
* heidi: use get_suite_id()
* denise: don't hardcode stable and unstable, or limit udebs to unstable
* denise: remove override munging for testing (now done by cindy)
* helena: expanded help, added new, sort and age options, and fancy headers
* jennifer: require description, add a reject for missing dsc file
* jennifer: change lock file
* kelly: propogation support
* lisa: honour accepted lock, use mtime not ctime, add override type_id
* madison: don't say "dep-retry"
* melanie: bug fix in output (missing %)
* natalie: cope with maintainer_override == None; add type_id for overrides
* nina: use mtime, not ctime
* katie.py: propogation bug fixes
* logging.py: add debugging support, use as the logfile separator
* katie.conf: updated signing key (4F368D5D)
* katie.conf: changed lockfile to dinstall.lock
* katie.conf: added Lisa::AcceptedLockFile, Dir::Lock
* katie.conf: added tiffani, cindy support
* katie.conf: updated to match 3.0r6 release
* katie.conf: updated to match sarge's release
* apt.conf: update for sarge's release
* apt.conf.stable: update for sarge's release
* apt.conf: bump daily max Contents change to 25MB from 12MB
* cron.daily: add accepted lock and invoke cindy
* cron.daily: add daily.lock
* cron.daily: invoke tiffani
* cron.daily: rebuild accepted buildd stuff
* cron.daily: save rene-daily output on the web site
* cron.daily: disable billie
* cron.daily: add stats pr0n
* cron.hourly: invoke helena
* pseudo-packages.maintainers,.descriptions: miscellaneous updates
* vars: add lockdir, add etch to copyoverrides
* Makefile: add -Ipostgresql/server to CXXFLAGS
* docs/: added README.quotes
* docs/: added manpages for alicia, catherine, charisma, cindy, heidi,
julia, katie, kelly, lisa, madison, melanie, natalie, rhona.
* TODO: correct spelling of "conflicts"
Ugh. Still, that’s enough to start work.
And the final “P”? Come on, be honest with yourself, you know what it’s
going to be.
Procrastination
Okay, that’s not entirely fair; the irrelevant bit of work was
actually on to TODO list before SCC (mostly because it was something
that I could get done reasonably quickly) and in fact was this line of
the above changelog:
* dak: new script to provide a single binary with less arbitrary names
for access to dak functionality.
All the various model/actress names have been getting more than
a little confusing recently, with almost forty in the dak suite, and
another two dozen or so in use elsewhere – and then there’s the fact
that the whole hot babes thing is both a bit offensive, and
getting a bit old. OTOH, you need something to rename them to.
We ended up deciding on the “version control solution” and introducing a
“dak” command that’d launch all the different little bits of functionality
depending on arguments, in the same way cvs, svn, tla, bzr, darcs etc do.
The implementation’s kinda neat: we have a list of commands (like
“ls”) and their description (“Show which suites packages are in”),
along with the python module and function they’re in (“madison”,
“main()”). That let’s us not actually have to change any of the other
scripts immediately, and lets “dak ls foo” work the same as “madison
foo”. It also means that down the track we don’t need to have separate
modules for each subcommand, and that we can rename modules and functions
without affecting the user interface.
Of course it also means that all the internal scripts haven’t changed
to use the new names yet, leaving the new interface a bit underused,
but hey, “dak ls” at least manages to be one character shorter than
“madison”, so that’s a win!
To be continued…
if s[:1] == c: is slightly faster than if s and s[0] == c:. And if v: is slightly faster than if v is not None: if v could be 0, “”, or (), the false immutables (this one surprised me less after some thought, but it’s still easy to forget when is is otherwise faster).
Arrrgggghhhhh!!!! OK maybe lua is not love. I just realised that Lua has no concept of directory handling (opendir, readdir, etc). Indeed it isn’t possible to tell whether something is a directory or a file. So I added some more primitives to the Lua socket extension library. Most usefully a readdir call. This means the sample webserver can now serve directory contents if index.html isn’t found. It can also now fall back to serving a “default virtual host” if the requested one doesn’t exist. The webserver code is now very stable and complete. The only omission is CGI handling, but I’m not going to bother unless prompted strongly. I’ve added some simple examples to the documentation and I think things are looking good. The Debian package has been downloaded a few times, but no real feedback - feel free to share, don’t be shy!
I’ve been keeping an online journal over at LiveJournal since 23rd February 2002. To support them I actually bought a “Permanent Account” a while back, an example of putting money behind companies and/or services which are useful - even when it isn’t required. After getting into the swing of things there I started the blog which is used upon Planet Debian and have also been enjoying that. Livejournal is a nice service, and they have great software powering the site. The Livejournal code is available and it is reasonably simple to install. (I’ve setup a few installations of the codebase, and played with them. I admit I’ve never run it in anger). Obviously it is completely overkill to run your own installation of Livejournal - unless, perhaps, you’re a school or a large company. So for my personal blog I use Wordpress. I don’t particularly enjoy using wordpress. To be honest I need only four features/abilities of weblog software:PS - The Sisters of Mercy rock.Everything else is utterly overkill. The downside of using Wordpress is threefold:
- The ability to create posts.
- The ability for users to be able to leave comments upon entries.
- The ability to search previous entries.
- The ability to export the blog entries as a feed.
I’ve been telling mysefl for the past few months:
- Because it is popular there are multiple bots crawling the web and leaving spammy comments.
- Because it uses some funky addressing system any replacement would leave lots of broken links.
- It has historically had a couple of security issues.
So .. HTML::Template & CGI::Application will at some point come to the rescue. I’m just not sure when. I guess this means I’ve not yet written a bloggin system….
- This software has got to go.
- I’ll wait until there is another security hole discovered.
I want to only cover the basics:
- Multiple users.
- Multiple catagories/tags.
- Comments with a sane anti-spam system.

It seems to me the argument that linking a GPL application to a CDDL library and asserting that that somehow makes the library a derivative work of the application is, to say the least, a stretch&emdash;not to mention the fact that we're talking about libc here, a library with a highly standard interface that's been implemented any number of times and, heck, that's even older than the GPL itself. It's interpretations like this, folks, that give the GPL its reputation of being viral, and I know how much Richard Stallman hates that word.The core misunderstanding there is that the GPL somehow claims that libraries linked into a GPL-licenced binary are derived works. Nothing in the text of the GPL states that, and a quick scan of the GPL FAQ doesn't provide any opinions of that nature, either. What the GPL does state are a few conditions which you have to abide by in order to be given permission by the copyright holder to exercise rights ordinarily held exclusively by said copyright holder. One of those is that, in order to be given permission to distribute a compiled binary, you must be able to provide source code for the binary itself, as well as all interface definition files, build scripts, and modules contained in the binary, and that all of this material must be provided under terms no more restrictive than those of the GPL. The GPL isn't trying to lay a "derived work" claim on any of those other parts. It's just saying to you, as someone who wants to distribute a binary, "here are some other things that must be OK if you want to do this". A similar clause exists with regards to patents and court judgments (section 7, for those of you playing along at home). This doesn't mean that the GPL is attempting to claim that the patents or court judgments are derived works. A licence could also say "you must delete all copies of any Microsoft product from your hard drive before duplicating this software", but that wouldn't mean that the licence is attempting to claim that all Microsoft products are derived works of the licenced software! As anyone who's looked at a typical proprietary software EULA probably already knows, a software licence can claim pretty much anything (and, apparently, thanks to the DMCA, in the US they can make it stick). The licence doesn't make the claim on the basis of derivation, it makes it because that's just what the licence claims. The GPL is no different in that respect. If you can't fulfill the licence conditions (either because you don't want to, or because -- as in the case of the clause under discussion -- the module you are including in your binary can't be licenced under terms equivalent to the GPL) then you can't do whatever it is that the licence would otherwise allow you to do. To be fair to Ian, some of the comments he made to his blog post indicate that he does understand the distinction between a claim due to derivation and one due to a simple licence term, but I thought it worth making the point crystal clear to everyone out there in the blogsphere, because it's a very common misunderstanding, and I'd hate for it to spread any further than it has already.
Cleaning my apartment is a bit like going on an archeological dig: A dried spaghetti noodle... when did I have spaghetti for dinner? Oh, yeah, three weeks ago.(Tall Dark and Mysterious: See You in Ten Days)
Next.