[Kde-extra-gear] Tarball creation software.
Kleag
kleag at free.fr
Sat Dec 29 12:46:06 CET 2007
Hello,
There is a problem when you enter a non-defaul version number: the new version
number includes the entered newline. The following patch solves the problem.
Can I commit ?
Regards,
Kleag
Index: create_tarball.rb
===================================================================
--- create_tarball.rb (révision 753748)
+++ create_tarball.rb (copie de travail)
@@ -20,7 +20,7 @@
version = `svn ls #{svnbase}/tags/KDE | sort | tail -n1 |
cut -d "/" -f1`.chomp
puts "Which version (default: " + version + ")?"
-version_temp = gets
+version_temp = gets.chomp!
if (version_temp.chomp.length > 0)
version = version_temp
Le jeudi 27 décembre 2007, Tom Albers a écrit :
> Hi,
>
> I just checked[2] in a script which you all can use to create tarballs of
> your extragear applications. It is based on a ruby script of markey, which
> was based on cvs2dist once. Long history ;-)
>
> Anyway, make sure your application is listed in config.ini and run the
> create_tarball.rb script. It will ask you the version number (by default
> the version number of the latest kde-tag) and give the application you want
> a tarball (or multiple or 'all')
>
> It will fetch the source, documentation, po translations and desktop files
> and puts them in a tarball for you.
>
> As I use the script to provide tarballs each release of kde[1], I will make
> sure the script will be ok, but contribute to it please.
>
> Known bugs:
> - translations of the docbooks are not yet completed, will be when someone
> needs it
>
> Toma
> [1] http://techbase.kde.org/index.php?title=Projects/extragearReleases
> [2] http://websvn.kde.org/trunk/playground/utils/createtarball/
--
KsirK - a turn-based strategy game for KDE
http://gna.org/projects/ksirk
KGraphViewer - a GraphViz dot graphs viewer
http://extragear.kde.org/apps/kgraphviewer
More information about the Kde-extra-gear
mailing list