[libgweather] HACKING: Update some backend requirements



commit 8250359e995af09112e38ab95f6f45b3e84b9a63
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Dec 2 16:39:50 2017 +0100

    HACKING: Update some backend requirements
    
    As per https://bugzilla.gnome.org/show_bug.cgi?id=791086#c5

 HACKING |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/HACKING b/HACKING
index 0060530..435463d 100644
--- a/HACKING
+++ b/HACKING
@@ -46,13 +46,11 @@ To add new weather sources, a number of requirements must be considered:
   must have unit tests to prevent regressions, and make it easy to root-cause
   crashes
 - the user’s privacy must be maintained as much as possible, see section below
-- the user’s bandwidth must be preserved where possible, making use of caching,
-  use HEAD requests and caching headers to minimise downloads when polling and
-  nothing has changed on the server
+- the user’s bandwidth must be preserved where possible, with the server offering
+  enough information to avoid downloads through libsoup, our HTTP library.
 - the data gathered can require a attribution (in which case the patch must
-  contain code to implement this) and must not be restricted to non-commercial
-  usage, as we cannot police users of the libgweather API, or in what
-  context they would be deployed
+  contain code to implement this) and if restricted to non-commercial usage,
+  must have a comment mentioning that fact in the GWeatherWeather API documentation
 - finally, a working and applicable patch must be provided
 
 Privacy


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]