Skip to content

Commit 7a1eb39

Browse files
authored
Merge pull request #281 from eseiler/doc/version_check
[DOC] Update version check doc
2 parents 044a18c + a84690e commit 7a1eb39

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

doc/about/update_notifications/index.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ have fewer bugs, and we receive fewer bug reports on outdated versions.
2121
Upon starting an application using the `sharg::parser`, it is determined whether the app was built in release
2222
mode (we assume a user is running it) or in debug mode (we assume the developer is running it).
2323

24-
We then send a web-request to our server with the following information:
24+
The user/developer is then asked whether they want to perform a version check. The default answer, which is also used
25+
if the terminal is not interactive, is to skip the version check.
2526

27+
If the user/developer agrees, we then send a web-request to our server with the following information:
2628
* The application name
2729
* The application version
2830
* The Sharg version that the application was built with
@@ -38,6 +40,8 @@ Additionally, we recommend registering your app with us ([email protected]).
3840

3941
## Privacy Implications
4042

43+
**No data is transmitted unless the user _explicitly_ allows it.**
44+
4145
Only the information listed above is transmitted; no data is gathered about the usage of the app, and, of course, no
4246
information regarding your input/output files is transmitted. All our code is open source, and hence this can be
4347
verified at any time.
@@ -63,3 +67,6 @@ variable `SHARG_NO_VERSION_CHECK` to any value.
6367
Application developers may opt out of the version check for their app permanently (independent of user choice) by
6468
passing `sharg::update_notifications::off` as the fourth argument to sharg::parser.
6569
See the respective API documentation of the `sharg::parser`.
70+
71+
Note that `sharg::update_notifications::on` does not mean that the version check is performed, but rather that the
72+
application is allowed to perform the version check if the user chooses to do so.

include/sharg/auxiliary.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ namespace sharg
1919

2020
/*!\brief Indicates whether application allows automatic update notifications by the sharg::parser.
2121
* \ingroup misc
22+
* \sa https://docs.seqan.de/sharg/main_user/about_update_notifications.html
2223
* \details
2324
* \stableapi{Since version 1.0.}
2425
*/

0 commit comments

Comments
 (0)