• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ooni / probe-cli / 6183021731
72%

Build:
DEFAULT BRANCH: master
Ran 14 Sep 2023 08:44AM UTC
Jobs 1
Files 481
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Sep 2023 08:39AM UTC coverage: 81.007% (+0.003%) from 81.004%
6183021731

push

github

web-flow
refactor: rename geolocate enginelocate (#1263)

I am soon going to start addressing the underlying issue described by
https://github.com/ooni/probe/issues/2531.

But, before doing that, I have noticed that the packages I need to edit
to this end are the following:

```
./internal/engine
./internal/geolocate
./internal/sessionresolver
```

Now, these three packages work in unison to provide an `engine.Session`
and they should *sort* together. However, I would like also to avoid
nesting because I think all of them servers an ~independent purpose and
geolocate and sessionresolver are possibly building blocks to refactor
or reimplement the engine.

For this reason, I have chosen to rename them such that it is clear they
are the engine and supporting packages.

This diff addresses the first half of the change by renaming the
geolocate package.

While there acknowledge that the script to rename packages was broken
and decide to ditch it for good rather than entering into the quest of
fixing it. I would probably have spent lots of time trying in doing
that, and my time is better spent otherwise. (I remember the official
package renaming tool did not support go modules, but probably it does
and I should look into giving it another spin.)

3 of 3 new or added lines in 1 file covered. (100.0%)

22328 of 27563 relevant lines covered (81.01%)

39.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 0 - 6183021731.1 14 Sep 2023 08:44AM UTC 0
81.01
GitHub Action Run
Source Files on build 6183021731
Detailed source file information is not available for this build.
  • Back to Repo
  • 8c0646af on github
  • Prev Build on master (#6182675190)
  • Next Build on master (#6183404593)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc