Commit Graph

134 Commits

Author SHA1 Message Date
Valentin Lorentz
77e6de6bba Fix errors detected by PyLint. 2014-03-05 14:14:36 +01:00
Valentin Lorentz
7636039ada Fix compatibility of check_trans.py with Python 3. 2014-01-26 20:45:28 +01:00
Valentin Lorentz
9f96f4f4c9 Remove debug output in check_trans.py. 2014-01-26 20:45:27 +01:00
Valentin Lorentz
01c34d806d Improve the check_trans script by using Supybot's .po(t) parser.
The previous method matched line by line, which broke for msgmerge alternative (poedit\!\!\!) that changes line breaks.
2014-01-26 20:45:27 +01:00
Valentin Lorentz
40675ffdfa Merge remote-tracking branch 'supybot/master' into testing
Conflicts:
	plugins/Admin/plugin.py
	plugins/BadWords/config.py
	plugins/Filter/plugin.py
	plugins/Google/plugin.py
	plugins/Math/plugin.py
	plugins/Misc/plugin.py
	plugins/Note/plugin.py
	plugins/RSS/plugin.py
	plugins/Seen/test.py
	plugins/ShrinkUrl/config.py
	plugins/ShrinkUrl/plugin.py
	plugins/ShrinkUrl/test.py
	plugins/Status/plugin.py
	plugins/String/config.py
	plugins/String/plugin.py
	plugins/Time/plugin.py
	plugins/Todo/plugin.py
	plugins/Web/plugin.py
	plugins/__init__.py
	scripts/supybot-botchk
	setup.py
	src/__init__.py
	src/callbacks.py
	src/commands.py
	src/conf.py
	src/drivers/Socket.py
	src/ircdb.py
	src/irclib.py
	src/ircutils.py
	src/questions.py
	src/registry.py
	src/schedule.py
	src/test.py
	src/utils/file.py
	src/utils/gen.py
	src/utils/net.py
	src/utils/web.py
	src/world.py
2013-08-24 11:28:29 +02:00
Valentin Lorentz
63a082ff34 Debug: Fix @exn. Closes GH-492. 2013-08-04 08:52:50 +02:00
Valentin Lorentz
ce14329731 Debug: Fix @progstats. Closes GH-491. 2013-08-03 15:24:06 +02:00
Valentin Lorentz
fecb71a7e5 Add script sandbox/update_plugins_messagespot.py. 2013-07-27 00:51:31 +02:00
Valentin Lorentz
70a169ab6f Debug: Fix Python 3 compatibility. 2013-05-09 10:16:51 +02:00
Valentin Lorentz
5c118ded7c sandbox: Update check_trans.py to handle core locales. 2013-04-21 15:57:17 +02:00
Valentin Lorentz
8a9c44bc89 check_trans.py: Use absolute path in order to print it correctly (otherwise it wouldn't print the plugin name). 2013-03-02 14:26:31 +01:00
Valentin Lorentz
de0087c8c2 Update sandbox/check_trans.py and run automatically run pygettext. 2013-02-08 17:40:57 +00:00
Valentin Lorentz
f42ac86d91 Make the setup.py runnable by Python 3 and run 2to3 automatically. 2013-01-30 20:10:48 +01:00
Valentin Lorentz
755a1c9491 Merge branch 'py3k-backport' into testing
Conflicts:
	sandbox/run_2to3.sh
2013-01-06 13:41:13 +01:00
Valentin Lorentz
cca03ba06b Copy docs to py3k/ too. 2013-01-06 13:39:56 +01:00
Valentin Lorentz
6cbc6a14dd Rename all 'locale' directories to 'locales'.
Firstly, these directories contains more than one locale. Secondly, it conflicts with the 'locale' python module.
2012-12-26 15:43:35 +01:00
Valentin Lorentz
0418a44d2a Apply Andy's second patch for Freebsd. Closes GH-436. 2012-12-22 00:10:59 +00:00
Andy Pilate
4add76c803 Fix issue on FreeBSD.
The -R at the end of the command line is not working on FreeBSD.
2012-12-22 00:48:58 +01:00
Valentin Lorentz
9b8397193b Admin: Add clearq command.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-10-24 01:45:38 -04:00
Valentin Lorentz
a7d36297c2 Prevent run_2to3 from copying locale/ to py3k/ instead of py3k/locale/ (thanks Cravix). 2012-08-13 12:37:23 +00:00
Valentin Lorentz
e00b8b9903 Remove src/version.py before running 2to3. 2012-08-05 22:20:41 +02:00
Valentin Lorentz
fad0c9d788 Copy localised files in run_2to3.sh. 2012-08-05 22:20:25 +02:00
Valentin Lorentz
c149e8fa81 Make 2to3 ouput files in py3k/ subfolder. 2012-08-05 17:56:25 +02:00
Valentin Lorentz
d4f5c03b3f Add 2to3/fix_reload.py. 2012-08-05 13:28:09 +02:00
Valentin Lorentz
32a7da6f51 Add 2to3 fixer to process utils.gen.IterableMap correctly. 2012-08-05 12:32:57 +02:00
Valentin Lorentz
18dd017e99 Merge remote-tracking branch 'supybot/maint/0.83.4' into testing
Conflicts:
	sandbox/release.py
2012-07-06 11:09:34 +02:00
James McCoy
f8824458b3 release: Fix repository location
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-06-17 10:44:54 -04:00
James McCoy
e6d361fc92 release: Revamp to use subprocess instead of os.system
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-06-17 10:44:53 -04:00
James McCoy
fefacf5b2f release: Allow specifying a branch to cut the release from.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-06-17 10:44:53 -04:00
James McCoy
d1bf3feaea release: Use optparse to handle arguments instead of doing it manually
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-06-17 10:44:53 -04:00
Daniel Folkinshteyn
a31350f14a Consolidate the version string to reside in one central place to ease change making.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-06-17 10:42:44 -04:00
nyuszika7h
33debcd565 sandbox/update-version: Simplify logic in updating version while still using UTC time.
Conflicts:

	sandbox/update-version
	src/version.py
2012-01-06 18:38:24 +01:00
Valentin Lorentz
957311ed2b Fix UTC use in sandbox/update-version. 2012-01-06 18:04:58 +01:00
Valentin Lorentz
eb1e04701d Fix previous merge. 2012-01-05 19:52:57 +01:00
Mika Suomalainen
bfb3dd267c update-version: Fix misleading comment. 2012-01-05 20:03:03 +02:00
Mika Suomalainen
ab379957e2 sandbox/update-version: vim modelines exist.
Added vim modeline to enable syntax and set
filetype :)
2012-01-05 18:54:55 +02:00
Mika Suomalainen
f922c09929 sandbox/update-version: fix typo in comment.
use --> user
2012-01-05 16:10:28 +02:00
Mika Suomalainen
a3f4fe3cb3 update-version: Use UTC with version timestamps.
If we don't use same timezone, we can get funny times,
because we are on different timezones.

For example, I could commit something at 16:00, then
ProgVal/nyuszika7h/skizzhg/Banton could commit some-
thing and timestamp would only show that it happened
at the same time on different timezone.

Timestamps using specific timezone could also make
reading of version numbers easier.
2012-01-05 15:44:14 +02:00
Mika Suomalainen
26e9671003 sandbox/update-version: bash isn't always in /bin.
On some systems, bash is in some different folder
than /bin. It works with more systems to use
/usr/bin/env bash.
2012-01-05 15:37:36 +02:00
Valentin Lorentz
a79e9c0cad Debug: Fix import. 2011-12-05 23:21:23 -05:00
Valentin Lorentz
dbb3e9c203 Debug: Fix import. 2011-11-13 16:34:01 +01:00
Valentin Lorentz
ccfb0b9c6c Add sandbox/check_trans.py 2011-06-30 13:30:42 +02:00
Valentin Lorentz
58f115dde8 Add script to automatically update version with a datestamp upon commit. (Thanks nanotube) 2011-04-26 10:32:49 +02:00
Daniel Folkinshteyn
05c9482759 Consolidate the version string to reside in one central place to ease change making. 2011-04-26 10:23:18 +02:00
James Vega
a1286f8f43 release.py: Remove the archives after uploading to Sourceforge
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit b170d5f9c3)
2010-08-24 18:59:57 -04:00
James Vega
b170d5f9c3 release.py: Remove the archives after uploading to Sourceforge
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-25 13:50:05 -04:00
James Vega
462fac9307 release.py: Allow an extra version number.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-25 13:32:02 -04:00
James Vega
9f718fb01c release.py: Use web.sf.net instead for uploading version.txt
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:56:05 -04:00
James Vega
249180bc41 release.py: Specify all the arguments for string formatting
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:31:16 -04:00
James Vega
660621d77e release.py: Use a proper commit message for the +git commit
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:30:54 -04:00