Compare commits

..

2 commits

Author SHA1 Message Date
0a0f8d1de1
use spinner for update summary 2024-10-04 09:59:30 -05:00
88af7af855 flake.lock: Update
Flake lock file updates:

• Updated input 'hyprland':
    'git+https://github.com/hyprwm/Hyprland/?ref=refs/heads/main&rev=de68e065fe861d7ca01eca267df4c305bc6e73c2' (2024-10-02)
  → 'git+https://github.com/hyprwm/Hyprland/?ref=refs/heads/main&rev=aed529f695bc62f5fa45dc94c545275ebb49bc48' (2024-10-03)
• Updated input 'zig-overlay':
    'github:mitchellh/zig-overlay/5bdd678ad99cd0069dfa6a5822c1d82d45d34ad2' (2024-09-30)
  → 'github:mitchellh/zig-overlay/a2aa0972982b43cff53b409075512874a9887bc2' (2024-10-04)
2024-10-04 00:40:22 +00:00
2 changed files with 10 additions and 9 deletions

View file

@ -357,11 +357,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1727900725, "lastModified": 1727992844,
"narHash": "sha256-yS4oC5G/FKrsrRjk03cGzTEXHAwfjP7azFHoKvlFfD8=", "narHash": "sha256-4qhURtbqfaaGfBRz+Fu3iT2QOW7xn7Cl749i5SRZEQM=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "de68e065fe861d7ca01eca267df4c305bc6e73c2", "rev": "aed529f695bc62f5fa45dc94c545275ebb49bc48",
"revCount": 5287, "revCount": 5288,
"submodules": true, "submodules": true,
"type": "git", "type": "git",
"url": "https://github.com/hyprwm/Hyprland/" "url": "https://github.com/hyprwm/Hyprland/"
@ -1311,11 +1311,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1727656237, "lastModified": 1728001744,
"narHash": "sha256-qfZ7nYqYmzPc3Ei9hvWRrFu3Mn3WJ2akyYvaoPOOHcM=", "narHash": "sha256-6bYvaXkZK4XZ8o2cyjWkv5pvJKXHioQ9nJbW+7qaURQ=",
"owner": "mitchellh", "owner": "mitchellh",
"repo": "zig-overlay", "repo": "zig-overlay",
"rev": "5bdd678ad99cd0069dfa6a5822c1d82d45d34ad2", "rev": "a2aa0972982b43cff53b409075512874a9887bc2",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -155,8 +155,9 @@ proc fetchUpdateSummaryFromUrl(url: string): string =
reader.close() reader.close()
proc getUpdateSummary*(runId: int, host: string): string = proc getUpdateSummary*(runId: int, host: string): string =
let url = getUpdateSummaryUrl(runId, host) withSpinner("fetching update summary"):
result = fetchUpdateSummaryFromUrl(url) let url = getUpdateSummaryUrl(runId, host)
result = fetchUpdateSummaryFromUrl(url)
type type
GitRepo = object GitRepo = object