Replies: 5 comments 9 replies
-
In theory api should not changed anymore or very often, so having this in separate repo will definitely be some improvement. I would then rather move it to separate repo then trying to make more changes in current one with build etc. |
Beta Was this translation helpful? Give feedback.
-
One more question related to this. What should the repo be called? I assume we're ok with |
Beta Was this translation helpful? Give feedback.
-
Its possible to only trigger a workflow if specific path on the repo is changes so i don't think this should be a "valid" reason to move out. @dyladan Also i'm interested in what other languages are doing ? Do you know if some are looking to do this too ? My main worry is that i wouldn't (as an end user) want having too many repos to look at to understand how the JS implementations works. With the core / contrib split there are often questions on whats where (on gitter or issues), i don't want to increase this problem :/ |
Beta Was this translation helpful? Give feedback.
-
My concern was based purely on the additional (local) steps that will be required when we get to merging in metrics and logging into the API (to avoid creating multiple releases - because of unexpected issues) -- its not impossible it just gets messy and it's not fun building a separate repro locally and applying it on top of another one (into the node_modules). But long term, I do agree that by splitting it will make it harder to accidently or inadvertently break the "api". Another issue that I've just thought of is that if we have any "common" helpers which are not exported (because they are not and we don't want them to be part of the API) will require code duplication etc. |
Beta Was this translation helpful? Give feedback.
-
I was talking generically, in terms of internal helpers. If we always export everything then it's a mute point. |
Beta Was this translation helpful? Give feedback.
-
@open-telemetry/javascript-approvers @open-telemetry/javascript-maintainers I am working on a PR to separate the API and
context-base
packages out of the lerna repo so that they can be versioned separately. Currently, I'm adding them to a new./stable
folder, but I was thinking it might be better for build/release/changelog reasons if we move them into their own repositories. I expect that we will only very rarely see changes to the API package so complicating the main repo build scripts even more and slowing down the CI build for all changes might be more annoying than having the API as a separate repo. This will also make it easy for us to very easily track changes to the API separately from other packages.Beta Was this translation helpful? Give feedback.
All reactions