importsfromgooglecode / pychess

Automatically exported from code.google.com/p/pychess
GNU General Public License v3.0
0 stars 0 forks source link

My usefull utilities to download #502

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
have written two bash scripts that can make your life easier.

===================
Parental control:
===================
My child is in love in chess game. But he played chess too much, for hours
and hours. Now I have decided to omit the time child can play to two hours
per day. (It can be set to some other limits, just change variables).
Program is written in bash shell and tested on Ubuntu 9.10 and Xubuntu
9.04, but it should also work on other distributions. Program must be
started when computer is turned on, so add script to start-up process like
System | Preferences | Startup Applications or add to some other computer
start-up procedure.

===================
Translation helper:
===================
When ever new version of PyChess comes to live, I translate new strings.
Procedure must be run through many steps and I just forget them, so writing
program, that makes tasks automatically executed, can be helpful.
Note: this program is written for helping to translate SVN versions only
(directories in installed version from deb/rpm package are different and
program will not work).

I have tried my best to make this two program as bug free as possible, but
I have to put disclaimer here: Programs are published "AS IS" WITHOUT
WARRANTY OF ANY KIND.

Please write feedback if you like this two programs and if someone else has
developed any other utility I would love to see them. You know, just to
make people life easier. Enjoy.
Regards

Original issue reported on code.google.com by igo...@gmail.com on 7 Nov 2009 at 12:02

Attachments:

GoogleCodeExporter commented 9 years ago
To untar files use: tar zxvf tar_file_name.tar

Original comment by igo...@gmail.com on 7 Nov 2009 at 12:11

GoogleCodeExporter commented 9 years ago
Maybe you should uploade the files to pastebin. Then you can create a wiki page 
(in
the top of this page) rather than an issue report.

Your translation tool looks good as well. Maybe we should add it to trunk.

Original comment by lobais on 11 Nov 2009 at 8:05

GoogleCodeExporter commented 9 years ago
lobais,
I just didn't know where to put this code, so I just uploaded to new bug report.

I suggest to add this code to trunk to new directory like "utilities" or
"utilities-tools" or something like that. This is probably the only way people 
will
notice that there is some helping-tool available. If possible assign me write
permissions to that directory, so I can upload code to trunk without yours 
additional
work.

I intent (I just have to have some spare time to do this) to add new features 
to both
of this scripts (maybe I will write some other script if I will have need for or
someone else requires functionality).

New features planed:
- Parental Control: I will add additional limitation 1 hour in the morning and 
1 hour
afternoon. Now there is just limitation 2 hours per day.
- Translation helper: I will add additional checking if there is a new PyChess
version in SVN and then first download new code and then execute all remaining 
code.
This weekend I have learned a lot about Subversion, so I know how to add this
additional svn update and checking.

Maybe there would be the best way to add me to update trunk code (I only need 
to have
write access to this "utilities" folder).

Most probably I will frequently add new code, when ever I discover new bug or 
new
features.

Original comment by igo...@gmail.com on 12 Nov 2009 at 9:35

GoogleCodeExporter commented 9 years ago
Svn updating in the translation helper sounds good. Maybe you can even expand 
it to a
realease helper, so it also can pack and upload to code.google.com and 
gnomefiles :)

We can create a trunk folder, but I still think a wikipage would be good as 
well.

Original comment by lobais on 15 Nov 2009 at 6:59

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
"Maybe you can even expand it to a realease helper, so it also can pack and 
upload to
code.google.com and gnomefiles" - I don't understand what you think about this?

What I would like to do about "translation helper" is the following:
1. check if new SVN revision is available
2. if step 1 is yes, then download new code, like svn update
3. automatically generate .po files from templete (DONE)
4. open translation program like Lokalize (DONE)
5. when translation is finished - Lokalize program closed then automatically 
create
.mo files and copy both .po and .mo files to appropriate location (DONE)
6. I would like to create upload of new translation version to svn if write 
will be
possible.

Original comment by igo...@gmail.com on 16 Nov 2009 at 4:39

GoogleCodeExporter commented 9 years ago
New version of "translation helper" uploaded.

Original comment by igo...@gmail.com on 16 Nov 2009 at 5:39

Attachments: