Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

app-services tabs component constructor now wants a database filename #11799

Closed
wants to merge 1 commit into from
Closed

app-services tabs component constructor now wants a database filename #11799

wants to merge 1 commit into from

Conversation

mhammond
Copy link
Contributor

@mhammond mhammond commented Mar 2, 2022

This is the matching PR for mozilla/application-services#4862. Marking as draft because there's no a-s release yet, but CC @grigoryk @jonalmeida

Copy link
Contributor

@jonalmeida jonalmeida left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just needs a changelog entry as well when we're ready to land this with the A-S upgrade.

/**
* An interface which defines read/write methods for remote tabs data.
*/
open class RemoteTabsStorage(
private val storageDir: File,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add a changelog entry about this breaking API before landing.

@@ -27,7 +27,7 @@ import mozilla.components.support.ktx.kotlinx.coroutines.flow.ifChanged
class SyncedTabsStorage(
private val accountManager: FxaAccountManager,
private val store: BrowserStore,
private val tabsStorage: RemoteTabsStorage = RemoteTabsStorage()
private val tabsStorage: RemoteTabsStorage,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for here too.

@mhammond
Copy link
Contributor Author

mhammond commented Mar 2, 2022

Thanks - added a couple of entries.

@mergify
Copy link
Contributor

mergify bot commented Mar 8, 2022

This pull request has conflicts when rebasing. Could you fix it @mhammond? 🙏

1 similar comment
@mergify
Copy link
Contributor

mergify bot commented Mar 15, 2022

This pull request has conflicts when rebasing. Could you fix it @mhammond? 🙏

@mhammond mhammond marked this pull request as ready for review March 30, 2022 03:50
@mhammond mhammond requested a review from grigoryk as a code owner March 30, 2022 03:50
@mhammond
Copy link
Contributor Author

There are v92.0.* versions of app-services now available, so I guess this is ready to roll. I'm not sure how to make CI happy about this though unless I attempt to bump a-s in this PR, but I don't think that's the correct thing to do. cc @jhugman who is presumably also trying to get nimbus upgraded.

@mergify
Copy link
Contributor

mergify bot commented Apr 4, 2022

This pull request has conflicts when rebasing. Could you fix it @mhammond? 🙏

@bendk
Copy link
Contributor

bendk commented Apr 7, 2022

Can we get an r+ for this one? I'm hoping to get a new app-services release out and we need this to to resolve the breaking changes. I wouldn't merge the code, just looking for approval.

Copy link
Contributor

@Mugurell Mugurell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rubberstamping this since it looked good to Jonathan and the changelog entries were added.

This will need to be rebased to at least update the changelog but in such probably the CI will get happy too.

@mergify
Copy link
Contributor

mergify bot commented Apr 11, 2022

This pull request has conflicts when rebasing. Could you fix it @mhammond? 🙏

@bendk
Copy link
Contributor

bendk commented Apr 21, 2022

I just made #12044 which includes this commit and also bumps the app-services version to 93.0.1. I think we can close this one.

@bendk bendk closed this Apr 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants