Git Commits
days commits 5
ohnsh/days-
5:24 pm — John Sherrell <dev@ohn.sh>
New sort order for video tabs prioritizing talking vids, then running vids.
-
4:01 pm — John Sherrell <dev@ohn.sh>
Now prioritize talking videos for og:image thumbnail. (Running videos come next, then everything else.)
-
12:56 pm — John Sherrell <dev@ohn.sh>
YouTube loader: rudimentary incremental fetching implemented. If a playlist already has items saved in local JSON, only fetch 10 items at a time until an already-saved item is reached, then stop. Implementation uses an async generator to page through the API. I'm uncertain about what exactly happens to the playlist when I *update* metadata on an already-published video, but I'm quite certain that this incremental fetch implementation won't handle it gracefully. When a fresh sync is needed, simply delete the .days/youtube directory, where the API JSON is cached.
-
10:18 am — John Sherrell <dev@ohn.sh>
Github loader: important to use `pushed_at` timestamp instead of `updated_at`. The latter is (seemingly) not updated on push.
-
10:12 am — John Sherrell <dev@ohn.sh>
Github loader: Only fetch commits for repositories updated since last sync. Still fetching *all* commits, which needs to be optimized.