-
Notifications
You must be signed in to change notification settings - Fork 569
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from my8100/default_logging_INFO
Bump version: 1.3.0 to 1.4.0
- Loading branch information
Showing
48 changed files
with
71 additions
and
69 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,14 +69,14 @@ jobs: | |
- run: | ||
name: Setup DATA_PATH | ||
command: | | ||
printf "\nDATA_PATH = '"$DATA_PATH"'\n" >> scrapydweb_settings_v9.py | ||
echo $DATA_PATH | ||
- when: | ||
condition: <<parameters.use-sqlite>> | ||
steps: | ||
- run: | ||
name: Set DATABASE_URL to sqlite | ||
command: | | ||
printf "\nDATABASE_URL = '"$DATABASE_URL"'\n" >> scrapydweb_settings_v9.py | ||
echo $DATABASE_URL | ||
- when: | ||
condition: <<parameters.use-postgresql>> | ||
steps: | ||
|
@@ -87,11 +87,6 @@ jobs: | |
# createdb: could not connect to database template1: FATAL: role "circleci" does not exist | ||
# sudo apt install -y postgresql-client | ||
# createdb -h localhost scrapydweb_apscheduler -O circleci | ||
- run: | ||
name: Set DATABASE_URL to postgresql | ||
command: | | ||
# postgres://[email protected]:5432 | ||
printf "\nDATABASE_URL = '"$DATABASE_URL"'\n" >> scrapydweb_settings_v9.py | ||
- when: | ||
condition: <<parameters.use-mysql>> | ||
steps: | ||
|
@@ -117,11 +112,6 @@ jobs: | |
# mysql -h 127.0.0.1 -u root -prootpw -e "create database scrapydweb_timertasks" | ||
# mysql -h 127.0.0.1 -u root -prootpw -e "create database scrapydweb_metadata" | ||
# mysql -h 127.0.0.1 -u root -prootpw -e "create database scrapydweb_jobs" | ||
- run: | ||
name: Set DATABASE_URL to mysql | ||
command: | | ||
# mysql://user:[email protected]:3306 | ||
printf "\nDATABASE_URL = '"$DATABASE_URL"'\n" >> scrapydweb_settings_v9.py | ||
- run: | ||
name: Install dependencies | ||
|
@@ -168,10 +158,8 @@ jobs: | |
- run: | ||
name: Generate report | ||
command: | | ||
touch scrapydweb_settings_v9.py | ||
cat scrapydweb_settings_v9.py | ||
echo $DATA_PATH | ||
echo $DATABASE_URL | ||
echo DATA_PATH: $DATA_PATH | ||
echo DATABASE_URL: $DATABASE_URL | ||
. venv/bin/activate | ||
coverage report | ||
coverage html | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# coding: utf-8 | ||
|
||
__title__ = 'scrapydweb' | ||
__version__ = '1.3.0' | ||
__version__ = '1.4.0' | ||
__author__ = 'my8100' | ||
__author_email__ = '[email protected]' | ||
__url__ = 'https://github.com/my8100/scrapydweb' | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -338,13 +338,13 @@ | |
# Note that use_reloader is set to False in run.py | ||
DEBUG = False | ||
|
||
# The default is False, set it to True to change the logging level from WARNING to DEBUG | ||
# The default is False, set it to True to change the logging level from INFO to DEBUG | ||
# for getting more information about how ScrapydWeb works, especially while debugging. | ||
VERBOSE = False | ||
|
||
# The default is '', which means saving all program data in the Python directory. | ||
# e.g. 'C:/Users/username/scrapydweb_data' or '/home/username/scrapydweb_data' | ||
DATA_PATH = '' | ||
DATA_PATH = os.environ.get('DATA_PATH', '') | ||
|
||
# The default is '', which means saving data of Jobs and Timer Tasks in DATA_PATH using SQLite. | ||
# The data could be also saved in MySQL or PostgreSQL backend in order to improve concurrency. | ||
|
@@ -355,4 +355,4 @@ | |
# 'postgres://username:[email protected]:5432' | ||
# 'sqlite:///C:/Users/username' | ||
# 'sqlite:////home/username' | ||
DATABASE_URL = '' | ||
DATABASE_URL = os.environ.get('DATABASE_URL', '') |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
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.