From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: location@lists.ipfire.org Subject: Re: DB version number? Date: Mon, 27 Sep 2021 09:08:04 +0000 Message-ID: In-Reply-To: <49d2b73a-c5e5-706c-7454-ff449cd5bf77@riseup.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2105510968017912609==" List-Id: --===============2105510968017912609== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi nusenu, > For transparency and archive purposes I'd like to show the location databas= e version > that has been used for the AS number and name lookups on the website.=20 that's a good idea. Actually, I am missing this information on https://metric= s.torproject.org/rs.html as well - it appears as they still use an outdated location database there, b= ut I don't know which one. > Is there a versioning scheme of the DB? if so: How do I retrieve the versio= n of the db file? > Or is this timestamp the best bet?=20 Yes, there is a scheme for the database _format_ (currently set to "1"), in c= ase we need to change that somewhere in the future. The versioning scheme for the database _contents_ is= a simple timestamp, and the output of "location version" is based on the database on your filesystem = (not the most recent one on the servers): > $ location version > Mon, 27 Sep 2021 05:47:57 GMT > I'm not looking for the version of the tool itself (which is shown via loca= tion --version ).=20 Yes, that is unfortunately kinda confusing... :-) Thanks, and best regards, Peter M=C3=BCller --===============2105510968017912609==--