3 ms·
> packaging and deployment in python remains such an amazing mess, even after 20 years. I'm Lua fanboy, but I've to admit, that I'm missing clean deployments a
by ynezz 11y ago
> packaging and deployment in python remains such an amazing mess, even after 20 years.
I'm Lua fanboy, but I've to admit, that I'm missing clean deployments and upgrades with virtualenv and pypi available in Pyhton. I've never had any issue so far, am I being just lucky bastard? It has been like that for many years already.
> Ruby has better tooling libraries
On the other hand, I've honest to maintain one Redmine instance (which is written in Ruby) and this is real nightmare for me. Each time I've to upgrade, I've to drink a lot day or two in advance :-)
- SeanDav 11y ago> "....Redmine instance (which is written in Ruby) and this is real nightmare for me. Each time I've to upgrade, I've to drink a lot day or two in advance...." Well that is your problem right there - don't drink in advance, drink afterwards to try delete the traumatic experience from your memory!
- x0x0 11y agothose handle python deps ok, but not lib dependencies, at least last time I was forced to use it. If your company has a mix of older and newer projects, you'll end up with eg conflicting dependencies on libxml. My solution was to docker all the things. It made my life so much better; you could simultaneously run multiple services on the same box without awful fragile hacks.
- brimworks 11y agoDocker is a great tool, but not all customers will have that available to them, and the docker experience isn't great for customers on Windows/Mac since they have to run Linux in a VM, which means the agent would have the footprint of an entire OS on those platforms.
- icebraining 11y agoYou can bundle libxml.so and such and load it from your directory. Docker is certainly an option, but it's like using a sledgehammer to crack a nut.
- tetha 11y ago> I'm Lua fanboy, but I've to admit, that I'm missing clean deployments and upgrades with virtualenv and pypi available in Pyhton. I've never had any issue so far, am I being just lucky bastard? It has been like that for many years already. There's a few python libraries out there which just crash the entire stack, like Python-Mysql (or was it PyMysql, or one of the other very similarly named libraries?). And I might be biased, but talking to a mysql-db shouldn't be hard. >On the other hand, I've honest to maintain one Redmine instance (which is written in Ruby) and this is real nightmare for me. Each time I've to upgrade, I've to drink a lot day or two in advance :-) I rather mean tools like rake as a task-runner, guard, rubocop, thor as a templating system, rspec, chef as config management, kitchen, food-critic, sinatra for easy web services. It's a whole bunch of stable tools and tooling libraries (and they are integrating with each other).
- garrid0r 11y agoCompletely off topic: if you're running your Redmine instance for work, try to convince your boss to give it to Planio. They charge a fraction of what you're costing them and they really know their shit. I had to maintain redmine(s) at my current company and it just feels so awesome since we outsourced. They do all the updates and backups, we can request plugin installations, etc. amazing support, too. I can't stop raving about them, seriously. I think they're from Europe and their devs are all Redmine contributors. https://plan.io/redmine-hosting/ https://plan.io/redmine-hosting/ They also have a program where they move your data for free: https://plan.io/data-import-and-migration/ https://plan.io/data-import-and-migration/