Release Script

Michael Jansen kde at michael-jansen.biz
Sat Jul 7 20:22:38 UTC 2012


On Saturday, July 07, 2012 04:04:42 PM Michael Pyne wrote:
> On Saturday, July 07, 2012 18:27:42 Jorge Manuel B. S. Vicetto wrote:
> > >>> I think we did it for a time. At least i remember some " a new
> > >>> snow storm, a new snapshot" commits by dirk. But no idea how
> > >>> they got released/packaged.
> > >> 
> > >> Yes, you did that in the past and we really disliked it.
> > > 
> > > Could you find out how they were named back then for me? Just for
> > > information.
> > > 
> > > Mike
> > 
> > I can't recall the names used back then, but I'm pretty sure they
> > included the svn id in the names and dir inside the tarball.
> > I tried asking in #gentoo-kde but no one got back to me so I can't
> > help with that.
> 
> You can look at ftp://ftp.kde.org/pub/kde/snapshots/ for an example of what
> they used to look like (packagename-svn-$revno.tar.bz2).
> 
> This was made easier by later having symlinks available (packagename-
> svn.tar.bz2) (added by myself :P, see svn revision 458465 of kde-
> common/release/dosnapshot) but I can confirm it was a pain in the ass from a
> scripting perspective.
> 
> Of course for packagers they wouldn't be using Subversion snapshots but
> plain tarball snapshots, although those suffer the same issues. In fact it
> was worse because the directory name that was extracted to was
> unpredictable (e.g. kdeadmin.tar.bz2 extracts to kdeadmin-1233410/).

(Sorry for the other empty mail. Wrong button)

So there is the problem i couldn't see. The directory name it extracts to is 
considered to be the same as the name of the archive. Just extracted our 
kdelibs 4.8.3 package and the dir is kdelibs-4.8.3. Build-tool already solves 
that problem by always using "tar --strip-components=1 --directory=<empty dir 
named like that module>". That's why i failed to see the problem.

Is that naming a must?

I thought about naming the directory in the snapshot packages always like

<module>-<version>/
kdelibs-5.8.5-SNAPSHOT/

or do people want just 

<module>/
kdelibs/

in there?

-- 
Michael Jansen
http://michael-jansen.biz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20120707/57d20502/attachment.html>


More information about the Kde-buildsystem mailing list