-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add short uri #25
Comments
Is there an advantage to doing it this way when all the info can be detected by copying-and-pasting the repo URL? I assume you're talking about a format like this? Is this for compatibility with something that's already out there? |
Well It was a feature request from @GaryJones |
The BIG advantage I can see is so that any .org hosted plugin whose development is on GitHub or BitBucket doesn't get flagged for updating because of the plugin. WP.org repo plugins should only get an update instruction for .org |
This is still confusing to me. Maybe we could chat on Skype? If the purpose is to provide two ways to configure the updater, it seems redundant. If the purpose it to display a link to Git without firing updates, I think that's better done in a GUI and left up to the user — the plugin's only going to update if the readme version is bumped anyway. |
Or put another way, what is the problem this solves?
These both do the same thing, except that now a user can't copy-and-paste a link, and the definition of |
I'm on call today so Skype won't work but here's where it causes an issue.
This is what I have had as the |
Can you tell me a bit more about supporting |
(Or, just link me to @GaryJones's original feature request.) |
The gist of it was, we had something like: GitHub URL: **https://github.com/**.../... The domain was redundant, since we'd already specified "GitHub" as the plugin header. |
If you want to submit a pull request to allow that with the legacy headers, I'll accept it. As long as we don't document it as an option. It'd also be fine for Git URI: to assume Github if no domain, but again, would rather not document that it allows for that. I think providing two options to config to do the same thing adds confusion (and it's not what a URI is!). |
I'll have to figure out how to add the
<owner>/<repo>
as an option for updating. To effect this the base URI would be placed from the header i.e.,GitHub Plugin URI
=>https://github.com/
BitBucket Plugin URI
=>https://bitbucket.com/
etc.
The text was updated successfully, but these errors were encountered: