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

Release v2.0 #389

Merged
merged 60 commits into from
Apr 30, 2021
Merged

Release v2.0 #389

merged 60 commits into from
Apr 30, 2021

Conversation

ShahriyarR
Copy link
Owner

The release branch for all kinds of untested changes, as we have no tests.

@ShahriyarR ShahriyarR mentioned this pull request Mar 29, 2020
ShahriyarR and others added 4 commits March 29, 2020 19:53
* Doing extra cleaning and refactoring actions for release v2.0

* Extra cleaning

* It seems to be the backuper.py file successfully ended up with valid changes

* Started to refactor prepare.py

* while prepapre.py code refactoring - it seems to be finished at time being
Shahriyar Rzayev and others added 5 commits November 15, 2020 14:08
* first draft commit for starting to implement api

* fixing pipenv issue

* trying to fix pipfile issue

* fixing module not found error

* test env is ready to get started with fastapi

* Still struggling with Dockerizing test env

* Continued to develop API for backup. Added docker compose and Dockerfile

* 'Refactored by Sourcery' (#421)

Co-authored-by: Sourcery AI <>

* Make recent changes to send POST request to /backup and take backup respectively

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* Trying to change response status codes

* Added /prepare endpoint
* add controller for API, modify OpenAPI doc

* refactor Dockerfile for FastApi
* Added GET endpoint for getting available backups from full and incremental backup directories

* 'Refactored by Sourcery' (#429)

Co-authored-by: Sourcery AI <>

* finalized getting backup list

* Added /delete endpoint and backup prepareness status checker for full backup

* Fix for backup delete action

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Apr 30, 2021

Sourcery Code Quality Report

✅  Merging this PR will increase code quality in the affected files by 27.68%.

Quality metrics Before After Change
Complexity 49.52 ⛔ 0.00 ⭐ -49.52 👍
Method Length 77.36 🙂 112.00 🙂 34.64 👎
Working memory 15.07 😞 7.00 🙂 -8.07 👍
Quality 46.34% 😞 74.02% 🙂 27.68% 👍
Other metrics Before After Change
Lines 5175 144 -5031
Changed files Quality Before Quality After Quality Change
docs/conf.py 76.17% ⭐ 74.02% 🙂 -2.15% 👎

Here are some functions in these files that still need a tune-up:

File Function Complexity Length Working Memory Quality Recommendation

Legend and Explanation

The emojis denote the absolute quality of the code:

  • ⭐ excellent
  • 🙂 good
  • 😞 poor
  • ⛔ very poor

The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request.


Please see our documentation here for details on how these metrics are calculated.

We are actively working on this report - lots more documentation and extra metrics to come!

Let us know what you think of it by mentioning @sourcery-ai in a comment.

@ShahriyarR ShahriyarR merged commit 8d46a3d into master Apr 30, 2021
@ShahriyarR ShahriyarR deleted the release_v2.0 branch May 5, 2021 09:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.