Skip to content

Commit

Permalink
bump version to 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JarryShaw committed Jun 20, 2021
1 parent 4b8901c commit c1f7ce4
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LABEL org.opencontainers.image.title="darc" \
org.opencontainers.image.description="Darkweb Crawler Project" \
org.opencontainers.image.url="https://darc.jarryshaw.me/" \
org.opencontainers.image.source="https://github.com/JarryShaw/darc" \
org.opencontainers.image.version="0.9.5" \
org.opencontainers.image.version="1.0.0" \
org.opencontainers.image.licenses='BSD 3-Clause "New" or "Revised" License'

STOPSIGNAL SIGINT
Expand Down
2 changes: 1 addition & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

- [x] prepare to bump version *1.x*
- [x] revise documentations
- [ ] revise command line arguments (perhaps supporting both CLI & envvar like `bpc-utils`)
- [ ] ~revise command line arguments (perhaps supporting both CLI & envvar like `bpc-utils`)~
- [ ] ~add some tests~

# November 3, 2020
Expand Down
2 changes: 1 addition & 1 deletion darc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
from darc.sites import register as register_sites # pylint: disable=unused-import

__all__ = ['darc']
__version__ = '0.9.5'
__version__ = '1.0.0'
6 changes: 2 additions & 4 deletions darc/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,15 @@

if TYPE_CHECKING:
from argparse import ArgumentParser
from queue import Queue
from subprocess import Popen # nosec: B404
from typing import List, Optional, Union
from typing import Any, List, Optional

# wait for Redis connection?
_WAIT_REDIS = bool(int(os.getenv('DARC_REDIS', '1')))


def _exit() -> None:
"""Gracefully exit."""
def caller(target: 'Optional[Union[Queue, Popen]]', function: str) -> None:
def caller(target: 'Optional[Any]', function: str) -> None:
"""Wrapper caller."""
if target is None:
return
Expand Down
2 changes: 1 addition & 1 deletion debug.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ LABEL org.opencontainers.image.title="darc" \
org.opencontainers.image.description="Darkweb Crawler Project" \
org.opencontainers.image.url="https://darc.jarryshaw.me/" \
org.opencontainers.image.source="https://github.com/JarryShaw/darc" \
org.opencontainers.image.version="0.9.5" \
org.opencontainers.image.version="1.0.0" \
org.opencontainers.image.licenses='BSD 3-Clause "New" or "Revised" License'
#EXPOSE 9050

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LABEL org.opencontainers.image.title="darc" \
org.opencontainers.image.description="Darkweb Crawler Project" \
org.opencontainers.image.url="https://darc.jarryshaw.me/" \
org.opencontainers.image.source="https://github.com/JarryShaw/darc" \
org.opencontainers.image.version="0.9.5" \
org.opencontainers.image.version="1.0.0" \
org.opencontainers.image.licenses='BSD 3-Clause "New" or "Revised" License'

STOPSIGNAL SIGINT
Expand Down
2 changes: 1 addition & 1 deletion docker/debug.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ LABEL org.opencontainers.image.title="darc" \
org.opencontainers.image.description="Darkweb Crawler Project" \
org.opencontainers.image.url="https://darc.jarryshaw.me/" \
org.opencontainers.image.source="https://github.com/JarryShaw/darc" \
org.opencontainers.image.version="0.9.5" \
org.opencontainers.image.version="1.0.0" \
org.opencontainers.image.licenses='BSD 3-Clause "New" or "Revised" License'
#EXPOSE 9050

Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
# -- Project information -----------------------------------------------------

project = 'darc'
copyright = '2019-2020, Jarry Shaw' # pylint: disable=redefined-builtin
copyright = '2019-2021, Jarry Shaw' # pylint: disable=redefined-builtin
author = 'Jarry Shaw'

# The full version, including alpha/beta/rc tags
release = '0.9.5'
release = '1.0.0'


# -- General configuration ---------------------------------------------------
Expand Down
4 changes: 4 additions & 0 deletions docs/source/darc/logging.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.. automodule:: darc.logging
:members:
:undoc-members:
:show-inheritance:
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
version_info = sys.version_info[:2]

# version string
__version__ = '0.9.5'
__version__ = '1.0.0'

# setup attributes
attrs = dict(
Expand Down

0 comments on commit c1f7ce4

Please sign in to comment.