scm-manager / scm-redmine-plugin

Integrates Redmine to SCM-Manager
GNU Affero General Public License v3.0
0 stars 1 forks source link

REST API key usage #10

Closed olaf7 closed 4 years ago

olaf7 commented 4 years ago

In SCM Manager 1.x the plugin requires a redmine REST API key bound to a user. This seems not to be available in SCM Manager 2.x

pfeuffer commented 4 years ago

SCM-Manager used the SCM password of the current user to connect to Redmine. We removed this behaviour, because with v2 we do no longer have a session where we could keep the password and we wanted to have the ability for other authentication mechanisims. So in v2 you have to specify a dedicated Redmine user for the connection (either in the global or the repository specific redmine configuration).

I have to admit that I don't know what you mean with the REST API key, because as far as I know we never used keys for Redmine in SCM-Manager (only username/password). Can you elaborate on that?

As for the mussing migration: We had a bug in SCM-Manager. You reported this here and we think we fixed this with this fix in release 2.3.0. Do you still have this issue?

As for your suggestions for improvements, can you please create two separate issues, so that we can track them seperatedly?

Thank you for your support!

olaf7 commented 4 years ago

Migration was successful as in : no errors. But it also left the redmine config per project empty. Fine with limited projects, but otherwise a pita. Fine by me though, I only have 20 projects or so.

In my memory (my current 1.6 SCM no longer works) the plugin needed the API key. I had no recollection for the need of user/password config. Just noticed the docs for 1.x and 2.x are not that different ;-) https://www.scm-manager.org/docs/1.x/en/redmine-plugin/

I will file separate issues later.