Skip to content

Conversation

@bosmattu
Copy link

@bosmattu bosmattu commented Oct 19, 2025

This update introduces Redis 8.2.2 as the new default redis subport while preserving Redis 7.4.2 as redis7 for long-term support and compatibility.

Summary of changes:

  • Added subport redis @8.2.2 (latest OSS release)
  • Moved existing 7.4.2 definition into redis7 subport
  • Updated checksums and distfile metadata for Redis 8.2.2
  • Unified shared build configuration and patches across both subports
  • Added conflicts valkey to prevent binary overlap
  • Retained legacy patches for redis7 only

Description

Type(s)
  • bugfix
  • enhancement
  • security fix
Tested on

macOS x.y
Xcode x.y / Command Line Tools x.y.z

Verification

Have you

  • followed our Commit Message Guidelines?
  • squashed and minimized your commits?
  • checked that there aren't other open pull requests for the same change?
  • referenced existing tickets on Trac with full URL in commit message?
  • checked your Portfile with port lint?
  • tried existing tests with sudo port test?
  • tried a full install with sudo port -vst install?
  • tested basic functionality of all binary files?
  • checked that the Portfile's most important variants haven't been broken?

This update introduces Redis 8.2.2 as the new default redis subport while preserving Redis 7.4.2 as redis7 for long-term support and compatibility.

Summary of changes:

- Added subport redis @8.2.2 (latest OSS release)
- Moved existing 7.4.2 definition into redis7 subport
- Updated checksums and distfile metadata for Redis 8.2.2
- Unified shared build configuration and patches across both subports
- Added conflicts valkey to prevent binary overlap
- Retained legacy patches for redis7 only
-latomic
}
# Global settings common to both subports
revision 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the revision field is specific to each port, so should be set in both subport separately

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

size 3901854

# Avoid co-install with valkey which ships same executables
conflicts valkey
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the same for both subports and should thus be defined above in the main Portfile

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Move the `revision` field from the global scope into each subport (`redis`
and `redis7`), since `revision` is specific to each port. Also move the
`conflicts valkey` line to the main section, as it applies to both subports.

No functional changes; this is a structural cleanup per review feedback.
@bosmattu bosmattu requested a review from reneeotten November 19, 2025 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants