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

feat: Add geoclue.timeout option #145

Merged
merged 1 commit into from
Jan 23, 2025
Merged

Conversation

bcyran
Copy link
Owner

@bcyran bcyran commented Jan 23, 2025

No description provided.

@bcyran bcyran linked an issue Jan 23, 2025 that may be closed by this pull request
Copy link

codecov bot commented Jan 23, 2025

Codecov Report

Attention: Patch coverage is 70.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 80.18%. Comparing base (19a0f4c) to head (65cf6f3).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/actions.rs 33.33% 2 Missing ⚠️
src/config.rs 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #145      +/-   ##
==========================================
+ Coverage   80.13%   80.18%   +0.04%     
==========================================
  Files          21       21              
  Lines        1208     1216       +8     
==========================================
+ Hits          968      975       +7     
- Misses        240      241       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bcyran bcyran merged commit b31a60d into master Jan 23, 2025
11 checks passed
@@ -46,6 +46,15 @@ in {
default = false;
description = "Prefer GeoClue 2 over manual location configuration.";
};
timeout = lib.mkOption {
type = lib.types.int;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small observation that this could be changed to with lib.types; nullOr path; to support using the default value.

Thanks for the update!

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course. The idea was actually to explicitly define the default value. Fixed in cbdf135

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right!

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.

Configurable GeoClue Timeout
2 participants