https://github.com/davidnewcomb/mantisbt_database_tweaker
MantisBT database tweaker allow you to adjust the database directly
https://github.com/davidnewcomb/mantisbt_database_tweaker
database mantisbt tweaker
Last synced: 3 months ago
JSON representation
MantisBT database tweaker allow you to adjust the database directly
- Host: GitHub
- URL: https://github.com/davidnewcomb/mantisbt_database_tweaker
- Owner: davidnewcomb
- License: mit
- Created: 2018-03-23T20:31:40.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-29T18:08:20.000Z (about 5 years ago)
- Last Synced: 2025-01-08T17:58:12.976Z (5 months ago)
- Topics: database, mantisbt, tweaker
- Language: Python
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MantisBT Database Tweaker
This is a command line application that lets you tweak the MantisBT database.
- Bugs
- Change owner
- Change date submitted
- Monitor
- Add monitor to an issue
- Delete monitor from issue
- Bugnotes
- Add bugnote
- Move bugnote
- Modify time tracking
- Modify time
- Modify owner
- Categories
- Modify category
- Delete categoryConfirmation is required before any changes will be made. The SQL which will
be executed is displayed and the SQL needed to rollback the change is also
given, just in case!## Requirements
1. Currently only tested using MantisBT 1.2.8 but may work with later versions.
1. Requires _mysql Python module to be available.## Installation
1. Download the file and place it in a directory on your `PATH`.
1. Edit and change the MySQL access credientials in the CONFIG section.
1. Save and run!## Example usage
```
MantisBT Database Tweaker v2.0
==============================Bugs
----
1) Change ownerMonitor
-------
2) Add monitor to an issue
3) Delete monitor from issueBugnotes
--------
4) Add bugnote
5) Move bugnote
6) Modify time tracking
7) Modify time
8) Modify ownerCategories
----------
9) Modify category
10) Delete categoryEnter selection (return to exit): 8
=====================
Change bugnote owner
---------------------4 Marcel Wave user1
32 Sid Snot user2
31 Cupid Stunt user3Select user id: 32
Enter bugnote number: 123
Change owner of 'My email is broken' to 'Sid Snot (32)'
[y/n]: yRollback: UPDATE mantis_bugnote_table SET reporter_id = 4 WHERE id = 123
UPDATE mantis_bugnote_table SET reporter_id = 32 WHERE id = 123
```