winfreed.git
12 years agopkgs: update some packages
Antonio Ospite [Sat, 31 Mar 2012 11:13:08 +0000 (13:13 +0200)]
pkgs: update some packages

12 years agowinfreed.py: fix a couple of pep8 issues
Antonio Ospite [Sat, 31 Mar 2012 11:12:14 +0000 (13:12 +0200)]
winfreed.py: fix a couple of pep8 issues

winfreed.py:74:23: W601 .has_key() is deprecated, use 'in'
winfreed.py:80:19: E222 multiple spaces after operator

12 years agowinfreed.py: factor out a generic download_file() function
Antonio Ospite [Sat, 31 Mar 2012 11:09:17 +0000 (13:09 +0200)]
winfreed.py: factor out a generic download_file() function

12 years agowinfreed.py: some TODO comments
Antonio Ospite [Wed, 30 Nov 2011 11:05:26 +0000 (12:05 +0100)]
winfreed.py: some TODO comments

12 years agowinfreed.py: hopefully more solid parsing of Content-Disposition header
Antonio Ospite [Wed, 30 Nov 2011 11:04:34 +0000 (12:04 +0100)]
winfreed.py: hopefully more solid parsing of Content-Disposition header

12 years agowinfreed.py: differentiate between pkg_url and actual url
Antonio Ospite [Wed, 30 Nov 2011 10:57:00 +0000 (11:57 +0100)]
winfreed.py: differentiate between pkg_url and actual url

The actual URL of the file can be the result of HTTP redirects done when
requesting 'pkg_url'.

12 years agoAdd a NOTES file
Antonio Ospite [Sat, 26 Nov 2011 14:58:20 +0000 (15:58 +0100)]
Add a NOTES file

12 years agowinfreed.py: fix E225 missing whitespace around operator" from pep8
Antonio Ospite [Sat, 26 Nov 2011 12:09:52 +0000 (13:09 +0100)]
winfreed.py: fix E225 missing whitespace around operator" from pep8

12 years agowinfreed.py: fix "W293 blank line contains whitespace" from pep8
Antonio Ospite [Sat, 26 Nov 2011 12:08:44 +0000 (13:08 +0100)]
winfreed.py: fix "W293 blank line contains whitespace" from pep8

12 years agowinfreed.py: fix "E302 expected 2 blank lines, found 1" from pep8
Antonio Ospite [Sat, 26 Nov 2011 11:59:45 +0000 (12:59 +0100)]
winfreed.py: fix "E302 expected 2 blank lines, found 1" from pep8

12 years agowinfreed.py: use the file name from Content-Disposition if available
Antonio Ospite [Sat, 26 Nov 2011 11:56:54 +0000 (12:56 +0100)]
winfreed.py: use the file name from Content-Disposition if available

Some servers provide a Content-Disposition header with indication about
the filename of the object served, use this instead of the name in the
URL if this information is available.

12 years agowinfreed.py: factor out a get_pkg() function
Antonio Ospite [Sat, 26 Nov 2011 11:52:02 +0000 (12:52 +0100)]
winfreed.py: factor out a get_pkg() function

12 years agowinfreed.py: rename 'package' field to 'package_name'
Antonio Ospite [Sat, 26 Nov 2011 11:49:37 +0000 (12:49 +0100)]
winfreed.py: rename 'package' field to 'package_name'

12 years agowinfreed.py: rename 'entry' to 'pkg'
Antonio Ospite [Sat, 26 Nov 2011 11:42:10 +0000 (12:42 +0100)]
winfreed.py: rename 'entry' to 'pkg'

12 years agopkgs: update some packages
Antonio Ospite [Sat, 26 Nov 2011 11:35:35 +0000 (12:35 +0100)]
pkgs: update some packages

13 years agoAdd some debug print when the filename could not be guessed
Antonio Ospite [Mon, 19 Sep 2011 10:13:29 +0000 (12:13 +0200)]
Add some debug print when the filename could not be guessed

13 years agoInitial import
Antonio Ospite [Mon, 19 Sep 2011 09:14:49 +0000 (11:14 +0200)]
Initial import