-
Notifications
You must be signed in to change notification settings - Fork 1
Rename package name to swift-tracing
#78
Comments
Right - once matured a bit and PoCed in a few real tracers we anticipate to pitch this project to the SSWG, rename and most likely move to swift-server or another organization which makes sense to indicate that this package is "the" standard. Renames would touch both the repo and module names. The same for the baggage context repository. I hope we could be trying to do this soon after the GSoC period. |
My point is that, assuming you consider current API reasonably stable, the package name could be changed before repo change; dependencies: [
// needs to be updated
.package(url: "https://github.com/slashmo/gsoc-swift-tracing.git", .branch("main")),
],
targets: [
.target(
name: "AnInstrument",
dependencies: [
// .product(name: "Instrumentation", package: "gsoc-swift-tracing"),
// stays the same
.product(name: "Instrumentation", package: "swift-tracing"),
]
), |
Sure, we could do that, but It's somewhat parallel to considering anything stable or not. I'd suggest to be careful with assuming the only change would be just changing the url. It's true that even github handles redirects well in that case, and yea if the API is "done-ish" it'd be just a change or location. In reality the APIs could also be changing during SSWG review period as we uncover more things that need adjusting etc. So yeah we can do that but I don't think the benefit is as huge as one might imagine -- 1 line change vs 2 line change. Do you have a specific reason in mind why this change would be very beneficial right now, other than not wanting the gsoc- prefix in the module just for visual reasons? I don't mind changing right now btw, it's just that I don't think this changes much in reality :-) |
Summing up though: sure, we can change it now, I don't anticipate trouble originating from it. |
Its pure marketing ;-) For libraries/tools adding dependency on
then again I dont know how much the API is stable or is likely to be changed during review later on |
It's not stable at all but we can change the artifact name IF we know we'll move the repo somewhere else and this one will go away -- because otherwise it would end up pretty confusing. I assume @slashmo is on board with this plan as we talked over it a few times, but to sanity check ccing here @slashmo. |
Note that the same applies to gsoc-swift-baggage-context |
@pokryfka Thanks for bringing this up 👍 I think we all agree that I'm also in favor of splitting up the |
Ah, thanks for the reminder -- I'd normally hammer on about this but I missed it this time 😅 True... We were considering putting the TracingInstrument in a package by itself... that could be Food for thought before we jump on a name here I guess. |
I think the naming and partitioning is up to you - @slashmo @ktoso My argument is a bit more general: if the library is to be used outside its public interface/name needs to freeze (or start freezing ;-)) obviously the swift xray sdk is in "WIP alpha" stage itself, still I am a bit cautious about using packages and types which public interface is potentially very unstable for instance, I see advantage of using the same type for |
I don't think we're disagreeing :-) Just we have not figured out the relative timing between projects yet, i.e.:
If we knew what we are optimizing for, in our collaboration, then we can pick a plan to follow :-) Currently this project's "optimized for plan" is that it is a GSoC project and no one so far has been depending on it, and now we are in a phase where we need adoption to ensure the API matures in real use cases. I'm absolutely open to various approaches here but I don't think we can say right now that any of those APIs are getting frozen, though we can tag work in progress versions if that'd help. E.g. with the baggage context I don't think it will be changing much, however - I do think we'll want to explore if making it a CoW type would be beneficial. In order to properly measure that, we need some real tracer using it, and compare in a real-ish sample the overheads introduced. (I do think the CoW will be useful, but I like to prove things, not just guess on them :-)). Having that said, maybe it'd be best if we sync up (the 3 of us) in a short call soon to figure out how we want to approach the aligning of the APIs? You can shoot me an email at [email protected] and I'd schedule something quick, wdyt? :-) --
Yes exactly, that is going to be a huge benefit and the reason why the baggage context is separate and zero-dependencies. Because we'd want to avoid having to adapt between various "basically the same" container types of metadata. If it'd help, perhaps we can remove the gsoc- from the package name there, and also tag it as |
Sounds good to me. As you said |
please do :-) I want to finish the first version of This means some bridging inside of Then see how to add Now, as much I want to make For a started it would be great to have it:
if you have some time I would be happy to import updated versions from a develop repo/branch and test it all together with tracer (tracing instrument). |
The 2 step plan sounds good. Looking forward to more baggage adoption; we're certain that other SSWG projects will endorse it, just a matter of timing 👍 We'll ping once things are tagged on baggage. Moritz will take on the slimming down of the APIs here :) The chicken-and-egg will solve itself soon enough hopefully. |
As for the actual topic of the issue -- we'll do some renames shortly :) |
baggage 🧳 was renamed a little bit then. this repo will follow soon |
swift-tracing
swift-tracing
I'm working on official repos, should land them soon. |
As the library and its interface matures, I think it would be great to change the package name to
swift-tracing
,even though the GIT repository name remains
gsoc-swift-tracing
.The text was updated successfully, but these errors were encountered: