KevinMidboe
b290fc8ba9
Updated guessit3.0.0->3.1.0
2020-02-24 18:37:30 +01:00
KevinMidboe
95623dadd8
Missed going back one directory.
2020-02-23 19:07:09 +01:00
KevinMidboe
5bde8785a8
Test init file now appends correct module path.
2020-02-23 19:05:20 +01:00
KevinMidboe
bea2a445b2
Moved tests out to root directory.
2020-02-23 19:02:35 +01:00
KevinMidboe
a7f8a32b44
Main calls cli and its main function to start seasonedParser module.
2020-02-23 19:02:15 +01:00
KevinMidboe
dbcc273dba
Main file to run seasonedParser as module.
2020-02-23 18:57:48 +01:00
KevinMidboe
697ab2528f
Renamed src folder to seasonedParser
2020-02-19 18:24:12 +01:00
KevinMidboe
4699ee1494
Change drone to run one version of py3 and py2 for testing. Needed to specify pytest versions depending on if above or below python version 3.
2020-02-19 10:22:32 +01:00
KevinMidboe
1834fd64c8
Merge branch 'master' of github.com:KevinMidboe/seasonedParser
2020-02-19 10:00:00 +01:00
KevinMidboe
25b2dd3804
Build and codecov badges to readme.
2020-02-19 00:32:56 +01:00
KevinMidboe
80931be151
Weird cov path fixed.
2020-02-19 00:29:08 +01:00
KevinMidboe
0d376df8f8
bash and curl was missing for some reason.
2020-02-19 00:26:08 +01:00
KevinMidboe
eb13e34e66
Restructured project to better run as a package.
...
This should have been setup correctly, but now try to better follow
structure for python modules, which this is supposed to be.
- Renamed folder from src -> seasonedParser
- Moved test/ into seasonedParser/
- test has __init__.py script which sets location to the project folder
(seasonedParser/).
- Removed cli.py and moved contents to __main__.py
- Updated drone to run pytest without test folder parameter
2020-02-19 00:23:24 +01:00
KevinMidboe
90eff227a0
Make it a package
2020-02-18 22:13:17 +01:00
KevinMidboe
307a412c83
Require git to be installed.
2020-02-18 22:01:06 +01:00
KevinMidboe
5aaf1197b7
Make sure bash and curl are installed before using.
2020-02-18 21:48:59 +01:00
KevinMidboe
824bf707fb
replaced codecov python uploader with bash uploader.
2020-02-18 21:32:47 +01:00
KevinMidboe
756dcb51ce
Missing environment variable for codecov.
2020-02-18 21:26:43 +01:00
KevinMidboe
9ef175b715
Codecov task must first install all requirements.
2020-02-18 21:24:48 +01:00
KevinMidboe
e4b3243a56
Miss spelled docker image for codecov.
2020-02-18 21:23:15 +01:00
KevinMidboe
abe4b5745c
Py package: pytest-cov. Upload test coverage to codecov.
2020-02-18 21:21:23 +01:00
KevinMidboe
b8f9ddbbf4
Updated drone to run unit tests using py.test. Renamed steps from install-* to test-*.
2020-02-18 21:04:33 +01:00
KevinMidboe
c95568e3b8
Import pytest and created some test- test scripts.
2020-02-18 21:02:50 +01:00
KevinMidboe
138a6b5fec
Installs scripts first prints python version.
2020-02-18 20:31:27 +01:00
KevinMidboe
fd95b0f3ae
Inital drone config. Checks that it can install requirements with python v 3.6 & 3.8.
2020-02-18 20:29:28 +01:00
KevinMidboe
602047c3d9
Merge branch 'master' of github.com:KevinMidboe/seasonedParser
2019-07-01 19:59:56 +02:00
KevinMidboe
0be3beb87b
Guessing only returns a single match
2019-07-01 19:59:46 +02:00
KevinMidboe
3bce8e84b0
Guessit upgradet to v3
2019-07-01 19:59:15 +02:00
KevinMidboe
04da9152de
Logging formatter has separate formatting for cmd output and its log level set to warning.
2019-07-01 19:58:38 +02:00
KevinMidboe
8d3a15ad8d
Logging formatter has separate formatting for cmd output and its log level set to warning.
2019-03-20 00:28:53 +01:00
KevinMidboe
92b0dbafca
Imported logger and stricter logic when exiting because of insuffient_name and daemon flag set.
2019-03-20 00:28:07 +01:00
KevinMidboe
4a93dbfd2e
Dry and daemon cli parameters added for only displaying, not moving; and daemon to let program know not to ask for user input by cmdline, instead exit.
2019-03-19 23:23:43 +01:00
KevinMidboe
805c9c4b07
Merge branch 'master' of github.com:KevinMidboe/seasonMover
2019-02-02 00:45:09 +01:00
KevinMidboe
297f35aa6c
More knowledge
2019-02-02 00:44:53 +01:00
KevinMidboe
e3c1f18e3d
Changed default logging level.
2019-02-02 00:34:40 +01:00
KevinMidboe
2977ab53b2
Allow a instuffient name to be thrown. Also, pop was not the correct way to remove elements from the list, del on a index is now used.
2019-02-02 00:33:32 +01:00
KevinMidboe
0ff205615f
This is not js is it?
2019-02-02 00:28:56 +01:00
KevinMidboe
028301c4c4
Added more knowledge 🧠
2018-10-18 22:14:08 +02:00
KevinMidboe
3031353cc3
Merge pull request #8 from KevinMidboe/CLI
...
Prompt for user input has been moved out to a funtion. Reflecting cha…
2018-10-18 22:11:07 +02:00
KevinMidboe
bac145c6a1
Prompt for user input has been moved out to a funtion. Reflecting changes of exception name to InsufficientNameError.
2018-10-18 22:09:47 +02:00
KevinMidboe
3833b59732
Merge pull request #5 from KevinMidboe/CLI
...
Cli
2018-10-18 20:54:22 +02:00
KevinMidboe
c3bb6c6469
If the name is not sufficient for a valid guess a insuffienet name error is thrown which is not handled correctly for both files and folders, then returned to the user to try move it by changing input name.
2018-10-18 20:48:59 +02:00
KevinMidboe
8b3d083938
Handles input from argv as path.
2018-10-18 20:27:03 +02:00
KevinMidboe
b1bfdc195b
Merge pull request #4 from KevinMidboe/CLI
...
Added exceptions file.
2018-10-17 23:35:49 +02:00
KevinMidboe
2d4f2b003b
Added exceptions file.
2018-10-17 23:34:49 +02:00
KevinMidboe
c8837eed8e
Merge pull request #3 from KevinMidboe/CLI
...
Cli implimintation
2018-10-17 23:29:53 +02:00
KevinMidboe
37a0c6f62b
Will iterate over all files until all have a files have sufficient info.
2018-10-17 23:29:09 +02:00
KevinMidboe
7e7eebd462
Removed main function from core.
2018-10-17 23:00:06 +02:00
KevinMidboe
50e6e4a259
Insufficient exception is thrown when not enough info is needed to move file to correct location. All insufficient items are returned along with the found videos. The wanted path we want to move the file is no longer class vairable, but gets the string by function.
2018-10-17 22:58:22 +02:00
KevinMidboe
86d17c5e22
Recatored the cli program.
2018-10-17 22:51:56 +02:00