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

Do we want beta/etc. to show up for "latest" tag? #246

Closed mattstauffer closed 2 years ago

mattstauffer commented 3 years ago

I just got 14beta2-buster as a latest tag and I was wondering whether we actually want that?

It's from postgres.

Also, they have things like 14beta2-alpine3.14, 14beta2-alpine, and 14beta2-buster, so I am wondering if we need to find a way to better nuance (for some, at least) which resolves as "latest"? I wouldn't even begin to know which to pick

morloderex commented 3 years ago

@mattstauffer Would it make sense to ask the consumer about what kind of stability package we should use, instead of "just" using the lastest tag given the fact that the lastest tag could be a "alpha", "beta" or anyother kind of non versioned tag?

mattstauffer commented 3 years ago

Good question. My inclination is to provide a "safe" default, probably non-beta (unless @josecanhelp suggests that's not the common action to take in the Docker world), and then remember people can always pass whatever tag they want.. and MAYYYBE we consider some sort of facility to let them list some tags or search tags? Not sure about that last part.

edalzell commented 3 years ago

Related: https://github.com/tighten/takeout/pull/216#issuecomment-812804285.

Pulling the 10 latest, in Postgres' case doesn't work.

haneez commented 2 years ago

Yes please. Please implement a way to default to LTS, Stable, etc.

mattstauffer commented 2 years ago

I believe we're not showing beta. If anyone is seeing betas pulled in, please create a new issue. Thanks!