public inbox for location@lists.ipfire.org
 help / color / mirror / Atom feed
From: Gisle Vanem <gisle.vanem@gmail.com>
To: location@lists.ipfire.org
Subject: Re: DB version number?
Date: Mon, 27 Sep 2021 11:02:19 +0200	[thread overview]
Message-ID: <d23a0c08-df7b-3afe-75ac-0b144d5a00b2@gmail.com> (raw)
In-Reply-To: <49d2b73a-c5e5-706c-7454-ff449cd5bf77@riseup.net>

[-- Attachment #1: Type: text/plain, Size: 584 bytes --]

nusenu wrote:

> Is there a versioning scheme of the DB? if so: How do I retrieve the version of the db file?
> Or is this timestamp the best bet?

Yes; no version-info AFAICS. You can use the function
'loc_discover_latest_version()' which does the same as
this command:
   dig -t txt _v1._db.location.ipfire.org

giving:
   ;; ANSWER SECTION:
   _v1._db.location.ipfire.org. 284 IN     TXT     "Mon, 27 Sep 2021 05:47:57 GMT"


> location update
> libloc: loc_discover_latest_version: Could not query _v1._db.location.ipfire.org:

Why does this fail?

-- 
--gv

  reply	other threads:[~2021-09-27  9:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-26 20:27 nusenu
2021-09-27  9:02 ` Gisle Vanem [this message]
2021-09-27  9:11   ` Peter Müller
2021-09-27 16:37     ` nusenu
2021-09-27  9:08 ` Peter Müller
2021-09-27 16:37   ` nusenu
2021-09-27 18:17     ` Peter Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d23a0c08-df7b-3afe-75ac-0b144d5a00b2@gmail.com \
    --to=gisle.vanem@gmail.com \
    --cc=location@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox