Skip to content

Conversation

MahdiBM
Copy link
Contributor

@MahdiBM MahdiBM commented May 1, 2025

Description

'Shared' is too much of a popular word for a target name. Apps that already have a target named 'Shared' won't be able to use that target in combination with this package.
This PR unblocks us to update our Package-Benchmark without having to rename our 'Shared' target.

This PR also adds '.git' to repo URLs since that makes sure we avoid a Xcode-x-SwiftPM bug. After we reported this a bunch of months ago, NIO team have also been updating their packages with this. Can't find a link to that discussion but you can at least see that packages like SwiftNIO are using '.git' (link).

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.

Minimal checklist:

  • I have performed a self-review of my own code
  • I have added DocC code-level documentation for any public interfaces exported by the package
  • I have added unit and/or integration tests that prove my fix is effective or that my feature works

@MahdiBM MahdiBM changed the title Rename 'Shared' target to 'BenchmarkShared' fix(patch): Rename 'Shared' target to 'BenchmarkShared' May 1, 2025
Copy link

codecov bot commented May 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.48%. Comparing base (3db567f) to head (2973454).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #324   +/-   ##
=======================================
  Coverage   69.48%   69.48%           
=======================================
  Files          33       33           
  Lines        3938     3938           
=======================================
  Hits         2736     2736           
  Misses       1202     1202           
Files with missing lines Coverage Δ
Sources/Benchmark/BenchmarkRunner.swift 61.42% <ø> (ø)
Files with missing lines Coverage Δ
Sources/Benchmark/BenchmarkRunner.swift 61.42% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3db567f...2973454. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hassila
Copy link
Contributor

hassila commented May 3, 2025

"This PR also adds '.git' to repo URLs since that makes sure we avoid a Xcode-x-SwiftPM bug."

Could you explain what bug more specifically?

Copy link
Contributor

@hassila hassila left a comment

Choose a reason for hiding this comment

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

Otherwise LGTM, thank you!

@hassila hassila merged commit 5c4569a into ordo-one:main May 3, 2025
17 of 21 checks passed
@MahdiBM
Copy link
Contributor Author

MahdiBM commented May 3, 2025

@hassila found the related issue: swift-server/async-http-client#770 | my comment

Edit: also after this happened, I saw Cory doing PRs in their other repos to work around this bug and also unify the URLs with .git.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants