XML ChangeLog Format

Graham Forest <[email protected]> 13 Aug 2003 09:08:31 -0700
Newsgroups gmane.linux.zynot.devel
Message-ID <[email protected]>
--===============082104769469820482==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-vtejUGdlF8yv8FVK7Kef"


--=-vtejUGdlF8yv8FVK7Kef
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Long ago in a galaxy far, far away... Alain Penders wrote the following:

<changelog>
  <file name=3D"gaim-0.57.ebuild">
    <entry date=3D"2002-06-12" time=3D"14:32:45" by=3D"alain">
      New ebuild for gaim 0.57.
    </entry>
    <entry date=3D"2002-06-20" time=3D"10:12:23" by=3D"alain">
      Fixed sed options.
    </entry>
    ...
  </file>
  ...
</changelog>


Not to resurrect an old flame war, but I believe that a repo-side XML
changelog format is necessary. Some "Features" I see are
 * No text editing of XML changelogs - Adequate tools will be supplied.
If you have to edit it by hand, the tool isn't adequate, and needs
updating.
 * XML changelogs exist in repositories only, and possibly are made
available to porteus. Any changelog presented to a user should be in
human-readable (which XML is not) plaintext format.

Nall has suggested having a field for both bugs and security advisories
fixed, which I agree with. This, going off Alain's original idea would
look something like this:

<changelog>
  <file name=3D"gaim-0.57.ebuild">
    <entry date=3D"2002-06-12" time=3D"14:32:45" by=3D"alain" bugs=3D"10254
1238" sas=3D"I-don't-know-the-format">
      New ebuild for gaim 0.57.
    </entry>
    <entry date=3D"2002-06-20" time=3D"10:12:23" by=3D"alain" bugs=3D"1242"=
>
      Fixed sed options.
    </entry>
    ...
  </file>
  ...
</changelog>


So I'd enjoy it thoroughly if someone(s) well versed in XML did the
following things:

* Object to anything that doesn't make sense
* Correct anything stupid I've overlooked
* Ponder timezone issues, then make them go away
* Create a DTD

Once (if) this is done, I can spec out and create a tool for repoteus to
manage them fairly quickly.

Thanks,
Graham

--=-vtejUGdlF8yv8FVK7Kef
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA/OmJyAuxgtoh9rPYRAqxyAJwPN3Hpa0u+zK0oRr1yKWjS8okmXACg7XXp
it0lr3dODc79ZRwKDnfy5dw=
=SXjR
-----END PGP SIGNATURE-----

--=-vtejUGdlF8yv8FVK7Kef--


--===============082104769469820482==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Zynot-dev mailing list
[email protected]
http://lists.zynot.org/mailman/listinfo/zynot-dev

--===============082104769469820482==--