charles-001 / dolphie

Your single pane of glass for real-time analytics into MySQL/MariaDB & ProxySQL
https://pypi.org/project/dolphie/
GNU General Public License v3.0
651 stars 40 forks source link

Query PyPI API to get the latest version - enable config bypass #46

Closed Gaabaa closed 9 months ago

Gaabaa commented 9 months ago

Hi,

we are behind strict company environment, that is not allowed for direct connections out of intranet. Instead, we mirror repositories like docker/debian/PyPi in intranet and download packages thru it...

Is there by any chance you can modify this part to allow bypassing thru config file? Some kind of option like pypi_repository to allow user specify their "own" PyPi repository address via config file.

Thank you for your reaction and time.

https://github.com/charles-001/dolphie/blob/2a8ce2199f700b5d70dcd13693b8c8ba0ebc3df4/dolphie/__init__.py#L142

charles-001 commented 9 months ago

Hi @Gaabaa - thanks for reaching out! I can definitely add this feature for you. You simply need to only be able to change the url and that's it?

Gaabaa commented 9 months ago

Hi,

i really appreciate your time in this. As we tested your app in our environment and tremendously like it, we found only this "limitation" for us. As you say, we'd like to change URL by config option.

Our whole team thank you!

charles-001 commented 9 months ago

I'm glad to hear you and your team are enjoying it! I'll be pushing a new version probably within the next day that has this change along with various other things.

If there's anything else you need, just let me know :)

charles-001 commented 9 months ago

Hi @Gaabaa - I just released v4.1.0 with this feature. Please try it out and let me know how it works for you!

Gaabaa commented 9 months ago

Hey @charles-001 ,

we tested the feature and it works like a charm! Our DB environment is full MariaDB and even without "official support" your tool will make our lifes a lot easier with real-time debbuging. Also, i'd like to thank you for attitude you put into this. Coffee is on the way!

charles-001 commented 9 months ago

Awesome!! Glad it worked out for you. Thank you for the coffee ☕

charles-001 commented 9 months ago

Oh, just curious - does anything break w/ Dolphie when using your instances of MariaDB?

Gaabaa commented 9 months ago

We'll start distribute Dolphie over few A/B testing clusters at beginning of upcoming working week. Will let you know if we encounter anything "critical" ;-) Enjoy weekend Gaba