Sridhar Ratnakumar schrieb:
Note that package_index is not API-friendly. A few violations I can think of: 1) it prints warning messages to stderr without programmer control, 2) throws random network exceptions that should be handled in a custom exception (see the issues I reported in distribute tracker) 3) no ability to control URL types (eg: I want to fetch only tarballs/zipfiles, not svn/hg/etc..) and so on.
+1 Also missing: 4) No easy way to change priorities for filetypes (eggs are always preferred) 5) No easy way to fetch other filetypes (eg. .msi or installer-exe, esp. important on Windows) 6) No easy way to change the URL-Scanner (if sourceforge changes URLs again) When distribute evolves, I may contribute some code / patches for this. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de Monatliche Kolumne: http://www.all-about-security.de/kolumnen/cissp-gefluester/ Goebel Consult mit Mitglied bei http://www.7-it.de