mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 18:43:37 +08:00
339549d14a
Adds a new rake task `plugin:checkout_compatible_all` and `plugin:checkout_compatible[plugin-name]` that check out compatible plugin versions. Supports a .discourse-compatibility file in the root of plugins and themes that list out a plugin's compatibility with certain discourse versions: eg: .discourse-compatibility ``` 2.5.0.beta6: some-git-hash 2.4.4.beta4: some-git-tag 2.2.0: git-reference ``` This ensures older Discourse installs are able to find and install older versions of plugins without intervention, through the manifest only. It iterates through the versions in descending order. If the current Discourse version matches an item in the manifest, it checks out the listed plugin target. If the Discourse version is greater than an item in the manifest, it checks out the next highest version listed in the manifest. If no versions match, it makes no change. |
||
---|---|---|
.. | ||
add_topic_to_quotes.rake | ||
admin.rake | ||
api.rake | ||
assets.rake | ||
auto_annotate_models.rake | ||
autospec.rake | ||
avatars.rake | ||
backfill.thor | ||
bookmarks.rake | ||
build_test_topic.rake | ||
build.rake | ||
categories.rake | ||
cdn.rake | ||
db.rake | ||
destroy.rake | ||
docker.rake | ||
emails.rake | ||
emoji.rake | ||
export.rake | ||
groups.rake | ||
i18n.rake | ||
images.rake | ||
import.rake | ||
incoming_emails.rake | ||
integration.rake | ||
javascript.rake | ||
maxminddb.rake | ||
plugin.rake | ||
populate.thor | ||
posts.rake | ||
qunit.rake | ||
redis.rake | ||
release_note.rake | ||
rspec.rake | ||
s3.rake | ||
scheduler.rake | ||
search.rake | ||
site_settings.rake | ||
smoke_test.rake | ||
svg_icons.rake | ||
tags.rake | ||
themes.rake | ||
topics.rake | ||
turbo.rake | ||
typepad.thor | ||
uploads.rake | ||
users.rake |