Publsh glean as a swift package using rust-components-swift
Currently, Glean is exposed only as a dependency of Nimbus, which means consumers of our packages can only get glean if they also include Nimbus. This ticket is to expose glean as an independent library. In practice, this means replacing what the glean-swift repository does: https://github.com/mozilla/glean-swift
One thing to keep in mind is how versioning will work, every time glean releases a new release, we should update our release of rust-components-swift, but this means that rust-components-swift can't follow the release versions of application services. A couple of options I'm thinking about:
- Don't automate glean releases independently, instead, whenever an Application Services release happens, we make sure to also pick up the latest glean. This doesn't seem very reasonable to me, I'm sure there will be cases where we would want to only update glean, and we don't want to be forced to cut an application services release just for that
- Don't couple the release versions of
rust-components-swiftwith application services, so whenever glean makes a release, we bump our version ofrust-components-swiftand do the same thing when application services cut a release.
┆Issue is synchronized with this Jira Task ┆Story Points: 3 ┆Epic: Unified a-s swift packages for iOS ┆Sprint End Date: 2021-10-15
➤ Tarik Eshaq commented:
Here’s the PR: https://github.com/mozilla/rust-components-swift/pull/9 ( https://github.com/mozilla/rust-components-swift/pull/9|smart-link ) There’s still some work to be done here, mainly:
- Figure out how the releases will work
- Copy over the scripts used in glean-swift (or make our current scripts do what they do)
This was cancelled on Jira, closing