GNU bug report logs - #75929
[PATCH] services: Use beaconDB as location provider in geoclue.

Previous Next

Package: guix-patches;

Reported by: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>

Date: Wed, 29 Jan 2025 16:06:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75929 in the body.
You can then email your comments to 75929 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#75929; Package guix-patches. (Wed, 29 Jan 2025 16:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Brielmaier <jonathan.brielmaier <at> web.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 29 Jan 2025 16:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
To: guix-patches <at> gnu.org
Cc: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
Subject: [PATCH] services: Use beaconDB as location provider in geoclue.
Date: Wed, 29 Jan 2025 17:04:49 +0100
The previous used Mozilla Location Service (MLS) was retired in 2024:
https://github.com/mozilla/ichnaea/issues/2065

* gnu/services/desktop.scm (<geoclue-configuration>)
[wifi-geolocation-url]: Switch default provider to beaconDB.
[wifi-submission-url]: Dito.

Change-Id: I95e4600a2d5454bdde4be44b09273694536bd44e
---
 gnu/services/desktop.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index e5446561822..b01e7faa301 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -19,6 +19,7 @@
 ;;; Copyright © 2023 Zheng Junjie <873216071 <at> qq.com>
 ;;; Copyright © 2024 45mg <45mg.writes <at> gmail.com>
 ;;; Copyright © 2024 Raven Hallsby <karl <at> hallsby.com>
+;;; Copyright © 2025 Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -374,12 +375,12 @@ (define-record-type* <geoclue-configuration>
   (wifi-geolocation-url
    geoclue-configuration-wifi-geolocation-url
    ;; Mozilla geolocation service:
-   (default "https://location.services.mozilla.com/v1/geolocate?key=geoclue"))
+   (default "https://api.beacondb.net/v1/geolocate"))
   (submit-data? geoclue-configuration-submit-data?
                 (default #f))
   (wifi-submission-url
    geoclue-configuration-wifi-submission-url
-   (default "https://location.services.mozilla.com/v1/submit?key=geoclue"))
+   (default "https://api.beacondb.net/v2/geosubmit"))
   (submission-nick geoclue-configuration-submission-nick
                    (default "geoclue"))
   (applications geoclue-configuration-applications

base-commit: ac103c2eab1a169ca18c88fd0b0d03c7d2e02c9d
--
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75929; Package guix-patches. (Wed, 29 Jan 2025 16:09:01 GMT) Full text and rfc822 format available.

Message #8 received at 75929 <at> debbugs.gnu.org (full text, mbox):

From: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
To: 75929 <at> debbugs.gnu.org
Subject: [PATCH] services: Use beaconDB as location provider in geoclue.
Date: Wed, 29 Jan 2025 17:08:45 +0100
Due too difficulties with Guix System on my laptop I did not had the
chance to test this patch.

~Jonathan




Information forwarded to guix-patches <at> gnu.org:
bug#75929; Package guix-patches. (Fri, 07 Mar 2025 19:18:01 GMT) Full text and rfc822 format available.

Message #11 received at 75929 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: 75929 <at> debbugs.gnu.org, Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
Subject: Testing
Date: Fri, 7 Mar 2025 20:17:04 +0100
Hello Jonathan,

did you have a chance to test the change in the meantime? It looks good,
but I am hesitant to apply it as long as nobody has tried it out.
Maybe also change the comment here:
    ;; Mozilla geolocation service:
-   (default "https://location.services.mozilla.com/v1/geolocate?key=geoclue"))
+   (default "https://api.beacondb.net/v1/geolocate"))

Andreas





Information forwarded to guix-patches <at> gnu.org:
bug#75929; Package guix-patches. (Fri, 07 Mar 2025 19:28:02 GMT) Full text and rfc822 format available.

Message #14 received at 75929 <at> debbugs.gnu.org (full text, mbox):

From: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
To: Andreas Enge <andreas <at> enge.fr>, 75929 <at> debbugs.gnu.org
Subject: Re: Testing
Date: Fri, 7 Mar 2025 20:27:11 +0100
Hi Andreas,

Am 07.03.25 um 20:17 schrieb Andreas Enge:
> Hello Jonathan,
>
> did you have a chance to test the change in the meantime? It looks good,
> but I am hesitant to apply it as long as nobody has tried it out.

No, not yet. Further I think we should use `geoclue_guix.gnu.org` as
key. That's at least how NixOS does it and I asked in BeaconDB's matrix
room, where they confirmed "APPLICATIONNAME_DISTROURL".

> Maybe also change the comment here:
>      ;; Mozilla geolocation service:
> -   (default "https://location.services.mozilla.com/v1/geolocate?key=geoclue"))
> +   (default "https://api.beacondb.net/v1/geolocate"))

Seems like a good idea.

~Jonathan




Information forwarded to liliana.prikler <at> gmail.com, maxim.cournoyer <at> gmail.com, vivien <at> planete-kraus.eu, guix-patches <at> gnu.org:
bug#75929; Package guix-patches. (Sat, 22 Mar 2025 21:27:02 GMT) Full text and rfc822 format available.

Message #17 received at 75929 <at> debbugs.gnu.org (full text, mbox):

From: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
To: 75929 <at> debbugs.gnu.org
Cc: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
Subject: [PATCH v2] services: Use beaconDB as location provider in geoclue.
Date: Sat, 22 Mar 2025 22:25:47 +0100
The previous used Mozilla Location Service (MLS) was retired in 2024:
https://github.com/mozilla/ichnaea/issues/2065

* gnu/services/desktop.scm (<geoclue-configuration>)
[wifi-geolocation-url]: Switch default provider to beaconDB.
[wifi-submission-url]: Dito.

Change-Id: I95e4600a2d5454bdde4be44b09273694536bd44e
---
 gnu/services/desktop.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index 71d650e14fa..83ea41be48c 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -19,6 +19,7 @@
 ;;; Copyright © 2023 Zheng Junjie <873216071 <at> qq.com>
 ;;; Copyright © 2024 45mg <45mg.writes <at> gmail.com>
 ;;; Copyright © 2024 Raven Hallsby <karl <at> hallsby.com>
+;;; Copyright © 2025 Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -372,13 +373,13 @@ (define-record-type* <geoclue-configuration>
              (default '()))
   (wifi-geolocation-url
    geoclue-configuration-wifi-geolocation-url
-   ;; Mozilla geolocation service:
-   (default "https://location.services.mozilla.com/v1/geolocate?key=geoclue"))
+   ;; BeaconDB geolocation service:
+   (default "https://api.beacondb.net/v1/geolocate?key=geoclue_guix.gnu.org"))
   (submit-data? geoclue-configuration-submit-data?
                 (default #f))
   (wifi-submission-url
    geoclue-configuration-wifi-submission-url
-   (default "https://location.services.mozilla.com/v1/submit?key=geoclue"))
+   (default "https://api.beacondb.net/v2/geosubmit"))
   (submission-nick geoclue-configuration-submission-nick
                    (default "geoclue"))
   (applications geoclue-configuration-applications

base-commit: 66c44dd6e49b581f33eb98fe764ce75945a0638b
--
2.49.0





bug closed, send any further explanations to 75929 <at> debbugs.gnu.org and Jonathan Brielmaier <jonathan.brielmaier <at> web.de> Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 27 Mar 2025 12:21:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 25 Apr 2025 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 50 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.