edgafner / dorkag

Issue Tracker repository for all Dorkag plugins
Other
5 stars 0 forks source link

[BUG]: Can't fetch repositories from Azure Devops & Missing tool window/icon #86

Closed darthkurak closed 3 months ago

darthkurak commented 5 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to Settings -> Version Control -> Azure Devops

  2. Add account

    image
  3. Succeed

  4. No tool icon on the left

  5. When going from Open -> Get From Version Control -> Azure DevOps -> it hangs:

    image

Expected behavior

Desktop (please complete the following information):

JetBrains IDE (please complete the following information):

Azure Devops organization details:

darthkurak commented 5 months ago

From what I noticed - my organization name is not displayed here:

image
Jonatha1983 commented 5 months ago

Hi @darthkurak

Sorry for the delay, and thanks for reporting.

I would like to break the issue into two parts. When you added your account and successfully logged in, did you open the IDE on an Azure DevOps git repo?

Because the plugin works like the GitHub and GitLab plugins, you can always log in and add your account. Still, the pull request tool window will be available only when the current IDE project is a correspondent git repo for the account logged in.

About the second issue with the clone and the repositories, I will start investigating it - because it should show the repo, but for now, can you please try to remove the account and restart the flow of "From Version Control" without having an account in place ( you will be asked to insert the Server URL and the PAT)

Lastly, I just wanted to make sure that, from the first image you posted, 'Allegrothechies' is the organization name in the Azure DevOps account, is that correct?

Thanks

zaldokas commented 4 months ago

Hi, I have the same issue - I do not see any tool window related to azd plugin. I tried to remove and add an account in settings, but nothing has changed, account is added and the project is connected to azure git repo under that account, but I don't see any plugin window in the project.

Jonatha1983 commented 4 months ago

Hi @zaldokas

What is your fit configuration? SSH , http?

Can you open the terminal on the root project and run git remote -vv And paste here the output?

Also are you using some special git configurations?

zaldokas commented 4 months ago

I wouldn't want to share the url here, but I use https, not ssh. Is this the reason?

zaldokas commented 4 months ago

It used to work well some time ago, I haven't changed anything with my git remote configuration though.

Jonatha1983 commented 4 months ago

Make sure you uncheck the use ssh in the azure devops configuration Also I would like to see the pattern of the output the real value is not important to me

zaldokas commented 4 months ago

Yes, I have it unchecked, the pattern is like this:

origin https://OrgName@dev.azure.com/OrgName/ProjectName/_git/repo-name (fetch) origin https://OrgName@dev.azure.com/OrgName/ProjectName/_git/repo-name (push)

Jonatha1983 commented 4 months ago

@zaldokas, which version are you using?

Jonatha1983 commented 4 months ago

Can you check under Views >> Tool Windows if you spot the azd toolwindow? image

Jonatha1983 commented 4 months ago

Also, can you check that the PAT is valid and has not expired?

Jonatha1983 commented 4 months ago

One more question - are you using the Intellij Git Credential helper? image

zaldokas commented 4 months ago

azd is not listed under Tool Windows double checked PAT is valid Use credential helper is UNchecked

Jonatha1983 commented 4 months ago

Does the jetbrains git log tool window works for you? When you run git fetch does it ask you for credentials? I think that if you will try to check the user credentials- that should solve the issue.

zaldokas commented 4 months ago

Hi,

yes, IntelliJ Git window works fine, I can do everything, fetch from remote, push, etc. Also works fine from the terminal window inside IntelliJ. I have tried to check the "Use credential helper" option, restarted IDE, reopened the project, disabled/enabled the azd plugin, nothing helps, I have no azd tool window visible neither in the menu View->Tool Windows nor anywhere.

Any other ways to debug what's the problem here?

Jonatha1983 commented 4 months ago

@zaldokas Can you enable the statistics checkbox in the azure devops settings and reopen the project? I'll try to see if I see exceptions collected on my side (you can uncheck the statistics one it is opened and all startups activity are done)

If you can't try to see if you see some exceptions in the ide logs with azd string in them

Jonatha1983 commented 3 months ago

@zaldokas @darthkurak, Are you still facing this issue?

I think this is the same as 83.

I am closing for now - if you are still having issues, please let me know.