0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-12 02:52:01 +08:00
discourse/lib/tasks
Loïc Guitaut 9d144cac4b
DEV: Bump latest branch version on security fixes (#37774)
When security fixes are staged for the main branch via the
`stage_security_fixes` task, the development version is now
automatically incremented (e.g. `2026.2.0-latest` to
`2026.2.0-latest.1`). This ensures each security fix batch gets its own
tagged version, allowing docker_manager to detect that installations on
`latest` need a critical update.

To support this, a new `ReleaseUtils::Version` value object encapsulates
version parsing, comparison, and manipulation logic that was previously
done through ad-hoc string splitting and `Gem::Version` comparisons in
release.rake. It understands Discourse's versioning scheme
(major.minor.patch-pre.revision) and provides methods like
`#next_revision`, `#same_development_cycle?`, and
`#next_development_cycle`.

All existing rake tasks have been refactored to use `Version` objects,
the unused `parse_current_version` helper and
`prepare_next_version_branch` task have been removed, and the release
specs have been rewritten following RSpec style guide conventions.
2026-02-26 11:10:55 +01:00
..
add_topic_to_quotes.rake
admin.rake FEATURE: open the discourse-id gates (#34949) 2025-09-24 16:59:07 +02:00
annotate.rake DEV: Upgrade Rails to version 8.0.2 2025-07-22 09:59:44 +02:00
annotate_rb.rake DEV: Upgrade Rails to version 8.0.2 2025-07-22 09:59:44 +02:00
api.rake
api_docs.rake FIX: only load the api-docs rake task definition when required gems are available (#35432) 2025-10-16 12:36:53 +08:00
assets.rake DEV: Cache AssetProcessor code in development (#38036) 2026-02-25 11:24:41 +00:00
autospec.rake
avatars.rake
backfill.thor
categories.rake
cdn.rake
compatibility.rake
db.rake DEV: Harden TemporaryDb for reliability and parallel safety (#37881) 2026-02-18 10:13:45 +01:00
destroy.rake DEV: Add rake task to bulk delete posts (#31642) 2025-03-05 09:31:23 +08:00
dev.rake
docker.rake DEV: Run playwright-install in docker:test task (#36428) 2025-12-03 17:19:28 +01:00
documentation.rake
emails.rake DEV: Refactor email checks to use error classes and more specific error messages 2025-11-04 23:42:14 -05:00
export.rake
groups.rake
hashtags.rake
i18n.rake
images.rake
import.rake DEV: Fix already initialized constant warnings (#35854) 2025-11-06 01:02:10 +01:00
incoming_emails.rake
javascript.rake FIX: Staff group causing errors in upcoming changes from localization (#37797) 2026-02-25 09:07:40 +10:00
list_email_templates_strings.rake
log.rake
maxminddb.rake DEV: remove unused maxmind_thread variable (#37436) 2026-02-02 18:50:04 +11:00
migrate_advanced_search_banner_to_welcome_banner.rake FIX: improves search banner migration scripts (#36192) 2025-11-24 17:37:53 +08:00
plugin.rake DEV: Enforce deprecation-free tests for preinstalled plugins/themes (#36445) 2025-12-16 17:48:29 -03:00
populate.rake
populate.thor
posts.rake FIX: PG::UniqueViolation for PostTimings in posts:reorder_posts rake task when PostTiming records have no corresponding Post (#35212) 2025-10-08 18:48:21 +02:00
profile.rake
qunit.rake DEV: Refactor all js testing into bin/qunit (#35785) 2025-11-15 07:29:18 +11:00
redis.rake
release.rake DEV: Bump latest branch version on security fixes (#37774) 2026-02-26 11:10:55 +01:00
release_note.rake DEV: Fix already initialized constant warnings (#35854) 2025-11-06 01:02:10 +01:00
reviewables.rake DEV: fix a large amount of typos (#37428) 2026-02-02 16:31:58 +11:00
revisions.rake
rspec.rake DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
s3.rake DEV: Add setting to tag s3 objects enabling tag based access control policies (#32988) 2025-06-16 13:26:18 +08:00
scheduler.rake
search.rake
site.rake FIX: Return file paths from FileStore download methods (#37760) 2026-02-17 11:56:50 +01:00
site_settings.rake
smoke_test.rake
svg_icons.rake
svg_sprites.rake
tags.rake
themes.rake DEV: Enforce deprecation-free tests for preinstalled plugins/themes (#36445) 2025-12-16 17:48:29 -03:00
topic_localizations.rake DEV: Add rake task to backfill localization excerpts which were empty (#36901) 2025-12-30 17:04:36 +08:00
topics.rake DEV: Hand-pick Rails/WhereNot autofixes (#35117) 2025-10-03 13:29:22 +02:00
turbo.rake
typepad.thor
uploads.rake FIX: Return file paths from FileStore download methods (#37760) 2026-02-17 11:56:50 +01:00
users.rake