| 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 |
| changeset | 586f76eb33e8 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | fix: keep python2 working a little longer. |
| files |
| changeset | 1045425c23b2 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | refactor!: replace os.listdir() with os.scandir() In many places we did a listdir() then a stat to see if it's a file or directory. This change removes the need for the stat call. Also for larger directories, scandir() is an iterator, so less memory use. There is one remnant of listdir used in an error handler. That requires a stat on each element in the directory, so there is no benefit to using scandir() other than a slight memory saving on a rarely used piece of code. BREAKING CHANGE: Python 2 requires installation of scandir pip package after this commit. |
| files |
| changeset | 07ce4e4110f5 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | flake8 fixes: whitespace, remove unused imports |
| files |
| changeset | 8219c7405a29 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | chore: flake8 fix multiple imports on one line |
| files |
| changeset | 8bd93c8e98a6 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Rouillard <rouilj@ieee.org> |
| description | Flake8 cleanup. remove unused imports; formatting fixes. Also #noqa some one liners of the form: if boolean_expression: command |
| files |
| 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 |
| changeset | 198b6e810c67 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Eric S. Raymond <esr@thyrsus.com> |
| description | Use Python-3-compatible 'as' syntax for except statements Many raise statements near these are also fixed. So are two ivorrect file encoding marks ('utf8'->'utf-8'). |
| files |
| changeset | 5251e97b1de0 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Kristensen <john@jerrykan.com> |
| description | Configure the database backend in the config.ini The database backend is currently configured in the 'db/backend_name' file which is just another file that needs to be configured when setting up or migrating a tracker instance. By moving this setting into the config.ini it helps to reduce the number of files that need to be configured and is more logical place for users to find the setting. |
| files |
| changeset | 3b632a25b1b3 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Kristensen <john@jerrykan.com> |
| description | Correctly recreate the database directory during tracker re-initialise The database directory value was being fetched from the tracker config and being appended to the tracker home directory, but the database directory value in the config already has the tracker home prepended which resulted in the database directory being recreated in a nonsensical location. This fix is a bit of a hack, but the relevant code is likely to be removed in v1.6, so it shouldn't be too bad in the short term. |
| files |
| changeset | c86bc9646652 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | John Kristensen <john@jerrykan.com> |
| description | Revert changes in commit 785bd25371 The use of 'with open()' was only introduced in python v2.6. To maintain compatibility with python v2.5 the change needs to be reverted. |
| files |
| changeset | edb171528a7d |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | anatoly techtonik <techtonik@gmail.com> |
| description | init.loadTemplateInfo: replace rfc822 with email.parser (Python 3 compatible) |
| files |
| changeset | 785bd25371d3 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | anatoly techtonik <techtonik@gmail.com> |
| description | init.loadTemplateInfo: Cleanup code |
| files |
| changeset | 6e3e4f24c753 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Eric S. Raymond <esr@thyrsus.com> |
| description | Remove keyword expansions from CVS. All regression tests passed afterwards. |
| files |
| changeset | a0be2bc223f5 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net> |
| description | use config.DATABASE in cases where 'db' was still hard-coded - in instance when determining the backend - during init after nuking the db it would create 'db' |
| files |
| changeset | 4498f5252f8b |
|---|---|
| branch | gsoc-2009 |
| bookmark | |
| tag | |
| user | Pygi <pygi@users.sourceforge.net> |
| description | Some preparations for 3.0 migration |
| files |
| changeset | c8b0a23ba38d |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Stefan Seefeld <stefan@seefeld.name> |
| description | Fix issue2550493: hide 'hidden' files. |
| files |
| changeset | 3876b94ffe8c |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Alexander Smishlajev <a1s@users.sourceforge.net> |
| description | install: accept configuration setting overrides |
| files |
| changeset | 1e7a3c001c6a |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Alexander Smishlajev <a1s@users.sourceforge.net> |
| description | ignore old-style tracker templates [SF#1071402]; remove unused imports |
| files |
| changeset | accb3b411ef6 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | instructions and method for generating config.ini |
| files |
| changeset | 22c459281026 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Alexander Smishlajev <a1s@users.sourceforge.net> |
| description | tracker layout notes in install() docstring updated for new layout |
| files |
| changeset | b2cd472919c8 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Alexander Smishlajev <a1s@users.sourceforge.net> |
| description | if there is no config installed from the template, write default config text; fix import statements; fix vim modeline |
| files |
| changeset | 4c08ca1e2460 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | notes |
| files |
| changeset | a9e1fff1e793 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | I thought I committed this last night. Ho hum. - This implements most of the rest of the new tracker config layout: - dbinit.py split between schema.py and initial_data.py - interfaces.py gone - tracker and detectors __init__.py gone - Added some missing functionality to backends: db_exists test and db_nuke. - Implemented configuration file options in postgresql backend. - Cleaned up tracker initialisation a lot. |
| files |
| changeset | cc692b8b8fa9 |
|---|---|
| branch | maint-0.6 |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | back-port template renaming fix |
| files |
| changeset | fc52d57c6c3e |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | documentation cleanup |
| files |
| changeset | d157b9b56ebf |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | implemented munging of template name for installed trackers |
| files |
| changeset | 1f8bbdff56b9 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | fixed generic template discovery |
| files |
| changeset | 21312a7564fd |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | moving templates around |
| files |
| changeset | 378081f066cc |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | registration is now a two-step process with confirmation from the email address supplied in the registration form fixed [SF#687771] too (now handle all cases of @/:) |
| files |
| changeset | db787cef1385 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | handled some XXXs |
| files |
| changeset | 04a6b3bfbf23 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | instance_config -> config, and other related cleanups |
| files |
| changeset | cf72eae57a2c |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | Fixed instance installation ... moved the htmlbase module into templates and call it <template>_htmlbase.py ... no more try/except in instance __init__! Added :required to form handling. Handle multiple values for single form items with decent error report. |
| files |
| changeset | fb8a8eb55aac |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | cleanup: moved templatebuilder into templates.builder |
| files |
| changeset | 2dd862af72ee |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | all storage-specific code (ie. backend) is now implemented by the backends |
| files |
| changeset | 7e093cbaaa98 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | split instance initialisation into two steps... ...allowing config changes before the database is initialised. |
| files |
| changeset | 13719594278b |
|---|---|
| branch | config-0-4-0-branch |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | I've re-worked the config structure a little so it's simpler (one less file) and added a unit test so we can be sure it's working. |
| files |
| changeset | a5cd27d33516 |
|---|---|
| branch | config-0-4-0-branch |
| bookmark | |
| tag | |
| user | Titus Brown <titus@users.sourceforge.net> |
| description | Initial ConfigParser implementation. |
| files |
| changeset | bdc2ea127ae9 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Jürgen Hermann <jhermann@users.sourceforge.net> |
| description | Added module docstrings to all modules. |
| files |
| changeset | 2d92f93072f9 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Jürgen Hermann <jhermann@users.sourceforge.net> |
| description | Code using copyDigestedFile() that passes unit tests |
| files |
| changeset | a4241ddd22d7 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | Added the Password property type. See "pydoc roundup.password" for implementation details. Have updated some of the documentation too. |
| files |
| changeset | 18134bffab37 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | stupid typo |
| files |
| changeset | d45384bc6420 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | Added the copyright/license notice to (nearly) all files... ...at request of Bizar Software. |
| files |
| changeset | 1894a28a1e66 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | Added documentation. |
| files |
| changeset | c1461733cbf9 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | Instances are now opened by a special function... ...that generates a unique module name for the instances on import time. |
| files |
| changeset | 609a9d82218f |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | Fixed [SF#447671] - typo |
| files |
| changeset | 241a0323aacb |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | Used the much nicer load_package, pointed out by Steve Majewski. |
| files |
| changeset | 996eaf90c01e |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | Instance import now imports the instance using imp.load_module... ...so that we can have instance homes of "roundup" or other existing python package names. |
| files |
| changeset | 0791d13baea7 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | Added vim command to all source so that we don't get no steenkin' tabs :) |
| files |
| changeset | 2ab86442799a |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | Replaced errno integers with their module values. De-tabbed templatebuilder.py |
| files |
| changeset | d95a03480fd1 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Anthony Baxter <anthonybaxter@users.sourceforge.net> |
| description | oops. left a print in |
| files |
| changeset | 0eed07d99b98 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Anthony Baxter <anthonybaxter@users.sourceforge.net> |
| description | oops. Html. |
| files |
| changeset | 5e71aaa87e5b |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Anthony Baxter <anthonybaxter@users.sourceforge.net> |
| description | Added templatebuilder module. two functions - one to pack up the html base, one to unpack it. Packed up the two standard templates into htmlbases. Modified __init__ to install them. __init__.py magic was needed for the rather high levels of wierd import magic. Reducing level of import magic == (good, future) |
| files |
| changeset | 3a7e5515c1bd |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | ok, so now "./roundup-admin init" will ask questions... ...in an attempt to get a workable instance_home set up :) _and_ anydbm has had its first test :) |
| files |
| changeset | c7c14960f413 |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | Final commit of Grande Splite |
| files |
| changeset | 4cf1daf2f2eb |
|---|---|
| branch | |
| bookmark | |
| tag | |
| user | Richard Jones <richard@users.sourceforge.net> |
| description | More Grande Splite |
| files |