Re: multiple releases
| From: | Tomas V.V.Cox | Date: | Wed, 15 Aug 2001 19:48:09 +0000 |
| Subject: | Re: multiple releases | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1499@lists.php.net to get a copy of this message | ||
Stig Sæther Bakken wrote:
>
> ["Tomas V.V.Cox" <cox@idecnet.com>]
> > "Tomas V.V.Cox" wrote:
> > >
> > > Stig Sæther Bakken wrote:
> > > >
> > > > ["Tomas V.V.Cox" <cox@idecnet.com>]
> > > >
> > >In the other hand want to do with the changelog? In the
> > > past I was against of leaving the changelog in the package.xml, but now
> > > guess that it will make things easier for us. What about:
> > >
> > > <Releases>
> > > <Release>
> > > <Version>1.1</Version>
> > > <State>(alpha|beta|devel|stable|cvs)</State>
> > > <Date>2002-1-1</Date>
> > > <Notes>blah</Notes>
> > > </Release>
> > > </Releases>
> > >
> > >
> > > The first release of devel/stable found while parsing will be the values
> > > to fill in develrelease/stablerelease columns of packages table.
> > >
> >
> > Umm, I met me with a problem here. What release should choose the
> > packager? I guess we shouldn't mix the release tag with the chagelog.
> >
> > <Release> //or perhaps <Current>?
> > (version|state|date|notes)
> > </Release>
> > <Changelog>
> > <Release>
> > (version|state|date|notes)
> > </Release>
> > </Changelog>
>
> Hold on, the overlapping functionality monster is finally coming for
> us now.
>
> Pear.php.net's database will store release information etc, and if we
> intend to make the "release upload form" there _the_ place to do
> releases, we need to generate parts of all of the package.xml files
> (maintainers section, release information etc).
No need to do it. Developer uploads the package-> system extracts the
package.xml -> system updates the DB.
>I also don't see a
> point in having a complete release history in the package.xml file,
> there could be a separate history file for that (easily generated).
A really nice thing is to have a "show changelog" button in the web (the
first thing most of us do before upgrade a package is read the
changelog). It's an important part of any software so having it in
package.xml make sense for me. It's a feature that I miss in other
package managment apps.
Having it in an other file means that we have to standarize the format,
make parsers, etc. I have implemented this yet, so it won't give us more
work :-)
> Really, the only information in package.xml that can not be
> generated/updated from the database is the file listing.
>
I know, but the package should cointain all the information also. This
will have the advantage that packages.pear from outside Pear web could
be easily distributed.
Tomas V.V.Cox