Remove discourse-canned-replies from official list (#22932)

This plugin is no longer supported, and so we no longer need to run its tests in CI

(removing the comment and the 'Canned Replies' value from the array caused syntax_tree to change to the `%w` syntax)
This commit is contained in:
David Taylor 2023-08-02 12:48:20 +01:00 committed by GitHub
parent 17d5e3ec23
commit 13b13a758c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 89 additions and 96 deletions

View File

@ -7,98 +7,94 @@ end
class Plugin::Metadata class Plugin::Metadata
OFFICIAL_PLUGINS ||= OFFICIAL_PLUGINS ||=
Set.new( Set.new(
[ %w[
# TODO: Remove this after everyone upgraded `discourse-canned-replies` discourse-adplugin
# to the renamed version. discourse-affiliate
"Canned Replies", discourse-ai
"discourse-adplugin", discourse-akismet
"discourse-affiliate", discourse-algolia
"discourse-ai", discourse-apple-auth
"discourse-akismet", discourse-assign
"discourse-algolia", discourse-auto-deactivate
"discourse-apple-auth", discourse-automation
"discourse-assign", discourse-bbcode
"discourse-auto-deactivate", discourse-bbcode-color
"discourse-automation", discourse-bcc
"discourse-bbcode", discourse-cakeday
"discourse-bbcode-color", discourse-calendar
"discourse-bcc", discourse-categories-suppressed
"discourse-cakeday", discourse-category-experts
"discourse-calendar", discourse-characters-required
"discourse-canned-replies", discourse-chat-integration
"discourse-categories-suppressed", discourse-code-review
"discourse-category-experts", discourse-crowd
"discourse-characters-required", discourse-data-explorer
"discourse-chat-integration", discourse-details
"discourse-code-review", discourse-docs
"discourse-crowd", discourse-encrypt
"discourse-data-explorer", discourse-follow
"discourse-details", discourse-fontawesome-pro
"discourse-docs", discourse-footnote
"discourse-encrypt", discourse-gamification
"discourse-follow", discourse-github
"discourse-fontawesome-pro", discourse-gradle-issue
"discourse-footnote", discourse-graphviz
"discourse-gamification", discourse-group-tracker
"discourse-github", discourse-invite-tokens
"discourse-gradle-issue", discourse-lazy-videos
"discourse-graphviz", discourse-local-dates
"discourse-group-tracker", discourse-login-with-amazon
"discourse-invite-tokens", discourse-logster-rate-limit-checker
"discourse-lazy-videos", discourse-logster-transporter
"discourse-local-dates", discourse-lti
"discourse-login-with-amazon", discourse-math
"discourse-logster-rate-limit-checker", discourse-moderator-attention
"discourse-logster-transporter", discourse-narrative-bot
"discourse-lti", discourse-newsletter-integration
"discourse-math", discourse-no-bump
"discourse-moderator-attention", discourse-oauth2-basic
"discourse-narrative-bot", discourse-openid-connect
"discourse-newsletter-integration", discourse-patreon
"discourse-no-bump", discourse-perspective-api
"discourse-oauth2-basic", discourse-linkedin-auth
"discourse-openid-connect", discourse-microsoft-auth
"discourse-patreon", discourse-policy
"discourse-perspective-api", discourse-post-voting
"discourse-linkedin-auth", discourse-presence
"discourse-microsoft-auth", discourse-prometheus
"discourse-policy", discourse-prometheus-alert-receiver
"discourse-post-voting", discourse-push-notifications
"discourse-presence", discourse-reactions
"discourse-prometheus", discourse-restricted-replies
"discourse-prometheus-alert-receiver", discourse-rss-polling
"discourse-push-notifications", discourse-salesforce
"discourse-reactions", discourse-saml
"discourse-restricted-replies", discourse-saved-searches
"discourse-rss-polling", discourse-shared-edits
"discourse-salesforce", discourse-signatures
"discourse-saml", discourse-sitemap
"discourse-saved-searches", discourse-solved
"discourse-shared-edits", discourse-spoiler-alert
"discourse-signatures", discourse-staff-alias
"discourse-sitemap", discourse-steam-login
"discourse-solved", discourse-subscriptions
"discourse-spoiler-alert", discourse-teambuild
"discourse-staff-alias", discourse-templates
"discourse-steam-login", discourse-tooltips
"discourse-subscriptions", discourse-topic-voting
"discourse-teambuild", discourse-translator
"discourse-templates", discourse-user-card-badges
"discourse-tooltips", discourse-user-notes
"discourse-topic-voting", discourse-vk-auth
"discourse-translator", discourse-whos-online
"discourse-user-card-badges", discourse-yearly-review
"discourse-user-notes", discourse-zendesk-plugin
"discourse-vk-auth", discourse-zoom
"discourse-whos-online", docker_manager
"discourse-yearly-review", chat
"discourse-zendesk-plugin", poll
"discourse-zoom", styleguide
"docker_manager", checklist
"chat",
"poll",
"styleguide",
"checklist",
], ],
) )

View File

@ -6,13 +6,11 @@ desc "install all official plugins (use GIT_WRITE=1 to pull with write access)"
task "plugin:install_all_official" do task "plugin:install_all_official" do
skip = Set.new(%w[customer-flair poll]) skip = Set.new(%w[customer-flair poll])
map = { "Canned Replies" => "https://github.com/discourse/discourse-canned-replies" }
STDERR.puts "Allowing write to all repos!" if ENV["GIT_WRITE"] STDERR.puts "Allowing write to all repos!" if ENV["GIT_WRITE"]
Plugin::Metadata::OFFICIAL_PLUGINS.each do |name| Plugin::Metadata::OFFICIAL_PLUGINS.each do |name|
next if skip.include? name next if skip.include? name
repo = map[name] || "https://github.com/discourse/#{name}" repo = "https://github.com/discourse/#{name}"
dir = repo.split("/").last dir = repo.split("/").last
path = File.expand_path("plugins/" + dir) path = File.expand_path("plugins/" + dir)

View File

@ -45,7 +45,6 @@ TEXT
official("discourse-adplugin") official("discourse-adplugin")
official("discourse-akismet") official("discourse-akismet")
official("discourse-cakeday") official("discourse-cakeday")
official("Canned Replies")
official("discourse-data-explorer") official("discourse-data-explorer")
unofficial("babble") unofficial("babble")
end end