Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: rename sessionresolver engineresolver #1264

Merged
merged 1 commit into from
Sep 14, 2023
Merged

Conversation

bassosimone
Copy link
Contributor

I am soon going to start addressing the underlying issue described by ooni/probe#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 each of them serves 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 second half of the change by renaming the sessionresolver package.

I am soon going to start addressing the underlying issue described by
ooni/probe#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 each of them serves 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 second half of the change by renaming the
sessionresolver package.
@bassosimone bassosimone merged commit 761e79e into master Sep 14, 2023
6 checks passed
@bassosimone bassosimone deleted the issue/2531 branch September 14, 2023 09:15
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this pull request Feb 13, 2024
I am soon going to start addressing the underlying issue described by
ooni/probe#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 each of them serves 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 second half of the change by renaming the
sessionresolver package.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant