Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make `upload_single_file` support `upload_by_url` by providing an url instead of a file path. Introduces `up_all_from_url()` as an alternative to `up_all()` for uploading multiple url files. This takes the output of `make_info` as its input and creates one log file per possible upload outcome (error, warning, success). Adds the `-type` argument to control which of `up_all_from_url()` and `up_all()` to use. Also: * Fixes some pydocstyle issues which seem to be skipped due to something going wrong with the matching settings in tox.ini * Re-factors logging by introducing a `LogFile` clas to `common` and adding timestamp capabilities (Partially removes the need for #15) * Bumps version to 0.1.5 Task: [T158402](https://phabricator.wikimedia.org/T158402)
- Loading branch information
1 parent
1caece4
commit dd0cbc3
Showing
5 changed files
with
295 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.