1 |
f5ddb21e
|
Julien Enselme
|
* Migrate
|
2 |
|
|
Simply use the following commands in a clean environment: the folder in which
|
3 |
|
|
you launch these commands must not contains any csv or txt files from a previous
|
4 |
|
|
migration otherwise fix-db.rb won't work.
|
5 |
|
|
- python3 post_redmine.py
|
6 |
|
|
- ruby fix-db.rb
|
7 |
|
|
|
8 |
|
|
* Clean
|
9 |
|
|
Use in a python3 interpreter
|
10 |
|
|
|
11 |
|
|
#BEGIN_SRC python
|
12 |
|
|
import post_redmine
|
13 |
|
|
redmine = post_redmine.Redmine()
|
14 |
|
|
redmine.sweep()
|
15 |
|
|
#END_SRC
|
16 |
|
|
|
17 |
|
|
* Export as html
|
18 |
|
|
The export-issues-html.sh script allows you to export issues for a projet as
|
19 |
|
|
html files. It requires access to the database of redmine and only work for
|
20 |
|
|
mysql.
|
21 |
|
|
|
22 |
|
|
export-issues-html.sh PROJECT_ID |