{"id":19536441,"url":"https://github.com/davidnewcomb/mantisbt_database_tweaker","last_synced_at":"2026-05-05T01:39:31.572Z","repository":{"id":96926720,"uuid":"126535964","full_name":"davidnewcomb/mantisbt_database_tweaker","owner":"davidnewcomb","description":"MantisBT database tweaker allow you to adjust the database directly","archived":false,"fork":false,"pushed_at":"2020-05-29T18:08:20.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T17:58:12.976Z","etag":null,"topics":["database","mantisbt","tweaker"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidnewcomb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-23T20:31:40.000Z","updated_at":"2020-05-29T18:08:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"4ae1ea6c-9bf9-4e68-9e78-6abb3d023e11","html_url":"https://github.com/davidnewcomb/mantisbt_database_tweaker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidnewcomb%2Fmantisbt_database_tweaker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidnewcomb%2Fmantisbt_database_tweaker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidnewcomb%2Fmantisbt_database_tweaker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidnewcomb%2Fmantisbt_database_tweaker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidnewcomb","download_url":"https://codeload.github.com/davidnewcomb/mantisbt_database_tweaker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240789801,"owners_count":19857898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","mantisbt","tweaker"],"created_at":"2024-11-11T02:22:55.578Z","updated_at":"2026-05-05T01:39:31.545Z","avatar_url":"https://github.com/davidnewcomb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MantisBT Database Tweaker\n\nThis is a command line application that lets you tweak the MantisBT database.\n\n- Bugs\n    - Change owner\n    - Change date submitted\n- Monitor\n    - Add monitor to an issue\n    - Delete monitor from issue\n- Bugnotes\n    - Add bugnote\n    - Move bugnote\n    - Modify time tracking\n    - Modify time\n    - Modify owner\n- Categories\n    - Modify category\n    - Delete category\n\nConfirmation is required before any changes will be made. The SQL which will\nbe executed is displayed and the SQL needed to rollback the change is also\ngiven, just in case!\n\n\n## Requirements\n1. Currently only tested using MantisBT 1.2.8 but may work with later versions.\n1. Requires _mysql Python module to be available.\n\n## Installation\n1. Download the file and place it in a directory on your `PATH`.\n1. Edit and change the MySQL access credientials in the CONFIG section.\n1. Save and run!\n\n## Example usage\n```\nMantisBT Database Tweaker v2.0\n==============================\n\nBugs\n----\n1) Change owner\n\nMonitor\n-------\n2) Add monitor to an issue\n3) Delete monitor from issue\n\nBugnotes\n--------\n4) Add bugnote\n5) Move bugnote\n6) Modify time tracking\n7) Modify time\n8) Modify owner\n\nCategories\n----------\n9) Modify category\n10) Delete category\n\nEnter selection (return to exit): 8\n\n=====================\nChange bugnote owner\n---------------------\n\n  4 Marcel       Wave                 user1\n 32 Sid          Snot                 user2\n 31 Cupid        Stunt                user3\n\nSelect user id:  32\nEnter bugnote number:  123\nChange owner of 'My email is broken' to 'Sid Snot (32)'\n[y/n]: y\n\nRollback: UPDATE mantis_bugnote_table SET reporter_id = 4 WHERE id = 123\nUPDATE mantis_bugnote_table SET reporter_id = 32 WHERE id = 123\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidnewcomb%2Fmantisbt_database_tweaker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidnewcomb%2Fmantisbt_database_tweaker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidnewcomb%2Fmantisbt_database_tweaker/lists"}