Skip to content

Rework the logic for avoiding re-sending the system profile more frequently than once a week#2720

Merged
zorgiepoo merged 1 commit intosparkle-project:2.xfrom
danielpunkass:fix-278
Apr 29, 2025
Merged

Rework the logic for avoiding re-sending the system profile more frequently than once a week#2720
zorgiepoo merged 1 commit intosparkle-project:2.xfrom
danielpunkass:fix-278

Conversation

@danielpunkass
Copy link
Copy Markdown
Contributor

@danielpunkass danielpunkass commented Apr 28, 2025

Rework the logic for avoiding re-sending the system profile more frequently than once a week, so that it will not use a potentially problematic binary compare operation.

Fixes #278

Testing

I tested and verified my change by using one or multiple of these methods:

  • Sparkle Test App
  • Unit Tests
  • My own app
  • Line by line debugger evaluation with synthesized date values.

macOS version tested: macOS 15.4.1 (24E263)

…uently than once a week, so that it will not use a potentially problematic binary compare operation. Fixes sparkle-project#278.
@zorgiepoo
Copy link
Copy Markdown
Member

zorgiepoo commented Apr 28, 2025

Thanks. Did you actually see Sparkle re-send the system profile data more frequently than once a week from the original reporter's claim and it being caused by this, or did you just feel like improving this? That will impact how important I find this change and what release to put it in.

@danielpunkass
Copy link
Copy Markdown
Contributor Author

danielpunkass commented Apr 28, 2025

I did not see the behavior, and couldn't reproduce it. So, low priority. I just happened to be scrolling through Sparkle bugs and got curious what the oldest one was ;) By the time I had played around with it trying to reproduce, I thought I might as well submit a PR.

@zorgiepoo
Copy link
Copy Markdown
Member

Gotcha. Works well over here.

@zorgiepoo zorgiepoo added this to the 2.8 milestone Apr 29, 2025
@zorgiepoo zorgiepoo merged commit afc4179 into sparkle-project:2.x Apr 29, 2025
2 checks passed
@danielpunkass danielpunkass deleted the fix-278 branch April 29, 2025 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove binary compare in parameterizedFeedURL method

2 participants