gistpad icon indicating copy to clipboard operation
gistpad copied to clipboard

Cannot put wiki repo under organization.

Open bigdrum opened this issue 3 years ago • 2 comments

Describe the bug Currently the wiki mode require the repo to be owned by the login user directly: https://github.com/lostintangent/gistpad/blob/01a3ac2ae3a25f86d78eb09d7aeda3aeeba8ea97/src/repos/store/index.ts#L174

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

Is it possible to relax this restriction?

bigdrum avatar Jan 14 '22 16:01 bigdrum

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.

bigdrum avatar Jan 14 '22 16:01 bigdrum

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

lostintangent avatar Apr 15 '22 18:04 lostintangent