tighten / takeout

Docker-based development-only dependency manager. macOS, Linux, and WSL2-only and installs via PHP's Composer... for now.
MIT License
1.59k stars 83 forks source link

Fix "latest" tag fallback #242

Closed josecanhelp closed 3 years ago

josecanhelp commented 3 years ago

Docker Hub paginates the tag list page and in order to pull the full list of tags, we would need to authenticate, which I've been trying to avoid for complexity sake. Luckily, we can expand the page_size parameter and bump it up to read more tags without needing to authenticate.

The next step to my solution is to partition the named tags and the numerical tags. We can rely on the higher numerical tags to be the "actual latest" tags and we can ignore the named tags when takeout is searching for "actual latest".

mattstauffer commented 3 years ago

Thank you so much @josecanhelp!

jonsugar commented 3 years ago

What wonderful code. Whoever you work for is so freaking lucky ;) OH WAIT THAT IS YOU

@mattstauffer looks like you're only option is for Tighten to purchase Troika and reabsorb @josecanhelp 🤡