log4mongo / log4mongo-python

python logging handler for mongo database
http://log4mongo.org
Other
111 stars 37 forks source link

Debian packages #23

Closed ronhanson closed 7 years ago

ronhanson commented 8 years ago

Hey Oz, I can see that there is no log4mongo debian package available on public repos, neither in python 2 nor in 3. From what I saw on your nice personal website, you seem to be a debian fan, so I'm being curious: have you ever worked on that part? Is this something we should consider? I have some, not much, but still some experience in building packages for debian/ubuntu, so I might be able to help. Still I can build some .deb packages easily, I will definitively for myself, but I have no standard workflow for creating it. Tell me what you think about that. Cheers, Ronan

oz123 commented 8 years ago

I find pypi satisfactory. Debian packages get old.. and for most python deployments people use virtualenv (and mixing that with system packages is not a a good idea...)

ronhanson commented 8 years ago

I find pypi good enough too, but we have a workflow all deb based at work so I will have to generate deb packages for internal use. If you want me to share them, just ask, I will gladly take care of it. Thanks btw! You're really quick and reactive to answer.

oz123 commented 8 years ago

I do my best to answer in a timely manner.

Do you know about https://pypi.python.org/pypi/stdeb/0.8.5? This can help you create debian packages quickly.

ronhanson commented 8 years ago

I mainly use stdeb indeed, and even contributed to the project for python 3 support some time ago. Need some time to understand it but it is good soft.

oz123 commented 7 years ago

@ronhanson I have my share with shortcuts like stdeb or fpm. Manual building is a bit harder, but the results are better eventually. I would like to find a sponsor in debian for that. Any chance you can help?

ronhanson commented 7 years ago

Hi Oz, I can provide you with deb packages python-log4mongo_1.6.0-1_all.deb and python3-log4mongo_1.6.0-1_all.deb I make myself for both python 2 and 3. Is that all you would need? Tell me how I can send these to you. Cheers.

ronhanson commented 7 years ago

I just see you have committed some code about deb packaging. Tell me how I can help. I can provide you my packages, you can take a look at it, and I will show you as well the scripts I use to make them + the few config files I just created. Nothing fancy. You might already have done much better, I don't recall. All that I know is that the packages I created work fine for me in production since quite a few months now.

char0n commented 7 years ago

@oz123 just to let you know, I made a couple of commits to update my contact info and remove CodeScale company reference from the project.

oz123 commented 7 years ago

@char0n I noticed, github's notifications ;-).

oz123 commented 7 years ago

ronhanson, sending me the packages isn't something that will help others. Testing the build with :

debuild -us -uc

will help.

Once all lintian issues are resolved, one can upload the package to mentors.debian.org. As such the package is available for a wider audience too.