package XML schema description v0.1

Jesse Tie Ten Quee highos at highos.com
Thu Jul 5 10:38:31 PDT 2001


Yo,

On Tue, Jul 03, 2001 at 06:00:43AM -0700, Chris wrote:
> I thought you'd get a kick out of this and be able to contribute some ideas, so I'm sending along the beginnings of an XML schema for ALFS package description.  It's not going to be complete until a system schema gets finished, but oh well.  (Heck, I haven't even validated it yet.)

Nice.

> <?xml version="1.0"?>
> <package xmlns="http://alfs.linuxfromscratch.org/XML/XSD/package0.1">
> 	<meta>
> 		<author email="jcore at sdf.lonestar.org">Chris Forno</author>
> 		<date>2001-07-03</date>
> 	</meta>
> 	<brief>
> 		<name>bogus</name>
> 		<version>0.1.0</version>
> 		<date>2001-06-30</date>
> 		<description>a completely bogus set of programs</description>
> 		<dependencies>postgresql crypt</dependencies>
> 		<naturalLanguages>en</naturalLanguages>
> 		<programLanguages>C tcl tk</programLanguages>
> 		<locations archiver="tar gzip" size="117326" md5="99108ab5a6007164a910626bbcc5888f">ftp://ftp.bogusoft.com/pub/bogus/bogus-0.1.0.tar.gz ftp://ftp.mirrors.org/pub/bogusoft.com/bogus/bogus-0.1.0.tar.gz http://www.bogusoft.com/httpdownload/bogus-0.1.0.tar.gz</locations>
> 		<locations archiver="tar bzip2" size="102485">ftp://packages.linuxfromscratch.org/alfs/packages/common-packages/bogus-0.1.0.tar.bz2</locations>
> 	</brief>
> 	<build>
> 		<unpack/>
> 		<configure targetDir="bogus-build"/>
> 		<make/>
> 	</build>
> 	<install>
> 		<makeInstall/>
> 		<bsdInstall mode="0644" file="examples/bogus.conf" destination="/etc"/>
> 	</install>
> </package>

ALot of the syntax (at least the stuff we don't allready use, in one
fashion or another) seems to be "meta-data", eg extra information about
the package, something i would consider (apart from the package name and
version number) to be part of PM (package management)...

Which, is a nice idea, but i'll be slightly ignoring (don't take this
the wrong way, i'm just focusing on the more important pressing issues,
eg, getting an actually new working implemenation/sample syntax ;) and
keep up the work, if you keep updating it.. then most likelly we will
end up using it ;)

-- 
Jesse Tie Ten Quee - highos at highos dot com
-- 
Unsubscribe: send email to alfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message



More information about the alfs-discuss mailing list