application-services icon indicating copy to clipboard operation
application-services copied to clipboard

Publsh glean as a swift package using rust-components-swift

Open data-sync-user opened this issue 4 years ago • 1 comments

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-swift with application services, so whenever glean makes a release, we bump our version of rust-components-swift and 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

data-sync-user avatar Oct 12 '21 14:10 data-sync-user

➤ 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)

data-sync-user avatar Oct 12 '21 14:10 data-sync-user

This was cancelled on Jira, closing

tarikeshaq avatar Sep 27 '23 03:09 tarikeshaq