archimatetool / archi-modelrepository-plugin

coArchi - a plug-in to share and collaborate on Archi models.
153 stars 52 forks source link

Unable to reset/change password for a remote git (bitbucket) repository #79

Closed oligatorr closed 5 years ago

oligatorr commented 5 years ago

Hello

I use Archi in connection with a Bitbucket git repository. The password is regularly updated on the server but I am not able to figure out how to set the new password in Archi. The consequence is that Archi seems to use the outdated password and then lock my access to the bitbucket repository: capture d ecran 2019-02-19 a 11 03 09

I have then to unlock manually the bitbucket repository.

I have tried to go into the git local directory (/Users/myname/Library/Application Support/Archi4/model-repository/digital-arch ) and reset properly the password there. If I do git fetch in this directory it does work but it did not help when trying to use Archi collaboration plugin from Archi itself.

Thank you in advance for your help

Olivier

capture d ecran 2019-02-19 a 11 11 12

capture d ecran 2019-02-19 a 11 12 37

Phillipus commented 5 years ago

We've made this simpler in the latest release. You can select the repo in Archi and in Properties tab change user credentials.

For previous version of the plug-in you could set in Archi Preferences not to store passwords in an encrypted file and it will prompt you again for a new password.

Or you can manually delete the "credentials" file in the /Users/myname/Library/Application Support/Archi4/model-repository/digital-arch/.git folder. This folder will be hidden on a Mac.

BTW - Archi 4.3.3 is now available and fixes a lot of issues.

Phillipus commented 5 years ago

We've released version 0.4.0 GA - https://www.archimatetool.com/plugins/

This should solve your problem if you:

oligatorr commented 5 years ago

OK thanks I just tested the "simple solution": remove the credentials file and it worked. I will test the new versions later on. I guess we can close this ticket !

oligatorr commented 5 years ago

@Phillipus I just tested the new collaboration version and it is far better now with the branch support and the edition of the credentials. Great Job !

Phillipus commented 5 years ago

@oligatorr Thanks! Also thanks to @jbsarrodie who is the lead on this project.

Bear in mind that this is still really "beta" and some features are still being worked on and there will be bugs. ;-)

etienne-sf commented 1 year ago

Hello,

For those interested, with the 4.9.3 version I use, the credential file to remove is: C:\Users\your_name\AppData\Roaming\Archi4\model-repository\cosmos_model\.git\secure_credentials

Etienne