http://hg.code.sf.net:8000/p/roundup/code/atom-log/tip/scripts/roundup-reminder Mercurial Repository: p/roundup/code: scripts/roundup-reminder history 2026-04-08T21:39:40-04:00 chore: remove __future print_funcion from code. http://hg.code.sf.net:8000/p/roundup/code/#changeset-9c3ec0a5c7fc88acb8a65632ecc13b2d52380314 John Rouillard rouilj@ieee.org 2026-04-08T21:39:40-04:00 2026-04-08T21:39:40-04:00
changeset 9c3ec0a5c7fc
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description chore: remove __future print_funcion from code.

Not needed as of Python 3.
files
chore: lint - replace l -> issues and sort imports http://hg.code.sf.net:8000/p/roundup/code/#changeset-8bdee8a1ed098c6cac9173cb51040f53031bf565 John Rouillard rouilj@ieee.org 2024-03-04T21:35:47-05:00 2024-03-04T21:35:47-05:00
changeset 8bdee8a1ed09
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description chore: lint - replace l -> issues and sort imports
files
roundup-reminder add exit on wrong args, fix comment typo. http://hg.code.sf.net:8000/p/roundup/code/#changeset-6348bd0690a2a7c61a5f77f1cc3162977544de18 John Rouillard rouilj@ieee.org 2020-08-23T02:00:26-04:00 2020-08-23T02:00:26-04:00
changeset 6348bd0690a2
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description roundup-reminder add exit on wrong args, fix comment typo.
files
Fix scripts/roundup-reminder for Python 3 (issue 2550978). http://hg.code.sf.net:8000/p/roundup/code/#changeset-e124d76311e073138841ae4f2adf9763580e2fdc Joseph Myers jsm@polyomino.org.uk 2018-09-16T13:42:03+00:00 2018-09-16T13:42:03+00:00
changeset e124d76311e0
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Fix scripts/roundup-reminder for Python 3 (issue 2550978).

Stop using MimeWriter. Also, the previous replacement of cmp= with
key= for a comparison didn't actually work (dates, which can't be
negated, were being compared, not integers), so use a class to deal
with reversing date order for comparisons.
files
Python 3 preparation: StringIO. http://hg.code.sf.net:8000/p/roundup/code/#changeset-55f09ca366c484e1c06dd34a4efead3f1634d7d7 Joseph Myers jsm@polyomino.org.uk 2018-07-25T09:08:29+00:00 2018-07-25T09:08:29+00:00
changeset 55f09ca366c4
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: StringIO.

This generally arranges for StringIO and cStringIO references to use
io.StringIO for Python 3 but io.BytesIO for Python 2, consistent with
the string representations generally used in Roundup. A special
FasterStringIO in the TAL code, which referenced internals of the old
Python 2 StringIO module, is cut down so it doesn't actually do
anything beyond the StringIO class it inherits from (it would also be
reasonable to remove FasterStringIO completely). One place in
roundup_server.py clearly needing binary I/O is made to use io.BytesIO
unconditionally.
files
Python 3 preparation: comparisons. http://hg.code.sf.net:8000/p/roundup/code/#changeset-3fa026621f698afc2f2945b733bffd4e03e23d2f Joseph Myers jsm@polyomino.org.uk 2018-07-25T00:39:37+00:00 2018-07-25T00:39:37+00:00
changeset 3fa026621f69
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: comparisons.

Python 3 no longer has the cmp function, or cmp= arguments to sorting
functions / methods (key= must be used instead), and requires rich
comparison methods such as __lt__ to be defined instead of using
__cmp__. All of the comparison mechanisms supported in Python 3 are
also supported in Python 2.

This patch makes the corresponding changes in Roundup to use key
functions and rich comparison methods. In the case of the
JournalPassword and Permission classes, only __eq__ and __ne__ are
defined as I don't see ordered comparisons as useful there (and for
Permission, the old __cmp__ function didn't try to provide a valid
ordering). In the case of the Date class, I kept the __cmp__ method
and implemented the others in terms of it, to avoid excess
repetitiveness in duplicating implementation code for all six rich
comparison methods.

In roundup/admin.py, help_commands_html used operator.attrgetter to
produce the second argument of sorted() - which would be reasonable
for a key function, but the second argument is the cmp function in
Python 2, not a key function (and the key function must be a named
argument not a positional argument in Python 3). That function
appears to be completely unused, so I expect that code never worked.
This patch adds the missing key= to that sorted() call, but it would
also be reasonable to remove the unused function completely instead.
files
Python 3 preparation: miscellaneous Python scripts not named *.py. http://hg.code.sf.net:8000/p/roundup/code/#changeset-c75defc1c2f0e57786cd6be339eda3843b188969 Joseph Myers jsm@polyomino.org.uk 2018-07-25T00:36:40+00:00 2018-07-25T00:36:40+00:00
changeset c75defc1c2f0
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: miscellaneous Python scripts not named *.py.
files
Incorrect 'Created' value in round-reminder script (issue2550769) http://hg.code.sf.net:8000/p/roundup/code/#changeset-838e0e0c5e9f4ebedb4acff320fd611c5ca2464f John Kristensen john@jerrykan.com 2012-08-27T23:25:56+10:00 2012-08-27T23:25:56+10:00
changeset 838e0e0c5e9f
branch
bookmark
tag
user John Kristensen <john@jerrykan.com>
description Incorrect 'Created' value in round-reminder script (issue2550769)
files
Fix issue1891328 http://hg.code.sf.net:8000/p/roundup/code/#changeset-5db2dfff85d874780de14012f9e6860a8a0ba308 Stefan Seefeld stefan@seefeld.name 2009-02-16T21:10:04+00:00 2009-02-16T21:10:04+00:00
changeset 5db2dfff85d8
branch
bookmark
tag
user Stefan Seefeld <stefan@seefeld.name>
description Fix issue1891328
files
Fix scripts/roundup-reminder date calculation [SF#1649979] http://hg.code.sf.net:8000/p/roundup/code/#changeset-ce2c88d83eb61dfe219daffff1ae6f8c066a5aea Richard Jones richard@users.sourceforge.net 2007-02-15T03:52:35+00:00 2007-02-15T03:52:35+00:00
changeset ce2c88d83eb6
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Fix scripts/roundup-reminder date calculation [SF#1649979]
files
fix for new mailer API http://hg.code.sf.net:8000/p/roundup/code/#changeset-1e96ed79f0c382a42b36a74a7f1d975f8ff88ece Richard Jones richard@users.sourceforge.net 2004-02-11T00:21:46+00:00 2004-02-11T00:21:46+00:00
changeset 1e96ed79f0c3
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description fix for new mailer API
files
[maint-0.6] merge from HEAD http://hg.code.sf.net:8000/p/roundup/code/#changeset-d48c00418f7b74162af09503d716a00b95c4b3d5 Richard Jones richard@users.sourceforge.net 2004-02-11T00:02:53+00:00 2004-02-11T00:02:53+00:00
changeset d48c00418f7b
branch maint-0.6
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description merge from HEAD
files
fixed roundup-reminder script to use default schema (thanks Klamer Schutte) http://hg.code.sf.net:8000/p/roundup/code/#changeset-1b7f730e70373da9bffc8759dc601cc9d7fac446 Richard Jones richard@users.sourceforge.net 2004-02-11T00:00:01+00:00 2004-02-11T00:00:01+00:00
changeset 1b7f730e7037
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description fixed roundup-reminder script to use default schema (thanks Klamer Schutte)
files
SMTP login and TLS support added ([SF#710853] with extras ;) http://hg.code.sf.net:8000/p/roundup/code/#changeset-e109d59f232d884aaf5fbd7f510c646c93fee819 Richard Jones richard@users.sourceforge.net 2003-04-24T07:20:00+00:00 2003-04-24T07:20:00+00:00
changeset e109d59f232d
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description SMTP login and TLS support added ([SF#710853] with extras ;)
files
[maint-0.5] backporting fixes from HEAD http://hg.code.sf.net:8000/p/roundup/code/#changeset-3a853f1c20b560ebce1c302a9c0f531bd7cea332 Richard Jones richard@users.sourceforge.net 2003-02-06T05:44:49+00:00 2003-02-06T05:44:49+00:00
changeset 3a853f1c20b5
branch maint-0.5
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description backporting fixes from HEAD
files
Fixed a backlog of bug reports, and worked on python 2.3 compatibility: http://hg.code.sf.net:8000/p/roundup/code/#changeset-8dc60d87ab42a90f9efbceba1367ecfee4e40706 Richard Jones richard@users.sourceforge.net 2003-02-06T05:43:49+00:00 2003-02-06T05:43:49+00:00
changeset 8dc60d87ab42
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Fixed a backlog of bug reports, and worked on python 2.3 compatibility:

- fixed templating filter function arguments [SF#678911]
- fixed multiselect in searching [SF#676874]
- fixed parsing of content-disposition filenames [SF#675116]
- added 'h' to roundup-server optarg list [SF#674070]
- fixed doc for db.history in anydbm and rdbms_common [SF#679221]
- fixed timelog example so it handles new issues [SF#678908]
- handle missing os.fork() [SF#681046]
- fixed roundup-reminder [SF#681042]
- fixed int assumptions about Number values [SF#677762]
- added warning filter for "FutureWarning: hex/oct constants > sys.maxint will
return positive values..." (literal 0xffff0000 in portalocker.py)
- fixed ZPT code generating SyntaxWarning for assignment to None
files
More cleaning up of configuration, and the "instance" -> "tracker" renaming. http://hg.code.sf.net:8000/p/roundup/code/#changeset-fa7df238e2d42a36689cb8c7d40508f6dd211e5d Richard Jones richard@users.sourceforge.net 2002-09-10T03:01:20+00:00 2002-09-10T03:01:20+00:00
changeset fa7df238e2d4
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description More cleaning up of configuration, and the "instance" -> "tracker" renaming.
files
more Log removal http://hg.code.sf.net:8000/p/roundup/code/#changeset-e5826025eeb79f39c9c73309727d89b1b24372a8 Richard Jones richard@users.sourceforge.net 2002-09-10T01:07:06+00:00 2002-09-10T01:07:06+00:00
changeset e5826025eeb7
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description more Log removal
files
Added simple help to the reminder emailer. http://hg.code.sf.net:8000/p/roundup/code/#changeset-9c76498f1ac30921849a4a7d6a27da96b9b4acd7 Richard Jones richard@users.sourceforge.net 2002-05-09T02:52:56+00:00 2002-05-09T02:52:56+00:00
changeset 9c76498f1ac3
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Added simple help to the reminder emailer.
files
[search_indexing-0-4-2-branch] Brought search_indexing-branch up to date with latest changes in HEAD. http://hg.code.sf.net:8000/p/roundup/code/#changeset-54333751e98d293a7fb82fb7587fabb2b4d11a49 Roche Compaan rochecompaan@users.sourceforge.net 2002-05-02T13:09:11+00:00 2002-05-02T13:09:11+00:00
changeset 54333751e98d
branch search_indexing-0-4-2-branch
bookmark
tag
user Roche Compaan <rochecompaan@users.sourceforge.net>
description Brought search_indexing-branch up to date with latest changes in HEAD.
files
Here's a cron-job reminder script... http://hg.code.sf.net:8000/p/roundup/code/#changeset-456a1ed046508efbc616f779c01efd4190ef2593 Richard Jones richard@users.sourceforge.net 2002-04-15T06:37:31+00:00 2002-04-15T06:37:31+00:00
changeset 456a1ed04650
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Here's a cron-job reminder script...

...that we're going to be using here at ekit. Might be useful for
other people. Could use some work making it more general and easier to
customise.
files