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

View file

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