Group: Super Administrators
Joined: Sep. 2003
||Posted: June 28 2004,01:35
Okay let's do like this, lets use ibiblio to manage our extensions.
Ibiblio already has anonymous FTP access available. Authors can upload their extensions and they will eventually end up at ibiblio.org/pub/Linux/distributions/damnsmall/.
The challenge is that the package authors will have to use strict formatting of lsm files according to ibiblio's guidelines. They use an auto-selecting robot which uses the lsm file to determine where the files should go.
For the package to end up in the right place using the ibiblio system here is the process:
Lets say you put together a .dsl extension, lets call it whizbang.dsl. The first step is to write an accompanying .lsm and also provide the md5sum for the application.
So you would have:
To get the md5sum for whizbang.dsl into an md5sum file go like this:
md5sum whizbang.dsl > whizbang.md5.txt
Now the .lsm files will have to be made right in order for the ibiblio robot to understand where to put them. Best I can tell the place where the files uploaded to ibiblio are moved to is mostly governed by what is on the second line of the lsm file -- that is where the bot finds the home directory of the application. So, as illogical as it may seem, all extensions' .lsm files must have Damnsmall in it's second line, and not what the actual application is.
Here is an example .lsm for whizbang.dsl...
Description: Whizbang 1.0 specially packaged to work with damnsmall Linux. Whizbang adds wow to your desktop.
Keywords: whizbang, damn small linux
Author: email@example.com (Author Name Here)
Maintainer: firstname.lastname@example.org (Your Name Here)
Copying-policy: GNU General Public License (GPL) 2.0
The next step is then to upload everything to ibiblio, but there is some tricks to this too.
Upload the files here:
You upload anonymously, and blindly -- you have no overwrite ability and you can not see if your files made it up okay. If the files end up corrupted, then you have to wait until the files make it through the cycle and then resubmit them.
whizbang.dsl <- binary
whizbang.lsm <- ascii
whizbang.md5.txt <- ascii
(I know, that's really basic but it is easy to forget)
Once you go through the above and then wait a couple of days for the update cycle to happen if everything goes right it will then end up in the root damnsmall section in ibiblio.
From there, we will need to get the testing on your new extension and if it seems okay we'll add it to the repository list.