Repository navigation
weather: fetch forecasts through dms - #4110
Merged
Merged
Conversation
This was referenced Nov 3, 2026
joshii-h
marked this pull request as ready for review
November 5, 2026 08:10
Member
|
/claude review |
Contributor
Claude reviewNo issues found. |
dux-ci Bot
pushed a commit
that referenced
this pull request
Nov 5, 2026
port 2.1 (cherry picked from commit e15e9dc)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The weather service now asks dms for the forecast (
weather.get) instead of running one fetch per provider in QML. Providers, fallback and filling live in dux-go'sweatherpackage (duxlabs-dev/dux-go#6), the same way lyrics work. Plugins add a provider with aweatherblock in their manifest (command,name,url) and get the coordinates as JSON on stdin, like lyrics plugins.WeatherProviders.jsis gone.Follows bbedward's suggestion in #4086: "Probably prefer to move the fetching multiple provider logic to go, maybe dux-go or dms itself at some point."
Uses dux-go's
weatherpackage from duxlabs-dev/dux-go#6 (already in master's dux-go version). Replaces #4089 and #4090.A meaningful part of the code was written with AI help; I have read and tested it.
Type of change
Related issues
Related #3871. Replaces #4089 and #4090.
Docs: duxlabs-dev/dux-docs#192
Checklist
I18n.tr()with translator context, reusing existing terms where possiblemake fmt, added/updated tests,make testpasses, andgo mod tidyis cleanmake lint-qmlwith no new warnings