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

MissingRemoteId: MissingRemoteId: expand gitlab matching rules #637

Closed
wants to merge 1 commit into from

Conversation

parona-source
Copy link
Contributor

@parona-source parona-source commented Nov 26, 2023

  • Notably handles the particular case with gitlab package hosting.

Bug: #636

@parona-source

This comment was marked as outdated.

@parona-source parona-source changed the title MissingRemoteId: Simplify _gitlab_match to avoid false positives MissingRemoteId: MissingRemoteId: expand gitlab matching rules Nov 27, 2023
@parona-source
Copy link
Contributor Author

parona-source commented Nov 27, 2023

Changed approach to include the reserved words in the regex.

The other notable change to the regex is that I simplified it in addition of complicating it. Went with the idea of "one of more group name match followed by one project name match" rather than "one group name match, followed by zero or more group name matches and one project name match". Made it simpler to include the rules for reserved names.

* Notably handles the particular case with gitlab package hosting.

Bug: pkgcore#636
Signed-off-by: Alfred Wingate <parona@protonmail.com>
@parona-source
Copy link
Contributor Author

Pushed as discussed on IRC.

Copy link
Member

@arthurzam arthurzam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@gentoo-bot gentoo-bot closed this in 26f4edf Dec 8, 2023
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

Successfully merging this pull request may close these issues.

2 participants