Skip to content

Conversation

@alainm23
Copy link
Contributor

fix #14
image

@dar5hak
Copy link

dar5hak commented Oct 16, 2024

Looks okay to me as long as we are sure we don't want a hyphen in any part of the identifier.

Do you know if AppCenter or Flathub source code has a similar regex they validate against? If there is, we could use that as a reference.

@danirabbit
Copy link
Contributor

Flatpak docs has some links and examples of bad IDs. Might be an opportunity to write some tests? https://docs.flatpak.org/en/latest/conventions.html#application-ids

@alainm23 alainm23 requested review from a team and removed request for a team, danirabbit, dar5hak, lenemter and ryonakano October 17, 2024 05:56
Copy link
Contributor

@danirabbit danirabbit left a comment

Choose a reason for hiding this comment

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

Is an improvement, but I think I'd still like to see tests in the future to make sure we're covering all the cases correctly

@danirabbit danirabbit merged commit 4f5f79a into main Oct 17, 2024
3 checks passed
@danirabbit danirabbit deleted the fix/14 branch October 17, 2024 19:54
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.

Underscore should be acceptable as an organization identifier

4 participants