List Info

Thread: Tarball creation software.




Tarball creation software.
country flaguser name
Netherlands
2007-12-27 16:01:10
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=Projec
ts/extragearReleases
[2] http://websvn.kde.org/trunk/playground/utils/createta
rball/
_______________________________________________
Kde-extra-gear mailing list
Kde-extra-gearkde.org

https://mail.kde.org/mailman/listinfo/kde-extra-gear

Re: Tarball creation software.
country flaguser name
United States
2007-12-27 16:11:24
On Thursday 27 December 2007 17:01, Tom Albers wrote:
> 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=Projec
ts/extragearReleases
> [2] http://websvn.kde.org/trunk/playground/utils/createta
rball/
Looks good.

One problem: you hardcoded your svn account into the
script.
Also, your call to /bin/rm has argument issues.

- Charles
_______________________________________________
Kde-extra-gear mailing list
Kde-extra-gearkde.org

https://mail.kde.org/mailman/listinfo/kde-extra-gear

Re: Tarball creation software.
country flaguser name
France
2007-12-29 05:46:06
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 #/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=Projec
ts/extragearReleases
> [2] http://websvn.kde.org/trunk/playground/utils/createta
rball/



-- 
KsirK - a turn-based strategy game for KDE
http://gna.org/projects
/ksirk

KGraphViewer - a GraphViz dot graphs viewer
http://ext
ragear.kde.org/apps/kgraphviewer
_______________________________________________
Kde-extra-gear mailing list
Kde-extra-gearkde.org

https://mail.kde.org/mailman/listinfo/kde-extra-gear
Re: Tarball creation software.
country flaguser name
Italy
2007-12-29 06:37:13
sabato 29 dicembre 2007, Kleag ha scritto:
> 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 #/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

Can you test with the new one I've just commit? It uses -v
version now,
thanks
	Angelo

_______________________________________________
Kde-extra-gear mailing list
Kde-extra-gearkde.org

https://mail.kde.org/mailman/listinfo/kde-extra-gear

Re: Tarball creation software.
country flaguser name
France
2007-12-29 13:12:31
Le samedi 29 décembre 2007, Angelo Naselli a écrit :
> sabato 29 dicembre 2007, Kleag ha scritto:
> Can you test with the new one I've just commit? It uses
-v version now,
> thanks
> 	Angelo
Exact. It's ok now.

Kleag

> > 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 #/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
>



-- 
KsirK - a turn-based strategy game for KDE
http://gna.org/projects
/ksirk

KGraphViewer - a GraphViz dot graphs viewer
http://ext
ragear.kde.org/apps/kgraphviewer
_______________________________________________
Kde-extra-gear mailing list
Kde-extra-gearkde.org

https://mail.kde.org/mailman/listinfo/kde-extra-gear
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )