PyCharm "Get from Version Control" Not Listing Forked GitLab Repository
Hi everyone,
I'm experiencing an issue with PyCharm's "Get from Version Control" feature when accessing repositories on GitLab, and I'm hoping someone can help me resolve it.
Issue Description:
- When I use PyCharm's "Get from Version Control", I can only see certain projects from my GitLab account.
- Specifically, I'm unable to see a forked repository that I need to work on. This repository is a fork from a template repository.
- The project visibility is set to Internal.
- I can access and interact with the repository through the GitLab web interface without any problems.
- I can successfully clone the repository in PyCharm using the SSH URL, which suggests that I have the necessary permissions.
- However, the repository does not appear in the list when using "Get from Version Control," and I prefer to have it listed there for convenience.
Troubleshooting Steps I've Taken:
-
Checked Personal Access Token (PAT) Scopes:
- Generated a new PAT with the following scopes:
apiread_userread_repository
- Updated PyCharm to use the new token.
- Cleared and reset credentials in PyCharm.
- Generated a new PAT with the following scopes:
-
Verified Repository Permissions and Visibility:
- Confirmed that the repository visibility is set to Internal.
- Ensured that I have access permissions to the repository (I can access it via the web interface).
- Checked that most permissions are set to "Everyone with Access."
- Features like Wiki, Snippets, and "Allow anyone to pull from the package registry" are turned off.
-
Cleared PyCharm Caches and Re-authenticated:
- Went to File > Invalidate Caches / Restart in PyCharm.
- Removed stored GitLab credentials from PyCharm and my system's credential manager.
- Re-added my GitLab account in PyCharm with the new PAT.
-
Attempted to Find Existing Solutions:
- Searched online forums and communities for similar issues.
- Couldn't find any existing discussions that addressed this specific problem.
Additional Information:
- PyCharm Version: PyCharm 2024.2.3
- Operating System: Windows 11 Pro
- GitLab Instance: Self-hosted GitLab
-
Authentication Method: Personal Access Token with
api,read_user, andread_repositoryscopes. - Other Repositories: Other non-forked repositories appear in the "Get from Version Control" list without any issues.
Questions:
- Has anyone else experienced forked GitLab repositories not appearing in PyCharm's "Get from Version Control" list?
- Is there a known limitation or bug with PyCharm's integration with GitLab concerning forked or internal repositories?
- Are there any additional settings or configurations in PyCharm or GitLab that I might have missed to allow forked repositories to appear?
Any help or insights would be greatly appreciated!
Thank you!
Please sign in to leave a comment.
Please try upgrading IDE to the latest version, disabling all non-bundled plugins (**Settings | Plugins**, click the cog icon -> Disable All Downloaded Plugins) and check if the problem persists.
If the problem remains unresolved, we would like to investigate it properly. Please create an issue on YouTrack (https://youtrack.jetbrains.com/newIssue) regarding this problem. Attach relevant logs (Help | Collect Logs and Diagnostic Data), screenshots, precise steps for reproducing the issue and a runnable code/project sample if needed.
For urgent inquiries, please use Help | Contact Support in the IDE.