Merge lp:~ken-vandine/unity8/share_data_uri_string into lp:unity8
| Status: | Rejected |
|---|---|
| Rejected by: | Andrea Cimitan on 2016-02-24 |
| Proposed branch: | lp:~ken-vandine/unity8/share_data_uri_string |
| Merge into: | lp:unity8 |
| Diff against target: |
18 lines (+3/-5) 1 file modified
qml/Dash/Previews/PreviewSharing.qml (+3/-5) |
| To merge this branch: | bzr merge lp:~ken-vandine/unity8/share_data_uri_string |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Andrea Cimitan (community) | Disapprove on 2016-02-24 | ||
| Michael Zanetti (community) | 2016-02-19 | Needs Information on 2016-02-23 | |
| PS Jenkins bot | continuous-integration | Needs Fixing on 2016-02-19 | |
| Unity8 CI Bot | continuous-integration | Approve on 2016-02-19 | |
|
Review via email:
|
|||
Commit Message
shareData["uri"] should be a string, not an array so lets treat it as such.
Description of the Change
shareData["uri"] should be a string, not an array so lets treat it as such.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2204
http://
Executed test runs:
UNSTABLE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Michael Zanetti (mzanetti) wrote : | # |
Why? Shouldn't we allow to share multiple files?
| Ken VanDine (ken-vandine) wrote : | # |
> Why? Shouldn't we allow to share multiple files?
I think the API current looks like it expects a single file, which is what caused the issue. shareData["uris"] would be more appropriate if we want an array instead of a string.
| Paweł Stołowski (stolowski) wrote : | # |
As discussed on IRC (with mzanetti and cimi) this should follow the documentation in scopes API:
"uri: A single URI to share or an array of URIs."
In 99% of cases scopes will be interested in sharing a single item, so we should keep the name 'uri'.
| Andrea Cimitan (cimi) wrote : | # |
Thanks ken, I did similar changes here while supporting also arrays
https:/
Unmerged revisions
- 2204. By Ken VanDine on 2016-02-19
-
shareData["uri"] should be a string, not an array so lets treat it as such.
- 2203. By Launchpad Translations on behalf of unity-team on 2016-02-19
-
Launchpad automatic translations update.
- 2202. By Launchpad Translations on behalf of unity-team on 2016-02-18
-
Launchpad automatic translations update.
- 2201. By Launchpad Translations on behalf of unity-team on 2016-02-17
-
Launchpad automatic translations update.
- 2200. By Launchpad Translations on behalf of unity-team on 2016-02-16
-
Launchpad automatic translations update.

PASSED: Continuous integration, rev:2204 /unity8- jenkins. ubuntu. com/job/ lp-unity8- 1-ci/443/ /unity8- jenkins. ubuntu. com/job/ build/598 /unity8- jenkins. ubuntu. com/job/ test-0- autopkgtest/ label=amd64, release= vivid+overlay/ 187 /unity8- jenkins. ubuntu. com/job/ test-0- autopkgtest/ label=amd64, release= xenial/ 187 /unity8- jenkins. ubuntu. com/job/ build-0- fetch/621 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 639 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial/ 639 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 635 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 635/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial/ 635 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial/ 635/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 635 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 635/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial/ 635 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial/ 635/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 635 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 635/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial/ 635 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial/ 635/artifact/ output/ *zip*/output. zip
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild: /unity8- jenkins. ubuntu. com/job/ lp-unity8- 1-ci/443/ rebuild
https:/