Граф коммитов

23 Коммитов

Автор SHA1 Сообщение Дата
Janet Dragojevic 803c2e2833 Allow our a-s documentation to be published via mdbook
- creates the infra required for mdbook (as stolen from glean)
 - removes unfinished, unmaintained sync-storage-handbook and synconomicon
 - includes a build script for mdbook (tools/build-book.sh - modified from glean)
 - adds a SUMMARY.md file - which provides the mdbook TOC
2021-04-02 11:39:42 -04:00
Ryan Kelly d77600e32c
Restructure, UniFFI, and document the fxa-client crate. (#3876)
This is a substantial refactor of the fxa-client crate, intended to bring it
up to speed with our latest best-practices around developing cross-platform
Rust components, in order to ease ongoing maintenance.

THe core change here is that I've deleted the hand-written Kotlin and Swift
bindings, replacing them with autogenerated bindings thanks to UniFFI.

There is still a little bit of hand-written Kotlin, since we have a layer that
automatically manages persistence via a callback. There is still a nontrivial
amount of hand-written Swift, since we have a higher-level state machine built
atop the lower-level fxa-client functionality (such state-machine also exists
for Kotlin, but lives in the android-components repo). If UniFFI works out then
we should look into moving more of that logic into shared Rust code over time.

To support the introduction of UniFFI, I have restructured to Rust crate so
that its public interface deliberately parallels the interface offered to
Kotlin and Swift, and have moved the implementation details into a submodule
named `internal`. It's my opinionated belief that structuring the crate this
way will help us focus on producing a nice consumer API, which is not always
the same thing as producing a nice Rust crate.

On top of that, I've also revamped the documentation in the crate, leaning
in to the use of `cargo doc` as the source of truth for both developer-
and consumer-facing documentation. Let's consider that an experiment and
see how we like it in practice.

Unfortunately, this is a big PR, but I don't think I could have made it
too much smaller. Hopefully it will be easier to review than its size
suggests since it's mostly additions and deletions rather than complex
changes.
2021-03-09 22:34:58 +11:00
Jan-Erik Rediger 6365815711 Add Glean to the MozillaAppServices Xcode project and include it in compilation 2020-09-09 14:43:30 +02:00
Tarik Eshaq e804f3e80a add cargo alias for regenerating protobufs 2020-05-28 13:36:59 -07:00
Mihai Tabara 446f919f7f
Bug 1563169 - automation improvements prerequisite for Github releases (#3113) 2020-05-27 10:30:45 -04:00
Ryan Kelly a679951bbb
Add some quality-of-life improvements for running android smoketests.
The most important one is that we avoid publishing a new set of aars
if no code has actually changed. I'm not thrilled about the *way* we
accomplish it, but it works for me.
2020-04-02 16:40:47 +11:00
Edouard Oger 0bb41d2ba8
Ignore python cache directories 2020-03-06 12:54:29 -05:00
Edouard Oger 0ba53feb14
Run iOS tests on CI 2019-04-24 21:23:15 -04:00
Garvan Keeley a50c33d91a
Add Cartfile.resolved for version pinning (#879) 2019-03-29 17:06:05 -04:00
Thom Chiovoloni 6c01cd295a
Update and document release process for iOS 2019-03-20 14:21:55 -07:00
Edouard Oger 09d4caa65f Generate and upload breakpad symbols for Android 2019-03-18 13:07:54 -04:00
Edouard Oger 365390dfee Use protobuf for fxa_profile return value 2019-02-12 19:09:45 -05:00
Thom Chiovoloni 81bee407d0 Remove Cargo.lock from gitignore and check it in. Fixes #529 2019-01-10 10:46:48 -08:00
Edouard Oger 6cef08726a
Update .gitignore 2018-12-13 16:09:12 -05:00
Thom Chiovoloni 6f2b017eaf Followup from overeagerly landed gitignore fix 2018-09-19 15:39:51 -07:00
Thom Chiovoloni 92af2fee6f Move logins gitignore contents to root, cleanup gitignores 2018-09-19 15:25:20 -07:00
Thom Chiovoloni 93be741b0c Implement a logins store backed by SQLCipher. 2018-09-14 15:16:57 -07:00
Edouard Oger 9a2a57d2f1 Provide a helper script to set-up android toolchains (#182) 2018-08-20 10:17:35 -07:00
Thom b66da4aa5a
Implement Synchronization (#58) 2018-05-30 08:44:15 -07:00
Thom Chiovoloni 8b12dc4d44 Boxlocker-parity example (that doesn't quite work) 2018-04-26 13:47:27 -07:00
Thom Chiovoloni f9d543676f Don't version Cargo.lock
I'm not exactly sure if this is a good idea, really.
2018-04-23 12:52:50 -07:00
Thom Chiovoloni f826805a56 WIP work on storage adapter -- not working yet 2018-04-20 22:19:19 -07:00
vladikoff 0f2aa7683f Ignore web build 2018-04-16 19:23:53 -04:00