Commit Graph

11 Commits

Author SHA1 Message Date
c4f36713bf improved duplicate counting, removed concept of sets, and validated counts work via DB selects, and they do 2021-03-27 14:24:16 +11:00
b216d138b9 renamed self.KeepInSameDups to self.KeepInIPSPDups as it is not same dir, but ip to sp 2021-03-25 19:52:48 +11:00
7e14280ec5 made new/better function to deal with path duplicates / reduced duplicate code, fixed overall count vars, improved debugs 2021-03-21 16:58:54 +11:00
054d024ae0 added more debugs into Dump(), its noisier, but while testing in small number of files in DEV, its needed 2021-03-21 12:08:21 +11:00
517069c709 use raw string for regex to make linter happy 2021-03-19 17:19:45 +11:00
df8f9c88de whitespace removed 2021-03-19 17:17:29 +11:00
2cd55580a9 rewrote dups.html to now use newer model, where we will auto-delete those that match the regexp, and not show a per row view of these. Also removed extra / unneeded line when processing deleting files 2021-03-17 20:04:25 +11:00
08dc646371 first pass of using Duplicate class, rather than files doing all the dup work. The html still is shown preferreds, and does not know there are preferred files and preferred dirs yet 2021-03-15 20:36:10 +11:00
046c512e6b added comments 2021-03-14 14:33:22 +11:00
f88ef2542f updated dups.py to have a DupRow class to store the data in a way dot-notation works consistently in Duplicates class, also moved attributes into top of __init__ for consistency, but needed for DupRow to work (implies the attributes are not globally shared per DupRow, which would not work). Broke into a couple more functions for readability, and added back the first-pass duplicate row creation into AddDups -- that needs a better name too 2021-03-14 11:51:56 +11:00
8ff61dddfa trialing a new duplicate class to deal more consistently with the various types of duplicates -- mostly to enable "auto" deleting of duplicates in specific conditions, e.g. in both an import dir and storage dir - just delete dups from import dir 2021-03-13 12:36:16 +11:00