Timeline



Dec 28, 2012:

6:25 PM Changeset [1156:57d342190d2e] by Stefan Schwarzer <sschwarzer@…>
Removed class `TolerantUnixParser`. It was only intended as example code.
6:10 PM Changeset [1155:6f7b16432a38] by Stefan Schwarzer <sschwarzer@…>
Allow custom parsers to ignore invalid lines, i. e. those which would normally raise a `ParserError`. I'm not really sure whether I like the API. It's not intuitive that a user-supplied parser may ignore invalid lines even though the user's code in the parser explicitly raises a `ParserError`: class MyParser(ftp_stat.UnixParser): should_ignore_invalid_lines = True def parse_line(self, line, time_shift=0.0): ... raise ftp_error.ParserError("invalid user field") ... This looks somewhat contradictory.
4:50 PM Changeset [1154:09f76157a11a] by Stefan Schwarzer <sschwarzer@…>
Raise `ParserError` if file/dir name contains only whitespace. Before this change, we got a `ValueError` (see ticket #69).
2:17 PM Ticket #65 (Auto-probing of LIST's -a option is faulty (Ticket #23)) closed by schwa
fixed: Replying to schwa: > So I guess I'll remove the test I now …
2:10 PM Changeset [1153:638be2231c9b] by Stefan Schwarzer <sschwarzer@…>
Change somewhat ambiguous sentence.
2:08 PM Changeset [1152:6d7ff24a9288] by Stefan Schwarzer <sschwarzer@…>
Added an extra documentation section on hidden files and directories.
1:54 PM Changeset [1151:e159ad18e35b] by Stefan Schwarzer <sschwarzer@…>
Mention ``use_list_a_option`` in documentation.
1:39 PM Changeset [1150:8f572d179bb9] by Stefan Schwarzer <sschwarzer@…>
Some formatting improvements.
1:39 PM Changeset [1149:74bde432d0ec] by Stefan Schwarzer <sschwarzer@…>
Use `LIST -a` by default, without probing (see comments in ticket #65). The probe method `_check_list_a_option` is gone, but there's now a public flag `use_list_a_option` which is set to `True` by default. A user can switch this off by setting the attribute to `False`. However, this should very rarely be necessary. I expect that most servers will either show hidden files if `-a` is used or ignore the option altogether.
1:31 PM Changeset [1148:dad9ba62e480] by Stefan Schwarzer <sschwarzer@…>
Use `super` instead of old-style base class call.
1:20 PM Changeset [1147:6f766348d7e3] by Stefan Schwarzer <sschwarzer@…>
Nicer formatting.
12:35 PM Changeset [1146:533f968af9aa] by Stefan Schwarzer <sschwarzer@…>
Use `assertTrue`/`assertFalse` instead of `assertEqual` and `bool()`.
12:19 PM Ticket #66 (FTPHost.path.isfile() on nonexistent path raises PermanentError) closed by schwa
fixed: I could reproduce the problem. It should be fixed by changeset …
12:15 PM Changeset [1145:d4e7c0a9c974] by Stefan Schwarzer <sschwarzer@…>
Added comments referring to ticket #66.
12:06 PM Changeset [1144:a650995c4c94] by Stefan Schwarzer <sschwarzer@…>
Don't indent subsequent lines in multi-line comments.
11:40 AM Changeset [1143:1a34a82b258f] by Stefan Schwarzer <sschwarzer@…>
Use nicer indentation in `FTPHost.__assert_valid_time_shift`.
11:33 AM Changeset [1142:30f2f124324b] by Stefan Schwarzer <sschwarzer@…>
Renamed `MockUnixSession` to `MockUnixFormatSession`. This is analogous to `MockMSFormatSession`. After all, we can have servers running on a Microsoft system which emit Unix-style directory listings.
11:25 AM Changeset [1141:f5d224a3097b] by Stefan Schwarzer <sschwarzer@…>
Don't use `MockUnixSession` when `MockSession` will do. This makes clear that the tests using the derived `MockSession` classes don't actually read directory contents.
11:16 AM Changeset [1140:3bdcd99a54de] by Stefan Schwarzer <sschwarzer@…>
Extracted `MockUnixSession` corresponding to `MockMSFormatSession`. Also, a few tests had to be adapted as a consequence.
11:03 AM Changeset [1139:31a1b5455047] by Stefan Schwarzer <sschwarzer@…>
Don't raise `PermanentError` for `host.path.isdir("/dir/subdir")` if even the directory doesn't exist. The fix was rather simple, but now ftputil does a lot more behind the scenes; it traverses up from the path given as argument and does a stat call on each of these traversals. This means that in `mock_ftplib.MockSession`, we can no longer have mixed directory strings for Unix and MS format, so some refactoring of `MockSession` and changing of some dependent tests was necessary.

Dec 27, 2012:

10:44 PM Ticket #67 (ftp_stat.parse_ms_time breaks on IIS 7.5 with 4 digit year lines) closed by schwa
fixed: I've checked in a fix as changeset [efd6e56cc4be].
10:42 PM Changeset [1138:efd6e56cc4be] by Stefan Schwarzer <sschwarzer@…>
Handle four-digit year in Microsoft directory format (ticket #67).
10:25 PM Changeset [1137:93a7aab450aa] by Stefan Schwarzer <sschwarzer@…>
Make directory retrieval with FTP client more robust. Don't use FTP servers which aren't available.
9:04 PM Changeset [1136:eca5938250d0] by Stefan Schwarzer <sschwarzer@…>
Don't indent subsequent lines of multi-line comments.
7:51 PM Changeset [1135:d287c5611386] by Stefan Schwarzer <sschwarzer@…>
Use a more portable way to find out the local hostname.

Dec 26, 2012:

7:02 PM Ticket #57 (Migrate ftputil mailing lists) closed by schwa
fixed: The mailing lists are now at ftputil@lists.sschwarzer.net

Dec 25, 2012:

10:56 PM MailingList edited by schwa
Changed list host to lists.sschwarzer.net (diff)

Dec 7, 2012:

10:58 PM Ticket #70 (mkdir() raises FTPOSError: 250 Created) closed by schwa
invalid: Replying to ftputiluser: > Thanks for the answer and the …

Dec 4, 2012:

2:42 PM Ticket #70 (mkdir() raises FTPOSError: 250 Created) created by ftputiluser
Hi, I've the following problem (using a FTP account on …

Nov 15, 2012:

12:18 AM Ticket #69 (Error parsing directory holding items with names consisting of space ...) created by ftputiluser
In case if there is an entry with an empty name or a name consisting …

Nov 10, 2012:

12:43 PM Ticket #68 (Add Python 3 support) created by ftputiluser
Hello! My name is Andrey, i use your module ftputil. Thanks you for …

Oct 19, 2012:

4:19 PM Ticket #67 (ftp_stat.parse_ms_time breaks on IIS 7.5 with 4 digit year lines) created by ftputiluser
IIS 7.5 FTP Server displays dates with 4 digit years when in MS-DOS …

Oct 16, 2012:

1:31 PM Ticket #66 (FTPHost.path.isfile() on nonexistent path raises PermanentError) created by ftputiluser
If you call path.isfile() on a non existent path like so: […] a …
Note: See TracTimeline for information about the timeline view.