Closed
Bug 1988761
Opened 7 months ago
Closed 7 months ago
Remove app-services dependencies to simplify the monorepo migration
Categories
(Firefox Build System :: General, enhancement, P2)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bdk, Assigned: bdk)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxsync-])
There's a handful of dependencies that I think we can remove without losing much and would make the monorepo migration simpler:
caseless: Used to perform case-insensitive, unicode-aware, matching forplaces. I think we can just Rust'sto_lowercase()nowadays. The docs their mention it handles unicode correctly.colored:mockitooptional subdependency. We can just lose the error messages colors.humantime: This means we lose the timestamps on our CLI tools that print logs. I think we can fix this by updating these tools to use the new code intracing_supportand/orerror_support.more-asserts: used by the logins tests forassert_ge!. I think we can switch to using standard macros for this. If needed, we could define our ownassert_ge!.serde_test: used in theguid_supporttests. I think we can either remove the test or implement it a different way.ece? I'm not totally sure, but it looks like this dependency isn't used anymore.
Updated•7 months ago
|
| Assignee | ||
Updated•7 months ago
|
Priority: -- → P2
| Assignee | ||
Updated•7 months ago
|
| Assignee | ||
Comment 1•7 months ago
|
||
Let's keep caseless for now. Mark has a patch to vet it and it's not clear if using to_lowercase() will change the behavior or not.
| Assignee | ||
Comment 2•7 months ago
|
||
Also, rust-ece is still in use. See https://phabricator.services.mozilla.com/D265023 for a discussion on vetting it.
Comment 3•7 months ago
|
||
Authored by https://github.com/bendk
https://github.com/mozilla/application-services/commit/235ea58b0a41036e6ede87bb4128a5e6f2015a19
[main] Removing various dependencies that could be hard to move into moz-central. (#6950)
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Flags: qe-verify+
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•