hadiasghari / pyasn

Python IP address to Autonomous System Number lookup module. (Supports fast local lookups, and historical lookups using archived BGP dumps.)
Other
292 stars 72 forks source link

Packages #20

Open sebix opened 8 years ago

sebix commented 8 years ago

To deploy software more securely than via pip, we need packages for debian/ubuntu of used third-party libraries.

Would this be possible?

hadiasghari commented 8 years ago

Sebix, I would by all means support that. Do you know how to nominate packages for inclusion in the repositories?

hadiasghari commented 8 years ago

Attention @NullHypothesis

NullHypothesis commented 8 years ago

A friendly Debian developer told me that you could create a package yourself and then find a Debian developer that has a look at it, and then uploads it for you.

(That sounds easier than becoming a developer yourself, or convince another developer to do all the work for you.)

hadiasghari commented 8 years ago

Thanks @NullHypothesis, I will look into the package requirements then.

hadiasghari commented 8 years ago

Hi @sebix ,

I have researched the idea of getting the package into Debian repository (https://mentors.debian.net/intro-maintainers) a bit. On IRC I was told that the best sponsor is probably the Python team (https://wiki.debian.org/Teams/PythonModulesTeam).

I will follow up on this and am supportive of the idea. The hold back at the moment, and what I intend to resolve first, is the possible licensing issue #25.

BR Hadi

sebix commented 8 years ago

Packages for OpenSUSE: https://build.opensuse.org/package/show/home:sebix/python3-pyasn

Includes into official repos is pending, but I'm still unsure about the license.

sebix commented 8 years ago

Builds succeed for Ubuntu 16.04. For Debian I need to change the version number (they have different policies), but it works too.

Please test them (don't have an ubuntu at hand): https://build.opensuse.org/package/show/home:sebix/python3-pyasn

Click on the distro's name in the right bar or "Download package" to get the .deb-file.

hadiasghari commented 8 years ago

Cool, thanks, will check.

sebix commented 7 years ago

I have packages for CentOS, Debian, Fedora, OpenSUSE and Ubuntu: https://build.opensuse.org/package/show/home:sebix:intelmq/python3-pyasn

Please test them. After #25 is resolved, we can get them upstream.

sebix commented 7 years ago

And please think about reducing the amount of data shipped in the releases. Currently it's 70MB test data versus 0.5MB code and docs.

hadiasghari commented 7 years ago

Thank you! Will check both soon

hadiasghari commented 7 years ago

@sebix I reduced the test data to approx 15MB by removing some data, and furthermore, adding the ability to load gzip-compressed IPASN databases. I've bumped up the version to 1.6b1, and will do a pypi release soon.

(@sebix I have the package checks on schedule)

sebix commented 7 years ago

Thanks!

hadiasghari commented 4 years ago

Hi @sebix, did you eventually resolve the licensing issue in some manner? (I want to do a new minor release, and if you have any solution, I'd be happy to merge before I do, thanks!)

sebix commented 4 years ago

See #25

hadiasghari commented 4 years ago

Well, in #25 the conclusion was pytricia can be way forward, and I personally think the correct design is to have the back-end be a choice (either at compile time or at runtime)... But I unfortunately didn't get around to doing the work. That's why I was asking if you implemented any solution for yourself? Shall we close this thread and continue the discussion in #25?

sebix commented 4 years ago

AFAIR #25 is simply a dependency for #20