d9cfec6b89
Merge branch 'master' of ssh://git.tensixtyone.com/code/tvorganise
2010-01-29 08:51:11 +00:00
44b843d9d6
Added simple config parser test
2010-01-29 08:49:15 +00:00
0106d75d25
Fixed logger lines
2010-01-29 08:40:58 +00:00
f7a79851a1
Cleaned up logging output
2010-01-27 11:00:19 +00:00
ac39b7d2b0
Removed unneeded test runner
2010-01-27 10:36:48 +00:00
71623e0d8b
Fix logger issues, renamed path formatting names
2010-01-27 10:33:45 +00:00
162a9ef522
Fixed startup for console_script
2010-01-26 17:34:56 +00:00
03824fee6e
Fixed console command init
2010-01-26 17:26:48 +00:00
ee174ffa53
Updated more build files
2010-01-26 17:23:40 +00:00
866a5e6ca3
Reorganised tests
2010-01-26 17:18:00 +00:00
469021f596
Added dist to clean
2010-01-26 17:08:48 +00:00
23019ab3fa
Reorganised the file structure
2010-01-26 17:07:58 +00:00
539d6b16f4
Updated missed files and added more rules to the clean
2010-01-26 17:02:41 +00:00
5b02515621
Added debian packaging files and related ignores
2010-01-26 17:00:02 +00:00
8228d476db
Renamed test suite file
2010-01-26 16:46:27 +00:00
492ec91c2e
Added testing suite
2010-01-26 16:44:25 +00:00
0cafb2a8f1
Start of a simple test suite
2010-01-26 16:31:30 +00:00
41309c46b0
Fix find_files to be able to handle str and list
2010-01-26 16:31:00 +00:00
2e7c2882fa
Fix find_files to accept arrays, Output the names of skipped files
2010-01-26 15:50:45 +00:00
3422dd401d
More pylint cleanups
2010-01-26 15:47:41 +00:00
930d3bb958
Refactor find_files to use os.walk instead.
2010-01-26 14:09:09 +00:00
777853bd86
pylint cleanup
2010-01-26 14:05:58 +00:00
7f108e80eb
Further PEP8 work.
2010-01-26 13:36:11 +00:00
47c58a18de
Added pep8 tool
2010-01-26 13:27:03 +00:00
13eed737dd
PEP8 work, cleanup
2010-01-26 13:20:35 +00:00
18f8e298fd
Convert to use logging instead of print, allows for more control.
2010-01-26 13:04:40 +00:00
d66811c415
Update setuptools script to reflect changes to class
2010-01-26 12:50:43 +00:00
5fa4699f98
Remove unneeded config file
2010-01-26 12:49:50 +00:00
Andrew Williams
3e9de23e1a
Wrap functions in a class.
2010-01-26 12:47:31 +00:00
de71407c19
Added options to specify custom config and verbosity.
2010-01-26 12:30:52 +00:00
048b7747d4
Fixed regex errors.
2010-01-26 12:08:30 +00:00
1041accd0d
Now uses seperate config file to read regex and options.
...
Instead of using a defined python file with the regex details, it
now brings in and parses a config file using ConfigParser. This
allows for some flexability in regards to modifying regexs.
2010-01-26 11:57:07 +00:00
ebbdb3917a
Removed unused or unneeded chunks of code and comments
2010-01-26 10:55:09 +00:00
4d4ef08ef7
Reorganised files, changed tagging to tvorganise. Start of fork.
2010-01-26 10:51:04 +00:00
f18d5aca10
Use rename and fix minor issues
2010-01-22 11:42:52 +00:00
90033e4169
Use shutil.rename if on the same filesystem (move makes a copy first).
...
Suggested by the Python 2.6.4 documentation:
http://docs.python.org/library/shutil.html
2010-01-21 09:38:35 +00:00
dbr
124b442709
Move config into main(), moved filename_config import next to other imports
2008-12-29 17:18:53 +10:30
dbr
b925d8a709
Added inital setup.py file
2008-12-29 17:01:09 +10:30
dbr
b45386ead1
Moved finding files into find_files function
2008-12-29 17:00:50 +10:30
dbr
eac58ad04a
PEP8'ing
2008-12-29 17:00:24 +10:30
dbr
113853a2fd
Reoved unused import re
2008-12-29 17:00:14 +10:30
dbr
1212b284ad
Output full path of errored files
2008-11-08 19:45:02 +10:30
dbr
a9a728d354
Correctly decrappify filenames (removing .DS_Store and so on from checks)
2008-11-08 19:38:30 +10:30
dbr
a72762de3c
Allow ./season 2 [720p]/ path
2008-11-08 18:49:33 +10:30
dbr
8f421444fd
Get full path to file, rather than a realtive one. Decrappify files in less roundabout and problem-causing way (used to split dir/file name, then rejoin the filenames to the location, which breaks if there is sub-directories)
2008-11-08 18:49:13 +10:30
dbr
c167891821
Use shared regex configs
2008-11-08 18:21:56 +10:30
dbr
9eea05a709
Shared regex configuration
2008-11-08 18:21:42 +10:30
dbr
fbd52804b9
Fix progress bar being overwritten with next print statement, remove debug printing of confirmation answer
2008-11-08 17:57:59 +10:30
dbr
96615bd984
Added ! to valid characters
2008-11-08 17:57:03 +10:30
dbr
1be8f4445f
Tidy up progress bar display code
2008-11-08 17:48:23 +10:30