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 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 REFACTOR: Cleanup rake tasks based on feedback 2019-07-18 19:15:01 -06:00
cdn.rake
db.rake DEV: Refactor seed data filter 2020-06-26 14:36:50 -06:00
destroy.rake REFACTOR: Cleanup rake tasks based on feedback 2019-07-18 19:15:01 -06:00
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 FEATURE: Remove attachments and truncate raw field for incoming emails (#8253) 2019-10-30 16:54:35 +11:00
integration.rake
javascript.rake DEV: ensures highlightjs is correctly tested (#9923) 2020-05-29 13:05:44 +02:00
maxminddb.rake FIX: maxminddb:get task no longer working 2019-10-04 09:47:33 +10:00
plugin.rake Support plugin and Theme compatibility version manifests (#9995) 2020-07-06 14:48:00 -07:00
populate.thor DEV: prevents populate task to crash (#8111) 2019-09-22 05:18:48 -07:00
posts.rake DEV: pluck_first 2019-10-21 12:08:20 +01:00
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 FIX: DistributedMutex (#7953) 2019-08-01 09:12:05 +01:00
search.rake
site_settings.rake
smoke_test.rake DEV: Add env variable to allow easier debugging of smoke tests 2019-10-24 17:48:15 +02:00
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