Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An unexpected/incorrect project may be fetched if there are multiple projects with similar names #7

Open
maltem-za opened this issue Nov 16, 2022 · 0 comments

Comments

@maltem-za
Copy link
Member

maltem-za commented Nov 16, 2022

See https://github.com/forTEXT/gitma/blob/main/gitma/project.py#L44

If project_name contains a keyword that appears in the project ID of multiple projects, then depending on the ordering of the results the wrong project may be fetched. We should pass the project ID into this function and fetch directly using that.

Renaming doesn't help as the IDs are constant and the search is based on ID (GitLab project name rather than CATMA project name).

@maltem-za maltem-za changed the title An unexpected/incorrect project may be selected if there are multiple projects with similar names An unexpected/incorrect project may be fetched if there are multiple projects with similar names Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant