-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: israel-lugo/capidup
base: v1.0.1
head repository: israel-lugo/capidup
compare: master
Commits on Jul 14, 2016
-
Create unit test for issue #12.
New file test_indexing.py, to test index_files_by_size(). New test test_nonexistent, to test indexing nonexistent files.
Configuration menu - View commit details
-
Copy full SHA for 1b6663c - Browse repository at this point
Copy the full SHA 1b6663cView commit details
Commits on Jul 15, 2016
-
Fix breakage caused by race condition. Closes #12.
* finddups.py (index_files_by_size): Fix race condition when file is deleted between os.walk() seeing it and us calling os.lstat(). * tests/test_indexing.py (test_nonexistent): Remove "expected to fail" mark.
Configuration menu - View commit details
-
Copy full SHA for ab4437d - Browse repository at this point
Copy the full SHA ab4437dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a9d98e - Browse repository at this point
Copy the full SHA 6a9d98eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79d51d2 - Browse repository at this point
Copy the full SHA 79d51d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 495a2cf - Browse repository at this point
Copy the full SHA 495a2cfView commit details
Commits on Jul 17, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 1901e47 - Browse repository at this point
Copy the full SHA 1901e47View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4bd235 - Browse repository at this point
Copy the full SHA d4bd235View commit details -
Configuration menu - View commit details
-
Copy full SHA for b96185c - Browse repository at this point
Copy the full SHA b96185cView commit details
Commits on Aug 1, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 53d4652 - Browse repository at this point
Copy the full SHA 53d4652View commit details -
test_dups: Fix breakage on Python3.2. Encode strings in UTF-8. See #9.
Python 3.2 doesn't support u"" prefix on Unicode strings. We have to use a transparent wrapper for compatibility.
Configuration menu - View commit details
-
Copy full SHA for 8dc11fd - Browse repository at this point
Copy the full SHA 8dc11fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc3ee64 - Browse repository at this point
Copy the full SHA fc3ee64View commit details
Commits on Aug 6, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 9c5fad7 - Browse repository at this point
Copy the full SHA 9c5fad7View commit details
Commits on Sep 5, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 55bae63 - Browse repository at this point
Copy the full SHA 55bae63View commit details -
test_dups: Test with subdirs as well as flat.
* test_dups.py (test_flat_find_dups_in_dirs): Renamed to test_find_dups_in_dirs. New argument flat. (setup_flat_files): Renamed to setup_files. New argument flat.
Configuration menu - View commit details
-
Copy full SHA for b415c70 - Browse repository at this point
Copy the full SHA b415c70View commit details
Commits on Sep 9, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 9881afb - Browse repository at this point
Copy the full SHA 9881afbView commit details -
find_duplicates_in_dirs: Fix documentation example.
Wrong function name in example. Relative paths suggest 'dir1' and 'dir2' are subdirectories of '.', which is already in the list of dirs to scan.
Configuration menu - View commit details
-
Copy full SHA for 2cc6b90 - Browse repository at this point
Copy the full SHA 2cc6b90View commit details -
Implement regression tests for directory exclusion. See #10.
Actual functionality is still not implemented. New file tests/test_excludes.py.
Configuration menu - View commit details
-
Copy full SHA for ca89609 - Browse repository at this point
Copy the full SHA ca89609View commit details -
Configuration menu - View commit details
-
Copy full SHA for 034997d - Browse repository at this point
Copy the full SHA 034997dView commit details -
find_duplicates_in_dirs: New parameter exclude_dirs. See #10.
Add hook to index_files_by_size to prune subdirs. Still need to implement the actual pruning.
Configuration menu - View commit details
-
Copy full SHA for 761a0e0 - Browse repository at this point
Copy the full SHA 761a0e0View commit details -
Enabled the unit tests in test_excludes, as this is now implemented.
Configuration menu - View commit details
-
Copy full SHA for 4884a32 - Browse repository at this point
Copy the full SHA 4884a32View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0c08a8 - Browse repository at this point
Copy the full SHA a0c08a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18e107a - Browse repository at this point
Copy the full SHA 18e107aView commit details
Commits on Sep 10, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 2c3c73e - Browse repository at this point
Copy the full SHA 2c3c73eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 884da9f - Browse repository at this point
Copy the full SHA 884da9fView commit details -
Split huge test_dups.py into separate files.
* test_dups.py: Renamed to test_dups_full.py, some tests removed. * test_dups_simple.py: New file, from some tests.
Configuration menu - View commit details
-
Copy full SHA for 24b63cf - Browse repository at this point
Copy the full SHA 24b63cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b99484 - Browse repository at this point
Copy the full SHA 5b99484View commit details -
find_duplicates_in_dirs: improve docstring example.
Also improve explanation of exclude_dirs for index_files_by_size.
Configuration menu - View commit details
-
Copy full SHA for 54c579b - Browse repository at this point
Copy the full SHA 54c579bView commit details -
Implement unit tests for file exclusion. See #15.
* test_excludes.py (test_exclude_files): New test. (exclude_dirs_data): Renamed to exclude_data. Added extension tests. (reference_file): New global variable. * finddups.py (find_duplicates_in_dirs): New parameter exclude_files. (index_files_by_size): Likewise.
Configuration menu - View commit details
-
Copy full SHA for 096bfe3 - Browse repository at this point
Copy the full SHA 096bfe3View commit details -
Implement file exclusion. See #15.
* finddups.py (index_files_by_size): Prune filenames. (prune_subdirs): Renamed to prune_names. Made generic, doesn't care if the name is a subdir or a filename. (should_be_excluded): Made generic, doesn't care if the name is a subdir or a filename. * test_excludes.py (test_exclude_files): Unmark xfail, is now implemented. * CHANGELOG.rst: Document new feature.
Configuration menu - View commit details
-
Copy full SHA for 4c55220 - Browse repository at this point
Copy the full SHA 4c55220View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0380a38 - Browse repository at this point
Copy the full SHA 0380a38View commit details
Commits on Sep 15, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 4c43281 - Browse repository at this point
Copy the full SHA 4c43281View commit details
Commits on Sep 20, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 48e4f2f - Browse repository at this point
Copy the full SHA 48e4f2fView commit details
Commits on Jan 24, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 95001dc - Browse repository at this point
Copy the full SHA 95001dcView commit details
Commits on Feb 6, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 65fe82a - Browse repository at this point
Copy the full SHA 65fe82aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1297b49 - Browse repository at this point
Copy the full SHA 1297b49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11477e1 - Browse repository at this point
Copy the full SHA 11477e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdd7627 - Browse repository at this point
Copy the full SHA bdd7627View commit details
Commits on Sep 10, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 09d3b0a - Browse repository at this point
Copy the full SHA 09d3b0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1636177 - Browse repository at this point
Copy the full SHA 1636177View commit details
Commits on Sep 14, 2017
-
Fix false negatives in test_find_dups_in_dirs. Closes #19.
We were relying on the visitation order of the files within a group.
Configuration menu - View commit details
-
Copy full SHA for 37572d5 - Browse repository at this point
Copy the full SHA 37572d5View commit details -
Fix false positives in loop detection. See #17.
We were detecting loops related to symlinks even when follow_dirlinks was false, i.e. when the symlinks would be irrelevant.
Configuration menu - View commit details
-
Copy full SHA for 63c6d9c - Browse repository at this point
Copy the full SHA 63c6d9cView commit details
Commits on Sep 15, 2017
-
Fix false positives in loop detection. Closes #17.
We had false positives when there was a (forward) symlink to a subdir. Fix filter_visited so it doesn't count multiple subdirs pointing to the same thing as a loop.
Configuration menu - View commit details
-
Copy full SHA for 817cb87 - Browse repository at this point
Copy the full SHA 817cb87View commit details -
Fix loop detection to catch loops on first pass.
Mark the current directory as visited before inspecting the subdirs. This lets us catch symlinks to it immediately, instead of after entering one level of loop. See #17.
Configuration menu - View commit details
-
Copy full SHA for 7524d04 - Browse repository at this point
Copy the full SHA 7524d04View commit details
There are no files selected for viewing