http://hg.code.sf.net:8000/p/roundup/code/atom-log/tip/tools/load_tracker.py Mercurial Repository: p/roundup/code: tools/load_tracker.py 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
fix: replace except: with except Exception: (by haosenwang1018@github) http://hg.code.sf.net:8000/p/roundup/code/#changeset-fed0f839c26062bca99304a0198a17cf21554915 John Rouillard rouilj@ieee.org 2026-02-26T09:46:02-05:00 2026-02-26T09:46:02-05:00
changeset fed0f839c260
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description fix: replace except: with except Exception: (by haosenwang1018@github)

Remove bare 'except:' statements replace with 'except Exception'.

In roundup_xmlrpc_server.py I changed Exception to BaseException so
the database gets closed on signals as well. The rest of the changes
do not look like they affect data integrity and are commited as
supplied.
files
feat: randomize creator of generated issues. http://hg.code.sf.net:8000/p/roundup/code/#changeset-e1dfd21f225209c5844ee2dc7c5ce6211306e1de John Rouillard rouilj@ieee.org 2024-02-19T19:03:18-05:00 2024-02-19T19:03:18-05:00
changeset e1dfd21f2252
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description feat: randomize creator of generated issues.

All the issues used to be created by admin. This randomly chooses
a user (except anonymous) to create an issue.
files
Python 3 preparation: use // and __truediv__ as needed. http://hg.code.sf.net:8000/p/roundup/code/#changeset-2120f77554d5ebacd5bccdd7692716660a4f32a1 Joseph Myers jsm@polyomino.org.uk 2018-07-24T23:16:09+00:00 2018-07-24T23:16:09+00:00
changeset 2120f77554d5
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: use // and __truediv__ as needed.

Tool-assisted patch. Those divisions that I thought must be integer
floor divisions and rely on Python 2 integer floor division semantics
are changed to use // (if any are actually meant to be floating-point
divisions, that would break things). One __div__ method is changed to
__truediv__ (with __div__ = __truediv__ for Python 2 compatibility).
files
Python 3 preparation: convert print to a function. http://hg.code.sf.net:8000/p/roundup/code/#changeset-64b05e24dbd889f52bf8f773d3456bd0135baa27 Joseph Myers jsm@polyomino.org.uk 2018-07-24T09:54:52+00:00 2018-07-24T09:54:52+00:00
changeset 64b05e24dbd8
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: convert print to a function.

Tool-assisted patch. It is possible that some "from __future__ import
print_function" are not in fact needed, if a file only uses print()
with a single string as an argument and so would work fine in Python 2
without that import.
files
Implementation for: http://hg.code.sf.net:8000/p/roundup/code/#changeset-6e9b9743de89d2acc152b890dc6848f811ffadce John Rouillard rouilj@ieee.org 2013-04-23T23:06:09-04:00 2013-04-23T23:06:09-04:00
changeset 6e9b9743de89
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Implementation for:

http://issues.roundup-tracker.org/issue2550731

Add mechanism for the detectors to be able to tell the source of the
data changes.

Support for tx_Source property on database handle. Can be
used by detectors to find out the source of a change in an auditor to
block changes arriving by unauthenticated mechanisms (e.g. plain email
where headers can be faked). The property db.tx_Source has the
following values:
* None - Default value set to None. May be valid if it's a script
that is created by the user. Otherwise it's an error and indicates
that some code path is not properly setting the tx_Source property.
* "cli" - this string value is set when using roundup-admin and
supplied scripts.
* "web" - this string value is set when using any web based
technique: html interface, xmlrpc ....
* "email" - this string value is set when using an unauthenticated
email based technique.
* "email-sig-openpgp" - this string value is set when email with a
valid pgp signature is used. (*NOTE* the testing for this mode
is incomplete. If you have a pgp infrastructure you should test
and verify that this is properly set.)

This also includes some (possibly incomplete) tests cases for the
modes above and an example of using ts_Source in the customization.txt
document.
files
Remove keyword expansions from CVS. All regression tests passed afterwards. http://hg.code.sf.net:8000/p/roundup/code/#changeset-6e3e4f24c75376f61ae0bf0e9ee334567585c38e Eric S. Raymond esr@thyrsus.com 2011-11-16T09:51:38-05:00 2011-11-16T09:51:38-05:00
changeset 6e3e4f24c753
branch
bookmark
tag
user Eric S. Raymond <esr@thyrsus.com>
description Remove keyword expansions from CVS. All regression tests passed afterwards.
files
fix error message. backport candidate http://hg.code.sf.net:8000/p/roundup/code/#changeset-53d278e1440f97955587aeaa89d3f9166eb6d112 Anthony Baxter anthonybaxter@users.sourceforge.net 2005-06-08T02:24:06+00:00 2005-06-08T02:24:06+00:00
changeset 53d278e1440f
branch
bookmark
tag
user Anthony Baxter <anthonybaxter@users.sourceforge.net>
description fix error message. backport candidate
files
loader tweak http://hg.code.sf.net:8000/p/roundup/code/#changeset-1bbdd3407eff2ad0b9bce49f111e002764899535 Richard Jones richard@users.sourceforge.net 2004-05-06T02:35:05+00:00 2004-05-06T02:35:05+00:00
changeset 1bbdd3407eff
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description loader tweak
files
*** empty log message *** http://hg.code.sf.net:8000/p/roundup/code/#changeset-87c238d8bc7621185d2b6f9506841082b031f425 Richard Jones richard@users.sourceforge.net 2004-04-24T04:46:43+00:00 2004-04-24T04:46:43+00:00
changeset 87c238d8bc76
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description *** empty log message ***
files
fix nested scope bug in multilink sorting in rdbms filtering http://hg.code.sf.net:8000/p/roundup/code/#changeset-70d21059aa18d60daaa61d6c801d97d308aee8f4 Richard Jones richard@users.sourceforge.net 2004-04-22T22:17:34+00:00 2004-04-22T22:17:34+00:00
changeset 70d21059aa18
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description fix nested scope bug in multilink sorting in rdbms filtering
files
disable forking server when os.fork() not available [SF#938586] http://hg.code.sf.net:8000/p/roundup/code/#changeset-ca2664e095be78a2e73df912ded68fce59b18cbf Richard Jones richard@users.sourceforge.net 2004-04-20T21:57:29+00:00 2004-04-20T21:57:29+00:00
changeset ca2664e095be
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description disable forking server when os.fork() not available [SF#938586]
files
Some doc / comment fixes. http://hg.code.sf.net:8000/p/roundup/code/#changeset-1d1362c54c949bf85f708bc805e4f284caede2f7 Richard Jones richard@users.sourceforge.net 2004-04-20T05:47:33+00:00 2004-04-20T05:47:33+00:00
changeset 1d1362c54c94
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Some doc / comment fixes.

Added tools/load_tracker.py - see its usage string. Used to load a tracker
with data for load testing. Preliminary results: sqlite, mysql, postgresql
and metakit break *no* sweat with 2000 issues (approx 1700-1800 "open").
files