Roundup Tracker - Issues

Issue 1533791

classification
export should allow exclusion of classes
Type: Severity: normal
Components: Command-line interface Versions:
process
Status: closed accepted
:
: richard : richard, tobias-herp
Priority: normal :

Created on 2006-08-03 11:21 by tobias-herp, last changed 2006-08-11 04:59 by richard.

Files
File name Uploaded Description Edit Remove
admin.py.patch tobias-herp, 2006-08-03 11:21 patch: allow admin export -file,msg {directory}
admin.py.patch tobias-herp, 2006-08-03 13:10 new command exporttables
Messages
msg2283 Author: [hidden] (tobias-herp) Date: 2006-08-03 11:21
the export command (do_export in admin.py) should allow
to specify classes which should /not/ be exported; this
way it would be possible to backup e.g. the msg and
file topics incrementally (some jokesters like to send
screenshots as BMP files (or worse) to our tracker, and
having those in every single backup is not very desirable).

My simple patch excludes the given classes when the
specification starts with a '-' sign (sorry, I'm
offline here relating to CVS, so the diff format might
be slighly inaccurate).
msg2284 Author: [hidden] (tobias-herp) Date: 2006-08-03 12:32
Logged In: YES 
user_id=805804

This usage example might be bad since there is some
information in the msg and file classes which is not stored
in the directory structure below $TRACKER_HOME/db/files/
msg2285 Author: [hidden] (tobias-herp) Date: 2006-08-03 13:10
Logged In: YES 
user_id=805804

created a new patch which introduces the new command
"exporttables", which exports the database data only and
excludes the files below $TRACKER_HOME/db/files/.
msg2286 Author: [hidden] (richard) Date: 2006-08-11 04:59
Logged In: YES 
user_id=6405

Note that this really should have been filed as a patch or 
feature request, not a bug :)
msg2287 Author: [hidden] (tobias-herp) Date: 2006-08-11 07:39
Logged In: YES 
user_id=805804

Oops! :-)

You're right, of course. With roundup, this could have been
changed...
History
Date User Action Args
2006-08-03 11:21:24tobias-herpcreate