discourse/lib/tasks
Jeff Wong 339549d14a
Support plugin and Theme compatibility version manifests (#9995)
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.
2020-07-06 14:48:00 -07:00
..
add_topic_to_quotes.rake
admin.rake FIX: RANDOM_PASSWORD not working rake admin:create 2020-03-15 17:24:11 +11:00
api.rake
assets.rake DEV: Add stub flush_sw task to prevent rebuild errors (#10021) 2020-06-10 13:07:37 -07:00
auto_annotate_models.rake
autospec.rake
avatars.rake
backfill.thor
bookmarks.rake Revert "Revert "Merge branch 'master' of https://github.com/discourse/discourse"" 2020-05-23 00:56:13 -04:00
build.rake
build_test_topic.rake
categories.rake
cdn.rake
db.rake DEV: Refactor seed data filter 2020-06-26 14:36:50 -06:00
destroy.rake
docker.rake Revert "DEV: Remove the remaining ENV["TRAVIS"] usage (#10041)" 2020-06-16 19:42:00 +02:00
emails.rake Let's not log the username/password 2020-03-11 12:48:10 -04:00
emoji.rake FEATURE: Nokogumbo (#9577) 2020-05-05 13:46:57 +10:00
export.rake FEATURE: Rake task to export groups (#9450) 2020-04-17 14:59:54 -07:00
groups.rake
i18n.rake
images.rake
import.rake DEV: notify when the rake ask is completed 2020-06-04 12:00:06 +05:30
incoming_emails.rake
integration.rake
javascript.rake DEV: ensures highlightjs is correctly tested (#9923) 2020-05-29 13:05:44 +02:00
maxminddb.rake
plugin.rake Support plugin and Theme compatibility version manifests (#9995) 2020-07-06 14:48:00 -07:00
populate.thor
posts.rake
qunit.rake DEV: use REPORT_REQUESTS=1 to find all requests 2020-04-02 16:01:49 +11:00
redis.rake
release_note.rake
rspec.rake
s3.rake FIX: S3 rake task can ignore yarn.lock 2020-04-29 13:14:04 -04:00
scheduler.rake
search.rake
site_settings.rake
smoke_test.rake
svg_icons.rake
tags.rake FEATURE: Support append when bulk tagging via rake (#9978) 2020-06-04 09:33:48 -04:00
themes.rake FEATURE: whitelist theme repo mode (experimental) 2020-06-03 13:19:57 +10:00
topics.rake
turbo.rake
typepad.thor
uploads.rake FEATURE: Add uploads:batch_migrate_from_s3 task to limit total posts migrated at once (#9933) 2020-06-04 09:48:11 +10:00
users.rake