Commit graph

10 commits

Author SHA1 Message Date
6999993fd2 [#782] locode: Fix imports, var init
Some checks failed
DCO action / DCO (pull_request) Successful in 14m44s
Tests and linters / Staticcheck (pull_request) Successful in 16m33s
Vulncheck / Vulncheck (pull_request) Failing after 16m51s
Build / Build Components (1.21) (pull_request) Successful in 18m47s
Build / Build Components (1.20) (pull_request) Successful in 19m24s
Tests and linters / Tests (1.20) (pull_request) Failing after 20m0s
Tests and linters / Tests (1.21) (pull_request) Failing after 19m58s
Tests and linters / Tests with -race (pull_request) Failing after 19m55s
Tests and linters / Lint (pull_request) Successful in 22m48s
Signed-off-by: nesterfifa <vemeyzer@gmail.com>
2023-12-12 12:34:37 +01:00
f31b4c1a7b [#782] locode: Simplify build quadtree
Some checks failed
Tests and linters / Lint (pull_request) Failing after 10s
DCO action / DCO (pull_request) Successful in 2m34s
Vulncheck / Vulncheck (pull_request) Failing after 3m7s
Build / Build Components (1.21) (pull_request) Successful in 3m57s
Tests and linters / Staticcheck (pull_request) Successful in 4m43s
Build / Build Components (1.20) (pull_request) Successful in 5m35s
Tests and linters / Tests (1.21) (pull_request) Successful in 8m8s
Tests and linters / Tests (1.20) (pull_request) Successful in 8m20s
Tests and linters / Tests with -race (pull_request) Successful in 8m14s
Signed-off-by: nesterfifa <vemeyzer@gmail.com>
2023-12-12 11:20:56 +01:00
7578fd46e5 [#782] pkg: use quadtree to find continent
Some checks failed
Vulncheck / Vulncheck (pull_request) Failing after 1m45s
DCO action / DCO (pull_request) Successful in 2m0s
Build / Build Components (1.21) (pull_request) Successful in 5m11s
Build / Build Components (1.20) (pull_request) Successful in 5m17s
Tests and linters / Staticcheck (pull_request) Successful in 5m39s
Tests and linters / Lint (pull_request) Successful in 6m6s
Tests and linters / Tests (1.20) (pull_request) Successful in 7m59s
Tests and linters / Tests (1.21) (pull_request) Successful in 7m56s
Tests and linters / Tests with -race (pull_request) Successful in 7m51s
Signed-off-by: nesterfifa <vemeyzer@gmail.com>
2023-11-28 12:35:34 +01:00
20de74a505 Rename package name
Due to source code relocation from GitHub.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2023-03-07 16:38:26 +03:00
Pavel Karpy
923f84722a Move to frostfs-node
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
2022-12-28 15:04:29 +03:00
Elizaveta Chichindaeva
cc7a723d77 [#1320] English Check
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-11 10:40:02 +03:00
Alex Vanin
45f244eb77 [#955] locode: Use the nearest polygon when continent can't be found
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-11-02 10:30:23 +03:00
Leonard Lyubich
56d4410913 [#638] Update to Go 1.16
Changes:

  * replace `iotuil` elements with the ones from `os` package;
  * replace `os.Filemode` with `fs.FileMode`;
  * use `signal.NotifyContext` instead of `NewGracefulContext` (removed).

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-29 13:44:59 +03:00
Evgenii Stratonikov
71b87155ef [#521] *: use stdlib errors package
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-05-19 16:42:54 +03:00
Leonard Lyubich
9669afdfc7 [#316] locode: Implement polygons DB based on GeoJSON polygons
Define database of Earth's polygons in GeoJSON format. Implement resolving
of geo point to continent in which it is located through point-in-polygon
calculation.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-09 11:05:55 +03:00