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

Cannot put wiki repo under organization. #268

Open
bigdrum opened this issue Jan 14, 2022 · 2 comments
Open

Cannot put wiki repo under organization. #268

bigdrum opened this issue Jan 14, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@bigdrum
Copy link

bigdrum commented Jan 14, 2022

Describe the bug
Currently the wiki mode require the repo to be owned by the login user directly:

(repo: Repository) => repo.isWiki && repo.name.startsWith(mainStore.login)

But I would like to have the wiki mode repo put under an organization.

Is it possible to relax this restriction?

@bigdrum bigdrum added the bug Something isn't working label Jan 14, 2022
@bigdrum
Copy link
Author

bigdrum commented Jan 14, 2022

Probably the logic can be changed to:

If there is only one repo "isWiki" then use it regardless the name. The name condition is only used for more than one repo case.

@lostintangent
Copy link
Owner

Yep this proposal makes sense! I'll make this change in the next extension update (later this week).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants