Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Commit 877ed24

Browse files
authored
Merge pull request #551 from cloudant/550-update-links
Updated deprecated links
2 parents 899becc + e66b4e9 commit 877ed24

File tree

9 files changed

+37
-24
lines changed

9 files changed

+37
-24
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[README](https://github.com/cloudant/sync-android/blob/2.1.0/README.md) and the
44
[Bluemix documentation](https://console.bluemix.net/docs/services/Cloudant/guides/iam.html#ibm-cloud-identity-and-access-management)
55
for more details.
6+
- [IMPROVED] Updated documentation by replacing deprecated links with the latest Bluemix or CouchDB links.
67

78
# 2.0.2 (2017-06-20)
89
- [FIXED] Removed cloudant-sync-datastore-android project dependency

README.md

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ This library is for Android and Java SE; an [iOS][ios] version is also available
3232

3333
[ios]: https://github.com/cloudant/CDTDatastore
3434

35-
If you have questions, please join our [mailing list][mlist] and drop us a
36-
line.
37-
38-
[mlist]: https://groups.google.com/forum/#!forum/cloudant-sync
39-
4035
## Using in your project
4136

4237
The library is published via Maven Central and using it in your project should
@@ -331,7 +326,18 @@ back to full health.
331326
Learn more about this essential process in the
332327
[conflicts documentation](https://github.com/cloudant/sync-android/blob/master/doc/conflicts.md).
333328

334-
## Known Issues
329+
## Issues
330+
331+
Before opening a new issue please consider the following:
332+
* Only the latest release is supported. If at all possible please try to reproduce the issue using
333+
the latest version.
334+
* Please check the [existing issues](https://github.com/cloudant/sync-android/issues)
335+
to see if the problem has already been reported. Note that the default search
336+
includes only open issues, but it may already have been closed.
337+
* Cloudant customers should contact Cloudant support for urgent issues.
338+
* When opening a new issue [here in github](../../issues) please complete the template fully.
339+
340+
#### Known Issues
335341

336342
Some users on certain older versions of Android have reported the
337343
following exception:
@@ -343,13 +349,19 @@ To fix this issue, add the following dependency to your application's
343349

344350
`compile 'com.google.code.findbugs:jsr305:3.0.0'`
345351

346-
## Contributors
347352

348-
See [CONTRIBUTORS](CONTRIBUTORS).
353+
## Related documentation
349354

350-
## Contributing to the project
355+
* [Cloudant docs](https://console.bluemix.net/docs/services/Cloudant/cloudant.html#overview)
356+
* [Cloudant Learning Center](https://developer.ibm.com/clouddataservices/cloudant-learning-center/)
351357

352-
See [CONTRIBUTING](CONTRIBUTING.md).
358+
## Development
359+
360+
For information about contributing, building, and running tests see the [CONTRIBUTING.md](CONTRIBUTING.md).
361+
362+
## Contributors
363+
364+
See [CONTRIBUTORS](CONTRIBUTORS).
353365

354366
## License
355367

cloudant-sync-datastore-android/src/main/java/com/cloudant/sync/replication/PeriodicReplicationService.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public abstract class PeriodicReplicationService<T extends PeriodicReplicationRe
8484
* using an Extra with the {@link #EXTRA_COMMAND} key.
8585
* @see
8686
* <a href="http://github.com/cloudant/sync-android/blob/master/doc/replication-policies.md#controlling-the-replication-service">
87-
* Replication Policy User Guide</a> for more details.
87+
* Replication Policy User Guide</a>
8888
*/
8989
public static final int COMMAND_START_PERIODIC_REPLICATION = 2;
9090

@@ -93,7 +93,7 @@ public abstract class PeriodicReplicationService<T extends PeriodicReplicationRe
9393
* using an Extra with the {@link #EXTRA_COMMAND} key.
9494
* @see
9595
* <a href="http://github.com/cloudant/sync-android/blob/master/doc/replication-policies.md#controlling-the-replication-service">
96-
* Replication Policy User Guide</a> for more details.
96+
* Replication Policy User Guide</a>
9797
*/
9898
public static final int COMMAND_STOP_PERIODIC_REPLICATION = 3;
9999

@@ -103,7 +103,7 @@ public abstract class PeriodicReplicationService<T extends PeriodicReplicationRe
103103
* following a reboot.
104104
* @see
105105
* <a href="http://github.com/cloudant/sync-android/blob/master/doc/replication-policies.md#controlling-the-replication-service">
106-
* Replication Policy User Guide</a> for more details.
106+
* Replication Policy User Guide</a>
107107
*/
108108
public static final int COMMAND_DEVICE_REBOOTED = 4;
109109

@@ -113,7 +113,7 @@ public abstract class PeriodicReplicationService<T extends PeriodicReplicationRe
113113
* between replications can be re-evaluated.
114114
* @see
115115
* <a href="http://github.com/cloudant/sync-android/blob/master/doc/replication-policies.md#controlling-the-replication-service">
116-
* Replication Policy User Guide</a> for more details.
116+
* Replication Policy User Guide</a>
117117
*/
118118
public static final int COMMAND_RESET_REPLICATION_TIMERS = 5;
119119

cloudant-sync-datastore-android/src/main/java/com/cloudant/sync/replication/ReplicationService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public abstract class ReplicationService extends Service
5555
*
5656
* @see
5757
* <a href="http://github.com/cloudant/sync-android/blob/master/doc/replication-policies.md#controlling-the-replication-service">
58-
* Replication Policy User Guide</a> for more details.
58+
* Replication Policy User Guide</a>
5959
*/
6060
public static final int COMMAND_START_REPLICATION = 0;
6161

@@ -65,7 +65,7 @@ public abstract class ReplicationService extends Service
6565
*
6666
* @see
6767
* <a href="http://github.com/cloudant/sync-android/blob/master/doc/replication-policies.md#controlling-the-replication-service">
68-
* Replication Policy User Guide</a> for more details.
68+
* Replication Policy User Guide</a>
6969
*/
7070
public static final int COMMAND_STOP_REPLICATION = 1;
7171

cloudant-sync-datastore-core/src/main/java/com/cloudant/sync/documentstore/Attachment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
/**
2727
* <p>
28-
* An <a target="_blank" href="http://docs.couchdb.org/en/2.0.0/intro/api.html#attachments">
28+
* An <a target="_blank" href="http://docs.couchdb.org/en/latest/intro/api.html#attachments">
2929
* attachment</a> associated with a CouchDB document.
3030
* </p>
3131
* <p>

cloudant-sync-datastore-core/src/main/java/com/cloudant/sync/documentstore/Database.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* <p>Each document consists of a set of revisions, hence most methods within
4141
* this class operate on {@link DocumentRevision} objects, which carry both a
4242
* document ID and a revision ID. This forms the basis of the
43-
* <a target="_blank" href="http://docs.couchdb.org/en/2.0.0/intro/consistency.html?#no-locking">MVCC</a> data
43+
* <a target="_blank" href="http://docs.couchdb.org/en/latest/intro/consistency.html?#no-locking">MVCC</a> data
4444
* model,
4545
* used to ensure safe peer-to-peer replication is possible.</p>
4646
*

cloudant-sync-datastore-core/src/main/java/com/cloudant/sync/replication/PullFilter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
* PullFilter pullFilter = new PullFilter("doc/filterName", map);
4646
* </pre>
4747
*
48-
* @see <a target="_blank" href="http://couchdb.readthedocs.org/en/1.6.x/replication/intro.html#controlling-which-documents-to-replicate">Controlling documents replicated</a>
49-
* @see <a target="_blank" href="http://docs.couchdb.org/en/1.6.x/couchapp/ddocs.html#filter-functions">Filter functions CouchDB docs</a>
48+
* @see <a target="_blank" href="http://docs.couchdb.org/en/latest/replication/intro.html#controlling-which-documents-to-replicate">Controlling documents replicated</a>
49+
* @see <a target="_blank" href="http://docs.couchdb.org/en/latest/ddocs/ddocs.html#filter-functions">Filter functions CouchDB docs</a>
5050
*
5151
*/
5252
public class PullFilter {
@@ -91,7 +91,7 @@ public PullFilter(String filterName) {
9191
* constructing the {@code _changes} feed call for the remote database.
9292
* Integer values should be added as String objects.
9393
*
94-
* @see <a target="_blank" href="http://docs.couchdb.org/en/1.6.x/couchapp/ddocs.html#filter-functions">Filter
94+
* @see <a target="_blank" href="http://docs.couchdb.org/en/latest/ddocs/ddocs.html#filter-functions">Filter
9595
* functions CouchDB docs</a>
9696
*/
9797
public PullFilter(String filterName, Map<String, String> parameters) {

doc/query.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Cloudant Query is inspired by MongoDB's query implementation, so users of MongoD
66

77
The aim is that the query you use on our cloud-based database works for your mobile application.
88

9-
[1]: https://docs.cloudant.com/api/cloudant-query.html
9+
[1]: https://console.bluemix.net/docs/services/Cloudant/api/cloudant_query.html#query
1010

1111
## Usage
1212

@@ -161,7 +161,7 @@ Query documents are `Map` objects that use the [Cloudant Query `selector`][sel]
161161
syntax. Several features of Cloudant Query are not yet supported in this implementation.
162162
See below for more details.
163163

164-
[sel]: https://docs.cloudant.com/api/cloudant-query.html#selector-syntax
164+
[sel]: https://console.bluemix.net/docs/services/Cloudant/api/cloudant_query.html#selector-syntax
165165

166166
#### Equality and comparisons
167167

doc/replication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,5 +268,5 @@ Replicator replicator = ReplicatorBuilder.pull()
268268
.build();
269269
```
270270

271-
[1]: http://docs.couchdb.org/en/1.4.x/replication.html#controlling-which-documents-to-replicate
271+
[1]: http://docs.couchdb.org/en/latest/replication/intro.html#controlling-which-documents-to-replicate
272272

0 commit comments

Comments
 (0)