mantis to gitlab
Excuse my ignorance here, I don't know much about Python as well as Mantis. My objective is to move all the issues from a project say "aurams" on Mantis(https://ulysse.cmc.ec.gc.ca/mantis) to git project "bap001/aurams" hosted on(gitlab.science.gc.ca). I have only "developer" account "Pabla" on Mantis. My account on gitlab is "bap001".I am looking step by step instructions, how to achive it? So far, what I did:
- svn clone this project, which gave me two Python scripts and Readme.md
arqtbal@joule : ls -ltr
total 72
-rwxr-xr-x 1 arqtbal arqt 9216 Feb 9 16:37 mantis_port.py
-rw-r--r-- 1 arqtbal arqt 7251 Feb 9 16:37 gitlab.py
-rw-r--r-- 1 arqtbal arqt 393 Feb 9 16:37 README.md
-rw-r--r-- 1 arqtbal arqt 10847 Feb 9 16:37 LICENSE
-rw-r--r-- 1 arqtbal arqt 21749 Feb 10 21:16 list_of_mantisissues_aurams.csv
-rw-r--r-- 1 arqtbal arqt 7727 Feb 10 21:34 gitlab.pyc
- Without making any changes to *.py scripts, I tried to run:
arqtbal@joule : python ./mantis_port.py -i ./list_of_mantisissues_aurams.csv -m https://ulysse.cmc.ec.gc.ca/mantis -g gitlab.science.gc.ca -p bap001/aurams -t no -u Pabla
Traceback (most recent call last):
File "./mantis_port.py", line 1, in <module>
import gitlab
File "/home/pxarqd/arqt/bal/git/mantis-to-gitlab/gitlab.py", line 16, in <module>
import requests
ImportError: No module named requests
..from where this module should be loaded?
** please nite that I gave "-t no" as Mantis issues don't have any tag. Thanks in advance
Edited by Ben Boeckel