How about multiple updater resource URLs? #294
-
Hello, In Yellow it is already possible to configure update urls/files for themes and plugins. Now I'm wondering if the updater can handle multiple repository URLs to e.g. update 3rd-party plugins and themes from the command line or webinterface. As an example:
If this is possible, I could move my plugins into a centralized repository like the official one and users don't have to track each plugin repository for changes, even though they don't happen that often. Steffen. |
Beta Was this translation helpful? Give feedback.
Replies: 15 comments
-
Hello Steffen, it's a good idea. At the moment only the official plugins/themes use the software update, in the future all plugin/themes should be able to do that. I think the main question is how to make installation and maintenance of a website easier. Here are my thoughts. The software update is not finalised yet, for example the file format will change. A single URL doesn't need configuration by the user, for example 3rd-party software can be listed there as well. I am not against multiple URLs, I am just thinking out loud what alternative would be good for developers and users. Can we wait before releasing the update to all developers? |
Beta Was this translation helpful? Give feedback.
-
See also #187 |
Beta Was this translation helpful? Give feedback.
-
You could put the update repository URL into each plugin's update.ini. Upon plugin installation the update URL, if not already exists, can be automatically appended to a list of URLs in But there's no need to hurry up, this just popped up in my brain as an idea for possible future development. :) Steffen |
Beta Was this translation helpful? Give feedback.
-
I'm undecided here... A URL for each plugin sounds nice since the developers are free to set up their own repositories which result in less interaction with the core development. BUT this is also a negative point. If the plugins aren't listed in a global super duper main repository and split up, one loses control and make the change/requirement tracing harder. For example an API change which would break some of the plugins could be undiscovered and result in unhappy users when the updated installation begins to fail. While thinking about this, the real problem is to remember the plugin developers to update their plugins to a prerelease before the final release. At the moment there're not that many plugin developers but it might change over time and this could emerge to a real problem. From the users perspective it's not important where the updates are downloaded from. It's essential the plugins work all together and the download source can be trusted (not injecting bad code). |
Beta Was this translation helpful? Give feedback.
-
In the meantime there's a new release plugin for developers. It's an experimental feature and I added three of Steffen's plugins (audio, podcast, ticker). How does it work? If there's a new version for one of your plugins, you run the release command at the command line. This will update all necessary files. For example the version number in your own repository and in the official repository. Upload the changes to GitHub and send a pull request. As soon as the pull request is merged, the new version will be available via software update. Steffen, please give it a try and let me know how it works. |
Beta Was this translation helpful? Give feedback.
-
OK, the release command seem to work properly for my own plugins, just tested in a debian subsystem under windows. However I'm still a little confused by the workflow, so just to clarify:
The first release command only updates files in my own repository. If I execute the release command against my fork of the official plugins and theme repositories after creating my own release, the only thing that happens is that every plugin and theme in these repositories have their publication date updated in Steffen |
Beta Was this translation helpful? Give feedback.
-
Thank you for the detailed feedback. I improved the release plugin to make it less complicated to use. Please adjust the new setting The workflow for a plugin looks like this, once everything is configured:
|
Beta Was this translation helpful? Give feedback.
-
Is it possible to use |
Beta Was this translation helpful? Give feedback.
-
Good idea, I added the feature to the release command. Thanks a lot for testing. |
Beta Was this translation helpful? Give feedback.
-
Thanks, but unfortunately it doesn't work. If I enter |
Beta Was this translation helpful? Give feedback.
-
Found the bug, should be working with latest release plugin. Please try again, Steffen |
Beta Was this translation helpful? Give feedback.
-
Thanks, works perfectly now. Expect a pull request later this day. :) |
Beta Was this translation helpful? Give feedback.
-
Here's a summary of what's possible now:
Are you happy with this solution? |
Beta Was this translation helpful? Give feedback.
-
Thank you, this is a very good solution. A little like composer, but much cooler. :) Especially for new installations it is now possible to quickly set up all needed plugins/themes without manually downloading them from the repositories. |
Beta Was this translation helpful? Give feedback.
-
In the meantime the update mechanism has been simplified. Now all extensions are stored in individual repositories, there is no longer a differentiation between 3rd party extensions and official extensions. The software updater will download update settings for available extensions from the file |
Beta Was this translation helpful? Give feedback.
Here's a summary of what's possible now:
Are you happy with this solution?