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

Organizations should be explicit instead of implicit #10

Open
tjtelan opened this issue Oct 3, 2020 · 0 comments
Open

Organizations should be explicit instead of implicit #10

tjtelan opened this issue Oct 3, 2020 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested

Comments

@tjtelan
Copy link
Owner

tjtelan commented Oct 3, 2020

Namespacing pattern assumptions in URLs needs a revisit.

Organizations embedded in URLs are more of an exception, for example, Azure or GitLab (depending on how subgroups are implemented. It is up to the user though).

Unfortunately, there's too much room for mis-identification, and typical users need to think too hard to override the default behavior.

  • As a user, my git provider does not embed organization in the URL. I expect the parser to handle my URLs as-is.
  • As a user, I know my git provider uses organizations. I'd like to be able to give hints to the parser to find the organization.

Some kind of builder pattern that lets you give hints to the parser for a Git host may suffice?

I'm not sure what this looks like. I don't personally use any git providers that embed organizations in the URL, so more research or feedback from users is needed.


I think one of the main outcomes I want is to have some git provider specializations that are opt-in, since there are certain providers that use URL patterns that are unique. Perhaps this will help typical users.

@tjtelan tjtelan changed the title Consider workflow that supports self-hosted Github/Bitbucket/GitLab for Organization identification Organizations should be explicit instead of implicit May 28, 2022
@tjtelan tjtelan added bug Something isn't working help wanted Extra attention is needed question Further information is requested labels May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant