Skip to content

Conversation

@N6REJ
Copy link
Contributor

@N6REJ N6REJ commented Aug 19, 2025

PR Type

Enhancement


Description

  • Add memcached version 1.6.39 support

  • Update bundle release date to 2025.8.20

  • Add configuration files for versions 1.6.37 and 1.6.39

  • Update releases registry with new version


Diagram Walkthrough

flowchart LR
  A["New memcached 1.6.37 config"] --> C["Bundle update"]
  B["New memcached 1.6.39 config"] --> C
  C --> D["Release registry update"]
  C --> E["Bundle release 2025.8.20"]
Loading

File Walkthrough

Relevant files
Configuration changes
bearsampp.conf
Add memcached 1.6.37 configuration file                                   

bin/memcached1.6.37/bearsampp.conf

  • Add new configuration file for memcached version 1.6.37
  • Set default memory to 512MB and port to 11211
+6/-0     
bearsampp.conf
Add memcached 1.6.39 configuration file                                   

bin/memcached1.6.39/bearsampp.conf

  • Add new configuration file for memcached version 1.6.39
  • Set default memory to 512MB and port to 11211
+6/-0     
build.properties
Update bundle release date                                                             

build.properties

  • Update bundle release date from 2025.4.19 to 2025.8.20
  • Remove empty line for cleaner formatting
+1/-2     
releases.properties
Add memcached 1.6.39 release entry                                             

releases.properties

  • Add new release entry for memcached 1.6.39
  • Point to 2025.8.20 release download URL
+1/-0     

@N6REJ N6REJ added the enhancement ✨ Improve program label Aug 19, 2025
@qodo-code-review
Copy link
Contributor

qodo-code-review bot commented Aug 19, 2025

PR Reviewer Guide 🔍

(Review updated until commit 531a2f7)

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Consistency

Validate that the default memory and port values align with existing versions and that the placeholder @RELEASE_VERSION@ is correctly replaced by the build pipeline.

memcachedVersion = "1.6.37"
memcachedExe = "memcached.exe"
memcachedMemory = "512"
memcachedPort = "11211"

bundleRelease = "@RELEASE_VERSION@"
Consistency

Ensure configuration mirrors previous supported versions and that @RELEASE_VERSION@ substitution occurs correctly in packaging.

memcachedVersion = "1.6.39"
memcachedExe = "memcached.exe"
memcachedMemory = "512"
memcachedPort = "11211"

bundleRelease = "@RELEASE_VERSION@"
URL Accuracy

Double-check the new 1.6.39 download URL and date formatting match release tagging conventions and that older entries (e.g., 1.6.29) have correct dates.

1.6.6 = https://github.com/Bearsampp/module-memcached/releases/download/2022.07.14/bearsampp-memcached-1.6.6-2022.07.14.7z
1.6.15 = https://github.com/Bearsampp/module-memcached/releases/download/2022.08.04/bearsampp-memcached-1.6.15-2022.08.04.7z
1.6.17 = https://github.com/Bearsampp/module-memcached/releases/download/2022.09.26/bearsampp-memcached-1.6.17-2022.09.24.7z
1.6.18 = https://github.com/Bearsampp/module-memcached/releases/download/2023.3.5/bearsampp-memcached-1.6.18-2023.3.5.7z
1.6.21 = https://github.com/Bearsampp/module-memcached/releases/download/2023.10.1/bearsampp-memcached-1.6.21-2023.10.1.7z
1.6.24 = https://github.com/Bearsampp/module-memcached/releases/download/2024.3.30/bearsampp-memcached-1.6.24-2024.3.30.7z
1.6.29 = https://github.com/Bearsampp/module-memcached/releases/download/2024.7.29/bearsampp-memcached-1.6.29-2024.10.7.7z
1.6.31 = https://github.com/Bearsampp/module-memcached/releases/download/2024.10.7/bearsampp-memcached-1.6.31-2024.10.7.7z
1.6.32 = https://github.com/Bearsampp/module-memcached/releases/download/2024.12.1/bearsampp-memcached-1.6.32-2024.12.1.7z
1.6.33 = https://github.com/Bearsampp/module-memcached/releases/download/2024.12.23/bearsampp-memcached-1.6.33-2024.12.23.7z
1.6.36 = https://github.com/Bearsampp/module-memcached/releases/download/2025.2.11/bearsampp-memcached-1.6.36-2025.2.11.7z
1.6.38 = https://github.com/Bearsampp/module-memcached/releases/download/2025.4.19/bearsampp-memcached-1.6.38-2025.4.19.7z
1.6.39 = https://github.com/Bearsampp/module-memcached/releases/download/2025.8.20/bearsampp-memcached-1.6.39-2025.8.20.7z

@qodo-code-review
Copy link
Contributor

qodo-code-review bot commented Aug 19, 2025

PR Code Suggestions ✨

Latest suggestions up to c6665ba

CategorySuggestion                                                                                                                                    Impact
Possible issue
Remove stray BOM character
Suggestion Impact:The commit removed the stray BOM at the beginning of the file, aligning with the suggestion.

code diff:

@@ -1,4 +1,4 @@
-memcachedVersion = "1.6.37"
+memcachedVersion = "1.6.37"

Remove the leading UTF-8 BOM character from bin/memcached1.6.39/bearsampp.conf
to prevent potential parsing errors.

bin/memcached1.6.39/bearsampp.conf [1]

-memcachedVersion = "1.6.39"
+memcachedVersion = "1.6.39"

[Suggestion processed]

Suggestion importance[1-10]: 8

__

Why: The suggestion correctly identifies a hidden UTF-8 BOM character (\ufeff) that can cause parsing errors and is a likely bug. Removing it is crucial for ensuring the configuration file works correctly.

Medium
General
Use numeric literals for numbers

Remove the quotes from numeric values for memcachedMemory and memcachedPort in
the configuration file.

bin/memcached1.6.37/bearsampp.conf [1-6]

 memcachedVersion = "1.6.37"
 memcachedExe = "memcached.exe"
-memcachedMemory = "512"
-memcachedPort = "11211"
+memcachedMemory = 512
+memcachedPort = 11211
 
 bundleRelease = "@RELEASE_VERSION@"
  • Apply / Chat
Suggestion importance[1-10]: 2

__

Why: The suggestion is a stylistic preference, as most configuration parsers for this format treat all values as strings. The change is unlikely to affect functionality but could be considered for consistency if unquoted numbers are a project convention.

Low
  • More

Previous suggestions

✅ Suggestions up to commit 9715a38
CategorySuggestion                                                                                                                                    Impact
Possible issue
Remove stray UTF-8 BOM
Suggestion Impact:The commit removed the UTF-8 BOM from the first line of the configuration file, matching the suggestion.

code diff:

-memcachedVersion = "1.6.37"
+memcachedVersion = "1.6.37"

Remove the UTF-8 BOM character from the start of
bin/memcached1.6.37/bearsampp.conf to prevent potential parsing errors.

bin/memcached1.6.37/bearsampp.conf [1]

-memcachedVersion = "1.6.37"
+memcachedVersion = "1.6.37"

[Suggestion processed]

Suggestion importance[1-10]: 8

__

Why: The suggestion correctly identifies a UTF-8 BOM at the start of the configuration file, which is a subtle but critical issue that would likely cause parsing failures and prevent the application from starting correctly.

Medium
Strip BOM from config start
Suggestion Impact:The committed change removed the BOM character from the first line of the configuration file, matching the suggestion.

code diff:

@@ -1,4 +1,4 @@
-memcachedVersion = "1.6.39"
+memcachedVersion = "1.6.39"

Remove the UTF-8 BOM character from the start of
bin/memcached1.6.39/bearsampp.conf to prevent potential parsing errors.

bin/memcached1.6.39/bearsampp.conf [1]

-memcachedVersion = "1.6.39"
+memcachedVersion = "1.6.39"

[Suggestion processed]

Suggestion importance[1-10]: 8

__

Why: The suggestion correctly identifies a UTF-8 BOM at the start of the configuration file, which is a subtle but critical issue that would likely cause parsing failures and prevent the application from starting correctly.

Medium
✅ Suggestions up to commit d0a0815
CategorySuggestion                                                                                                                                    Impact
Possible issue
Align artifact name and format

Align the artifact name and format for the new 1.6.39 release in
releases.properties. The current memcached-1.6.39.zip format is inconsistent
with the bearsampp-memcached--.7z pattern used for all other releases.

releases.properties [12]

-1.6.39 = https://github.com/Bearsampp/module-memcached/releases/download/2025.8.20/memcached-1.6.39.zip
+1.6.39 = https://github.com/Bearsampp/module-memcached/releases/download/2025.8.20/bearsampp-memcached-1.6.39-2025.8.20.7z

[Suggestion processed]

Suggestion importance[1-10]: 9

__

Why: The suggestion correctly identifies a significant inconsistency in the release artifact URL, which could break automation that relies on the established naming and packaging convention.

High
Remove BOM from config
Suggestion Impact:The commit removed the BOM at the start of the file, updating the memcachedVersion line accordingly.

code diff:

@@ -1,4 +1,4 @@
-memcachedVersion = "1.6.37"
+memcachedVersion = "1.6.37"

Remove the leading invisible BOM character from
bin/memcached1.6.37/bearsampp.conf. This character can break configuration
parsers and cause the memcachedVersion key to be misread.

bin/memcached1.6.37/bearsampp.conf [1]

-memcachedVersion = "1.6.37"
+memcachedVersion = "1.6.37"
Suggestion importance[1-10]: 7

__

Why: The suggestion correctly identifies a leading BOM character that could cause parsing failures, preventing a potential runtime error.

Medium
Strip BOM from config
Suggestion Impact:The commit removed the BOM character at the start of the configuration file, matching the suggestion.

code diff:

@@ -1,4 +1,4 @@
-memcachedVersion = "1.6.39"
+memcachedVersion = "1.6.39"

Remove the leading BOM character from the start of
bin/memcached1.6.39/bearsampp.conf. This character can cause parsing issues and
prevent the first key from being read correctly.

bin/memcached1.6.39/bearsampp.conf [1]

-memcachedVersion = "1.6.39"
+memcachedVersion = "1.6.39"
Suggestion importance[1-10]: 7

__

Why: The suggestion correctly identifies a leading BOM character that could cause parsing failures, preventing a potential runtime error.

Medium
✅ Suggestions up to commit e2bfbfa
CategorySuggestion                                                                                                                                    Impact
Possible issue
Fix incorrect version value
Suggestion Impact:The commit updated the memcachedVersion value to "1.6.39" exactly as suggested.

code diff:

-memcachedVersion = "1.6.37"
+memcachedVersion = "1.6.39"

In bin/memcached1.6.39/bearsampp.conf, update the memcachedVersion from "1.6.37"
to "1.6.39" to match the version specified in the directory name.

bin/memcached1.6.39/bearsampp.conf [1]

-memcachedVersion = "1.6.37"
+memcachedVersion = "1.6.39"
Suggestion importance[1-10]: 8

__

Why: The suggestion correctly identifies a version mismatch in the configuration file, which is a likely copy-paste error that could cause runtime or packaging issues.

Medium
Align release artifact naming
Suggestion Impact:The commit changed the 1.6.39 URL from memcached-1.6.39.zip to bearsampp-memcached-1.6.39-2025.8.20.7z, aligning it with the established naming convention.

code diff:

-1.6.39 = https://github.com/Bearsampp/module-memcached/releases/download/2025.8.20/memcached-1.6.39.zip
 1.6.38 = https://github.com/Bearsampp/module-memcached/releases/download/2025.4.19/bearsampp-memcached-1.6.38-2025.4.19.7z
+1.6.39 = https://github.com/Bearsampp/module-memcached/releases/download/2025.8.20/bearsampp-memcached-1.6.39-2025.8.20.7z

In releases.properties, update the URL for version 1.6.39 to follow the
established naming convention and .7z file extension used by other releases.

releases.properties [12]

-1.6.39 = https://github.com/Bearsampp/module-memcached/releases/download/2025.8.20/memcached-1.6.39.zip
+1.6.39 = https://github.com/Bearsampp/module-memcached/releases/download/2025.8.20/bearsampp-memcached-1.6.39-2025.8.20.7z
Suggestion importance[1-10]: 7

__

Why: The suggestion correctly points out an inconsistency in the release artifact URL format compared to all other entries, which could break automated tooling that relies on this pattern.

Medium
General
Remove stray BOM character
Suggestion Impact:The commit removed the stray BOM at the beginning of the file, aligning with the suggestion.

code diff:

@@ -1,4 +1,4 @@
-memcachedVersion = "1.6.37"
+memcachedVersion = "1.6.37"

Remove the leading UTF-8 BOM character from bin/memcached1.6.37/bearsampp.conf
to prevent potential parsing issues across different environments.

bin/memcached1.6.37/bearsampp.conf [1]

-memcachedVersion = "1.6.37"
+memcachedVersion = "1.6.37"
Suggestion importance[1-10]: 5

__

Why: The suggestion correctly identifies a UTF-8 BOM at the start of the file, which is bad practice and can cause parsing issues with some tools.

Low
✅ Suggestions up to commit 4b0e86c
CategorySuggestion                                                                                                                                    Impact
Possible issue
Fix incorrect version string
Suggestion Impact:The commit updated the memcachedVersion string from 1.6.37 to 1.6.39 exactly as suggested.

code diff:

-memcachedVersion = "1.6.37"
+memcachedVersion = "1.6.39"

Update the version string to match the 1.6.39 directory to avoid mismatched
configuration and runtime confusion. This prevents tools from detecting the
wrong version and pulling incorrect binaries or settings.

bin/memcached1.6.39/bearsampp.conf [1]

-memcachedVersion = "1.6.37"
+memcachedVersion = "1.6.39"

[Suggestion processed]

Suggestion importance[1-10]: 10

__

Why: The suggestion correctly identifies a critical copy-paste error where memcachedVersion is set to 1.6.37 in a configuration file for version 1.6.39, which would likely cause runtime issues.

High
Correct release artifact URL
Suggestion Impact:The commit updated the 1.6.39 URL to the bearsampp-memcached-1.6.39-2025.8.20.7z format, matching the suggested artifact naming, and also added 1.6.38.

code diff:

-1.6.39 = https://github.com/Bearsampp/module-memcached/releases/download/2025.8.20/memcached-1.6.39.zip
+1.6.38 = https://github.com/Bearsampp/module-memcached/releases/download/2025.4.19/bearsampp-memcached-1.6.38-2025.4.19.7z
+1.6.39 = https://github.com/Bearsampp/module-memcached/releases/download/2025.8.20/bearsampp-memcached-1.6.39-2025.8.20.7z

Align the artifact naming with prior entries to maintain automated download
compatibility. Use the established 'bearsampp-memcached--.7z' pattern unless the
distribution intentionally changed.

releases.properties [12]

-1.6.39 = https://github.com/Bearsampp/module-memcached/releases/download/2025.8.20/memcached-1.6.39.zip
+1.6.39 = https://github.com/Bearsampp/module-memcached/releases/download/2025.8.20/bearsampp-memcached-1.6.39-2025.8.20.7z

[Suggestion processed]

Suggestion importance[1-10]: 9

__

Why: The suggestion correctly points out that the new release URL format is inconsistent with all previous entries, which could break automated scripts, and proposes a fix to align it with the established pattern.

High
General
Remove BOM from config
Suggestion Impact:The commit removed the BOM at the start of the file, changing the first line from a BOM-prefixed key to a normal ASCII line.

code diff:

@@ -1,4 +1,4 @@
-memcachedVersion = "1.6.37"
+memcachedVersion = "1.6.37"

Remove the leading byte order mark (BOM) to ensure parsers that expect plain
ASCII/UTF-8 without BOM can read the file correctly. Some simple INI loaders may
fail or misread the first key.

bin/memcached1.6.37/bearsampp.conf [1]

-memcachedVersion = "1.6.37"
+memcachedVersion = "1.6.37"

[Suggestion processed]

Suggestion importance[1-10]: 7

__

Why: The suggestion correctly identifies a Byte Order Mark (BOM) at the start of the file, which can cause parsing issues with some tools, and recommends its removal to improve compatibility.

Medium

@@ -10,3 +10,4 @@
1.6.33 = https://github.com/Bearsampp/module-memcached/releases/download/2024.12.23/bearsampp-memcached-1.6.33-2024.12.23.7z
1.6.36 = https://github.com/Bearsampp/module-memcached/releases/download/2025.2.11/bearsampp-memcached-1.6.36-2025.2.11.7z
1.6.38 = https://github.com/Bearsampp/module-memcached/releases/download/2025.4.19/bearsampp-memcached-1.6.38-2025.4.19.7z
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggestion: Align artifact name and format

Suggested change
1.6.38 = https://github.com/Bearsampp/module-memcached/releases/download/2025.4.19/bearsampp-memcached-1.6.38-2025.4.19.7z
1.6.39 = https://github.com/Bearsampp/module-memcached/releases/download/2025.8.20/bearsampp-memcached-1.6.39-2025.8.20.7z

N6REJ and others added 2 commits September 23, 2025 01:53
Co-authored-by: qodo-merge-pro[bot] <151058649+qodo-merge-pro[bot]@users.noreply.github.com>
Co-authored-by: qodo-merge-pro[bot] <151058649+qodo-merge-pro[bot]@users.noreply.github.com>
@qodo-code-review
Copy link
Contributor

PR Code Suggestions ✨

No code suggestions found for the PR.

@N6REJ
Copy link
Contributor Author

N6REJ commented Sep 23, 2025

Ready to Release

@N6REJ N6REJ merged commit b1125e8 into main Sep 27, 2025
@N6REJ N6REJ deleted the 1.6.39 branch September 27, 2025 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement ✨ Improve program

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants