summaryrefslogtreecommitdiffstats
path: root/cnucnu/helper.py
Commit message (Collapse)AuthorAgeFilesLines
* PEP8 cnucnu/helper.pyTill Maas2014-02-061-7/+24
|
* Allow more versatile globbing from URLs besides just a single asterisk.Ville Skyttä2013-10-031-9/+14
| | | | | | | | Example case: http://ftp.gnu.org/gnu/autogen/ contains dirs like X.Y.Z and relX.Y.Z where the latter are the ones we're interested in. http://ftp.gnu.org/gnu/autogen/*/ does not work because it'll always end up considering the X.Y.Z dirs only; after this change we can use http://ftp.gnu.org/gnu/autogen/rel*/ as the URL.
* helper: Add timeouts for HTML retrievalTill Maas2012-06-041-0/+2
|
* helper: Add User-AgentTill Maas2012-06-041-0/+1
|
* Support 'dev' release candidate style, Red Hat Bug Report ↵Till Maas2012-02-081-2/+2
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=788702
* Document split_rc and get_rcTill Maas2012-02-081-2/+4
|
* Clarify variable namesTill Maas2012-02-081-4/+4
|
* Helper: use more variables for better readabilityTill Maas2011-04-141-4/+6
|
* Add beta and alpha RC comparison support.Ville Skyttä2011-04-141-3/+3
|
* Implement multi-digit RC, and "rc" vs "pre" comparison.Ville Skyttä2011-04-141-27/+43
|
* Make upstream_cmp() case insensitive.Ville Skyttä2011-04-141-1/+1
|
* Fix split_rc() with uppercase RC/PRE.Ville Skyttä2011-04-141-2/+2
|
* Compile RC regexps only once.Ville Skyttä2011-04-141-6/+5
|
* Doc fixes.Ville Skyttä2011-04-141-5/+3
|
* Refactor expand_subdirsTill Maas2011-02-241-11/+24
|
* Implement subdirectory handling.Ville Skyttä2011-02-201-0/+24
| | | | Each /^/ in the given URL is replaced by the latest version dir at that level.
* Load twisted.web only in get_html callback mode.Ville Skyttä2010-12-261-1/+1
| | | | This removes the dependency on twisted-web except when running tests.
* remove extra whitespace at the end of linesTill Maas2010-12-251-1/+1
|
* Clean up unused imports.Ville Skyttä2010-12-231-2/+1
|
* move some code to helper function match_intervalTill Maas2010-03-061-0/+18
|
* helper.split_rc(): keep all version informationTill Maas2010-01-301-1/+4
| | | | | - if version contains a dash ("-"), then split_rc returned a truncated version string. This broke vim-latex snapshot comparison.
* add some documentation to helper.pyTill Maas2010-01-301-0/+23
|
* refactor helper tests & recognize pre releasess without a versionTill Maas2009-08-071-16/+47
|
* support some RC/pre-releases, use global configTill Maas2009-07-281-6/+27
|
* Merge branch 'work'Till Maas2009-07-271-1/+42
|\
| * handle pre-releasesTill Maas2009-07-271-2/+3
| |
| * handly release candidates in upstream versionsTill Maas2009-07-271-1/+41
| |
* | Merge branch 'work'Till Maas2009-07-261-2/+2
|\|
| * first epydoc experimentsTill Maas2009-07-261-2/+2
| |
* | Use pycurl not for ftp:// linksTill Maas2009-07-261-13/+18
| |
* | Use pycurl to get plain URLs, follow redirectsTill Maas2009-07-231-3/+22
|/ | | | | | | urlllib seems to urlunescape HTTP location headers to get the url to follow. If this URL contains spaces, a bad request is created. Python bug report: http://bugs.python.org/issue6557
* remove dir lib for saner imports(?)Till Maas2009-07-191-0/+72