File tree Expand file tree Collapse file tree 10 files changed +15
-13
lines changed
Expand file tree Collapse file tree 10 files changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ LABEL org.opencontainers.image.title="darc" \
44 org.opencontainers.image.description="Darkweb Crawler Project" \
55 org.opencontainers.image.url="https://darc.jarryshaw.me/" \
66 org.opencontainers.image.source="https://github.com/JarryShaw/darc" \
7- org.opencontainers.image.version="0.9.5 " \
7+ org.opencontainers.image.version="1.0.0 " \
88 org.opencontainers.image.licenses='BSD 3-Clause "New" or "Revised" License'
99
1010STOPSIGNAL SIGINT
Original file line number Diff line number Diff line change 22
33- [x] prepare to bump version * 1.x*
44- [x] revise documentations
5- - [ ] revise command line arguments (perhaps supporting both CLI & envvar like ` bpc-utils ` )
5+ - [ ] ~ revise command line arguments (perhaps supporting both CLI & envvar like ` bpc-utils ` )~
66- [ ] ~ add some tests~
77
88# November 3, 2020
Original file line number Diff line number Diff line change 4141from darc .sites import register as register_sites # pylint: disable=unused-import
4242
4343__all__ = ['darc' ]
44- __version__ = '0.9.5 '
44+ __version__ = '1.0.0 '
Original file line number Diff line number Diff line change 2828
2929if TYPE_CHECKING :
3030 from argparse import ArgumentParser
31- from queue import Queue
32- from subprocess import Popen # nosec: B404
33- from typing import List , Optional , Union
31+ from typing import Any , List , Optional
3432
3533# wait for Redis connection?
3634_WAIT_REDIS = bool (int (os .getenv ('DARC_REDIS' , '1' )))
3735
3836
3937def _exit () -> None :
4038 """Gracefully exit."""
41- def caller (target : 'Optional[Union[Queue, Popen] ]' , function : str ) -> None :
39+ def caller (target : 'Optional[Any ]' , function : str ) -> None :
4240 """Wrapper caller."""
4341 if target is None :
4442 return
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ LABEL org.opencontainers.image.title="darc" \
1515 org.opencontainers.image.description="Darkweb Crawler Project" \
1616 org.opencontainers.image.url="https://darc.jarryshaw.me/" \
1717 org.opencontainers.image.source="https://github.com/JarryShaw/darc" \
18- org.opencontainers.image.version="0.9.5 " \
18+ org.opencontainers.image.version="1.0.0 " \
1919 org.opencontainers.image.licenses='BSD 3-Clause "New" or "Revised" License'
2020# EXPOSE 9050
2121
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ LABEL org.opencontainers.image.title="darc" \
44 org.opencontainers.image.description="Darkweb Crawler Project" \
55 org.opencontainers.image.url="https://darc.jarryshaw.me/" \
66 org.opencontainers.image.source="https://github.com/JarryShaw/darc" \
7- org.opencontainers.image.version="0.9.5 " \
7+ org.opencontainers.image.version="1.0.0 " \
88 org.opencontainers.image.licenses='BSD 3-Clause "New" or "Revised" License'
99
1010STOPSIGNAL SIGINT
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ LABEL org.opencontainers.image.title="darc" \
1515 org.opencontainers.image.description="Darkweb Crawler Project" \
1616 org.opencontainers.image.url="https://darc.jarryshaw.me/" \
1717 org.opencontainers.image.source="https://github.com/JarryShaw/darc" \
18- org.opencontainers.image.version="0.9.5 " \
18+ org.opencontainers.image.version="1.0.0 " \
1919 org.opencontainers.image.licenses='BSD 3-Clause "New" or "Revised" License'
2020# EXPOSE 9050
2121
Original file line number Diff line number Diff line change 3333# -- Project information -----------------------------------------------------
3434
3535project = 'darc'
36- copyright = '2019-2020 , Jarry Shaw' # pylint: disable=redefined-builtin
36+ copyright = '2019-2021 , Jarry Shaw' # pylint: disable=redefined-builtin
3737author = 'Jarry Shaw'
3838
3939# The full version, including alpha/beta/rc tags
40- release = '0.9.5 '
40+ release = '1.0.0 '
4141
4242
4343# -- General configuration ---------------------------------------------------
Original file line number Diff line number Diff line change 1+ .. automodule :: darc.logging
2+ :members:
3+ :undoc-members:
4+ :show-inheritance:
Original file line number Diff line number Diff line change 2626version_info = sys .version_info [:2 ]
2727
2828# version string
29- __version__ = '0.9.5 '
29+ __version__ = '1.0.0 '
3030
3131# setup attributes
3232attrs = dict (
You can’t perform that action at this time.
0 commit comments