winfreed.git
11 years agowinfreed.py: remove TODO entries from code
Antonio Ospite [Sat, 17 Aug 2013 17:08:15 +0000 (19:08 +0200)]
winfreed.py: remove TODO entries from code

TODO items are now in the TODO file.

11 years agopkgs: update some packages
Antonio Ospite [Sun, 21 Jul 2013 21:58:02 +0000 (23:58 +0200)]
pkgs: update some packages

12 years agopkgs: update some packages
Antonio Ospite [Sat, 16 Jun 2012 12:35:18 +0000 (14:35 +0200)]
pkgs: update some packages

12 years agowinfreed.py: print the URL when the download fails
Antonio Ospite [Sat, 16 Jun 2012 12:33:36 +0000 (14:33 +0200)]
winfreed.py: print the URL when the download fails

This makes it easier to understand what pkg failed.

12 years agowinfreed.py: print version in the 'show' command
Antonio Ospite [Sat, 16 Jun 2012 10:11:23 +0000 (12:11 +0200)]
winfreed.py: print version in the 'show' command

12 years agopkgs: add a package for Blender 3D
Antonio Ospite [Sun, 6 May 2012 15:59:48 +0000 (17:59 +0200)]
pkgs: add a package for Blender 3D

12 years agowinfreed.py: add "support win64" as a TODO entry
Antonio Ospite [Sun, 6 May 2012 15:59:05 +0000 (17:59 +0200)]
winfreed.py: add "support win64" as a TODO entry

12 years agoUse INI format instead of JSON for packages
Antonio Ospite [Sun, 6 May 2012 15:36:32 +0000 (17:36 +0200)]
Use INI format instead of JSON for packages

The INI format supported by ConfigParser supports variable interpolation
which comes in handy for URLs with parametric language and version.

12 years agowinfreed.py: handle urllib2.urlopen failures better
Antonio Ospite [Sun, 6 May 2012 08:15:22 +0000 (10:15 +0200)]
winfreed.py: handle urllib2.urlopen failures better

Also make clear the difference between src_url and url and why we use
url = response.geturl() to get the latter.

12 years agopkgs: update The Gimp and LibreOffice
Antonio Ospite [Sun, 6 May 2012 08:12:50 +0000 (10:12 +0200)]
pkgs: update The Gimp and LibreOffice

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

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

13 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

13 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'.

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

13 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

13 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

13 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

13 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.

13 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

13 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'

13 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'

13 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