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

Fix papercuts in sync-monitor #15

Merged
merged 3 commits into from
Sep 21, 2019

Conversation

UniversalSuperBox
Copy link
Member

Fix the --sync command, fix building with Crossbuilder, add a README, and fix up the grammar and spelling all over the place. Just some papercuts that need to be cleaned up so more contributions can happen.

These commits are mostly atomic, please rebase and merge.

Copy link
Member

@mardy mardy left a comment

Choose a reason for hiding this comment

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

In the first commit you are removing one screenshot and adding another one. But it seems that the same screenshots are being added in the commit where you add the README; can you remove these changes from the first commit, then (git reset should help in taking them out of the staged changes)?

QTimer::singleShot(1000, daemon, SLOT(syncAll()));
// We need to wait a little bit so we realize that we're connected to
// the internet
qDebug() << "Starting manual sync in 10 seconds.";
Copy link
Member

Choose a reason for hiding this comment

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

Isn't 10 seconds too much, though? In theory, the time needed to get the network status is the time of making a D-Bus call, so even one second should be enough.

Copy link
Member Author

Choose a reason for hiding this comment

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

No, getting the network status can take quite a while. 1 second was not enough.

@UniversalSuperBox
Copy link
Member Author

I uploaded the screenshots twice so that they were correct at that commit. The examples in "Add a README" are correct for the code as it is at that commit. The examples in "Correct grammar and spelling" are correct for that commit.

dh-translations does not have a Multi-Arch value in xenial, so it can't
be resolved for crossbuilding.
@UniversalSuperBox
Copy link
Member Author

Okay, squashed the README and grammar commits together and rebased on xenial.

@UniversalSuperBox UniversalSuperBox merged commit 58ebad9 into xenial Sep 21, 2019
@UniversalSuperBox UniversalSuperBox deleted the xenial_-_sync-monitor-papercuts branch September 21, 2019 00:16
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.

None yet

2 participants