New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repository update fails already if only one repository is offline #395
Comments
This give us some trouble running automated acceptance tests! @tobias-klein from Node-Sword-Interface side can you provide more details as a result from We can make decision then in front-end, based on the repository's online statuses |
Yes, you're right @zhuiks And yes, we could return a more detailed status from updateRepositoryConfig. It could be an Object with a status attribute for each repository that is queried. |
@zhuiks In the new version of node-sword-interface the function updateRepositoryConfig returns a Promise, which in turn returns an object like this: {
'result': false,
'Bible.org': false,
'CrossWire': true,
'CrossWire Attic': true,
'CrossWire Beta': true,
'CrossWire Wycliffe': true,
'Deutsche Bibelgesellschaft': true,
'IBT': true,
'Lockman Foundation': true,
'Xiphos': true,
'eBible.org': true
} The status value is simply a boolean. Note that integration of this node-sword-interface change requires touching both the backend ( |
…positories fail to update (see #395)
…positories fail to update (see #395)
There are eight repositories in CrossWire's master repository list. If any of them fail to update the complete update fails. The behavior should be changed:
The text was updated successfully, but these errors were encountered: