jupyterhub / docker-image-cleaner

Python script to cleanup unused docker images
BSD 3-Clause "New" or "Revised" License
9 stars 6 forks source link

Rename PATH_TO_CHECK? #9

Closed consideRatio closed 2 years ago

consideRatio commented 2 years ago

I think PATH_TO_CHECK is too vague. It also deviates by being the only env var influencing this script not prefixed with IMAGE_GC.

I think with this package, we should make our configuration more consistent etc, because adopting this package it will be somewhat breaking anyhow so now is the time to do some refactoring.

Related:

yuvipanda commented 2 years ago

@consideRatio my preference is to do a 'drop-in' integration of this into binderhub as is before embarking on refactors. This makes it easier to detect breakage caused by issues in the repo split vs issues caused by our refactor. What do you think?

consideRatio commented 2 years ago

That sounds reasonable but a bit more work. I suggest we look to make changes pre 1.0.0 though rather than go for a 2.0.0 very soon etc.

yuvipanda commented 2 years ago

@consideRatio I think right now you have the energy to do the work, and if so I'll encourage whatever it is you want to do pre 1.0 :)

Renaming sounds good to me. What do you think of using commandline args instead of environment variables?

consideRatio commented 2 years ago

Closed by #55

consideRatio commented 2 years ago

What do you think of using commandline args instead of environment variables?

Forgot this note, but it also adds more work to get done. I went for a rename in #55.