Skip to content

Commit

Permalink
0.1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
matllubos committed Jun 20, 2024
1 parent ad1bbe0 commit 8aec1c3
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
7 changes: 5 additions & 2 deletions developers_chamber/bin/pydev.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@


from developers_chamber.scripts import cli
from developers_chamber.scripts.bitbucket import *

if "bitbucket" in INSTALLED_MODULES:
from developers_chamber.scripts.bitbucket import *
from developers_chamber.scripts.docker import *

if "aws" in INSTALLED_MODULES:
Expand All @@ -30,7 +32,8 @@
if "git" in INSTALLED_MODULES:
from developers_chamber.scripts.git import *

from developers_chamber.scripts.gitlab import *
if "gitlab" in INSTALLED_MODULES:
from developers_chamber.scripts.gitlab import *

if "jira" in INSTALLED_MODULES:
from developers_chamber.scripts.jira import *
Expand Down
9 changes: 6 additions & 3 deletions developers_chamber/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import sys

from click import ClickException
from git import Repo

LOGGER = logging.getLogger()
MIGRATIONS_PATTERN = r"migrations\/([^\/]+)\.py$"
Expand Down Expand Up @@ -81,6 +80,8 @@ def _get_repo(self):
"""
Returns the repo object.
"""
from git import Repo

return Repo(".")

def _get_active_branch_name(self):
Expand Down Expand Up @@ -133,11 +134,13 @@ def _is_repo_clean(self):

modules = {
"git": ["git"],
"jira": ["jira", "unidecode"],
"jira": ["jira", "unidecode", "git"],
"aws": ["boto3"],
"qa": ["isort", "flake8"],
"qa": ["isort", "flake8", "git"],
"toggle": ["toggl"],
"slack": ["slack_sdk"],
"bitbucket": ["git"],
"gitlab": ["git"],
}

INSTALLED_MODULES = []
Expand Down
10 changes: 9 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="developers-chamber",
version="0.1.9",
version="0.1.10",
description="A small plugin which help with development, deployment, git",
keywords="django, skripts, easy live, git, bitbucket, Jira",
author="Druids team",
Expand All @@ -29,10 +29,18 @@
"boto3<2",
],
"qa": [
"gitpython==3.1.30",
"isort==5.12.0",
"flake8>=7.0.0",
],
"bitbucket": [
"gitpython==3.1.30",
],
"gitlab": [
"gitpython==3.1.30",
],
"jira": [
"gitpython==3.1.30",
"jira==2.0.0",
"unidecode==1.1.1",
],
Expand Down

0 comments on commit 8aec1c3

Please sign in to comment.