Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

release_v3.0 #460

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .deepsource.toml

This file was deleted.

5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## v2.0.3 (2021-10-03)

* , #449 by @ShahriyarR
* , #448 by @ShahriyarR

## v2.0.2 (2021-05-06)

* Increased code coverage and did code base refactoring, #444 by @shahriyarr
Expand Down
2 changes: 1 addition & 1 deletion changes/make_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
print('no changes found')
sys.exit(0)

version = SourceFileLoader('version', 'mysql_autoxtrabackup/utils/version.py').load_module()
version = SourceFileLoader('version', 'mysql_autoxtrabackup/common/version.py').load_module()
chunk_title = f'v{version.VERSION} ({date.today():%Y-%m-%d})'
new_chunk = '## {}\n\n{}\n\n'.format(chunk_title, '\n'.join(c for *_, c in sorted(bullet_list, reverse=True)))

Expand Down
4 changes: 2 additions & 2 deletions docker-compose-test.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
version: "3.7"

services:
api_v1:
autoxtrabackup:
build:
context: tests
dockerfile: Dockerfile
args:
GIT_BRANCH_NAME: ${GIT_BRANCH_NAME}
container_name: autoxtrabackup_apiv1_test
volumes:
- ./tests/entrypoint.sh:/entrypoint.sh
- /dev/log:/dev/log
- .:/opt/MySQL-AutoXtraBackup
ports:
- "8080:8080"
network_mode: host
Expand Down
20 changes: 10 additions & 10 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#
import sphinx_rtd_theme

from mysql_autoxtrabackup.utils.version import VERSION
from mysql_autoxtrabackup.common.version import VERSION

sys.path.insert(0, os.path.abspath("../mysql_autoxtrabackup"))

Expand Down Expand Up @@ -53,18 +53,18 @@
master_doc = "index"

# General information about the project.
project = u"MySQL-AutoXtrabackup"
copyright = u"2020, Shahriyar Rzayev"
author = u"Shahriyar Rzayev"
project = "MySQL-AutoXtrabackup"
copyright = "2020, Shahriyar Rzayev"
author = "Shahriyar Rzayev"

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = u"{}".format(VERSION)
version = "{}".format(VERSION)
# The full version, including alpha/beta/rc tags.
release = u"{}".format(VERSION)
release = "{}".format(VERSION)

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down Expand Up @@ -139,8 +139,8 @@
(
master_doc,
"MySQLAutoXtrabackup.tex",
u"MySQL AutoXtrabackup Documentation",
u"Shahriyar Rzayev",
"MySQL AutoXtrabackup Documentation",
"Shahriyar Rzayev",
"manual",
),
]
Expand All @@ -154,7 +154,7 @@
(
master_doc,
"mysqlautoxtrabackup",
u"MySQL AutoXtrabackup Documentation",
"MySQL AutoXtrabackup Documentation",
[author],
1,
)
Expand All @@ -170,7 +170,7 @@
(
master_doc,
"MySQLAutoXtrabackup",
u"MySQL AutoXtrabackup Documentation",
"MySQL AutoXtrabackup Documentation",
author,
"MySQLAutoXtrabackup",
"One line description of project.",
Expand Down
2 changes: 1 addition & 1 deletion mysql_autoxtrabackup/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""MySQL-AutoXtrabackup command-line tool, for automating tedious MySQL physical backups management
using Percona Xtrabackup"""
from .utils import version
from .common import version

__version__ = version.VERSION
6 changes: 3 additions & 3 deletions mysql_autoxtrabackup/api/controller/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
from fastapi.responses import JSONResponse
from starlette.responses import RedirectResponse

from mysql_autoxtrabackup.backup_backup.backuper import Backup
from mysql_autoxtrabackup.backup_prepare.prepare import Prepare
from mysql_autoxtrabackup.utils.helpers import list_available_backups
from mysql_autoxtrabackup.backup.backuper import Backup
from mysql_autoxtrabackup.common.helpers import list_available_backups
from mysql_autoxtrabackup.prepare.prepare import Prepare

router = APIRouter()

Expand Down
2 changes: 1 addition & 1 deletion mysql_autoxtrabackup/api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from fastapi.openapi.utils import get_openapi

from mysql_autoxtrabackup.api.controller.controller import router
from mysql_autoxtrabackup.utils.version import VERSION
from mysql_autoxtrabackup.common.version import VERSION

app = FastAPI()

Expand Down
Loading