Skip to content

Commit

Permalink
0.1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
matllubos committed Jun 27, 2024
1 parent 5a8bbdb commit 1bb4383
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions developers_chamber/bin/pydev.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import os
import sys
from pathlib import Path
import imp

import click_completion
import coloredlogs
Expand Down Expand Up @@ -50,18 +51,18 @@

from developers_chamber.scripts.version import *
from developers_chamber.scripts.project import *
from developers_chamber.scripts.init_aliasses import *

click_completion.init()


# Import external scripts
for base_path in (Path.home(), Path.cwd()):
if (base_path / ".pydev" / "scripts").exists():
sys.path.append(base_path / ".pydev")
import scripts
imp.load_source('*', str(base_path / ".pydev" / "scripts" / "__init__.py"))


from developers_chamber.scripts.init_aliasses import *

coloredlogs.install(milliseconds=True)


Expand Down
2 changes: 1 addition & 1 deletion developers_chamber/scripts/gitlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def run_job(api_url, token, project, branch, variables):
"""
Run a job in a GitLab project.
"""
variables = dict([var.split('=') for var in variables.split(',')]) if variables else []
variables = dict([var.split('=') for var in variables.split(',')]) if variables else {}
ci_job_url = run_job_func(api_url, token, project, f'refs/heads/{branch}', variables)

click.echo(f"CI job was started: {ci_job_url}")
2 changes: 1 addition & 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.15",
version="0.1.16",
description="A small plugin which help with development, deployment, git",
keywords="django, skripts, easy live, git, bitbucket, Jira",
author="Druids team",
Expand Down

0 comments on commit 1bb4383

Please sign in to comment.