discourse/lib/tasks
Jeff Wong 271d6319ce 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-08 15:45:47 -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 FEATURE: Hash API keys in the database (#8438) 2019-12-12 11:45:00 +00:00
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_test_topic.rake
build.rake
categories.rake
cdn.rake
db.rake FIX: multisite:migrate failing to properly seed data. 2020-06-23 09:10:02 +08: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-08 15:45:47 -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 DEV: s/\$redis/Discourse\.redis (#8431) 2019-12-03 10:05:53 +01:00
release_note.rake Fix release notes rake task 2019-12-05 11:53:10 -05:00
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 FEATURE: Add support for secure media (#7888) 2019-11-18 11:25:42 +10:00
turbo.rake
typepad.thor DEV: s/\$redis/Discourse\.redis (#8431) 2019-12-03 10:05:53 +01:00
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