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

Commit

Permalink
Merge pull request #61 from cglewis/main
Browse files Browse the repository at this point in the history
release v0.1.3
  • Loading branch information
cglewis authored Jul 15, 2021
2 parents 1f774ad + e7f8f18 commit 3ae6a0f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.1.3 (2021-07-15)

* Fixed data file path

# v0.1.2 (2021-07-15)

* Fixed bug with bad version
Expand Down
7 changes: 2 additions & 5 deletions blue/5G/daedalus/daedalus.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from daedalus import __version__
import docker as dclient
from plumbum import local, FG, TF
from plumbum.cmd import chmod, cp, curl, docker, docker_compose, ip, ls, mkdir, rm, sudo, tar
from plumbum.cmd import cp, curl, docker, docker_compose, ip, ls, mkdir, rm, sudo, tar
from PyInquirer import prompt
from PyInquirer import Separator

Expand All @@ -24,9 +24,7 @@ class Daedalus():
def __init__(self, raw_args=None):
self.compose_files = []
previous_dir = os.getcwd()
os.chdir("/opt/daedalus")
# TODO find a better way for dovesnap to write changes
sudo[chmod["-R", "777", local.cwd]]()
os.chdir("5G")
self.main(raw_args=raw_args)
os.chdir(previous_dir)

Expand Down Expand Up @@ -233,7 +231,6 @@ def cleanup(self):
@staticmethod
def check_commands():
logging.info('Checking necessary commands exist, if it fails, install the missing tool and try again.')
chmod['--version']()
cp['--version']()
curl['--version']()
docker['--version']()
Expand Down
2 changes: 1 addition & 1 deletion blue/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ classifier =

[files]
data_files =
/opt/daedalus = 5G/*
5G = 5G/*

[entry_points]
console_scripts =
Expand Down

0 comments on commit 3ae6a0f

Please sign in to comment.