Skip to content

Commit

Permalink
Merge pull request #486 from JrGoodle/ref-types
Browse files Browse the repository at this point in the history
Replace 'ref' with 'branch', 'tag', 'commit'
  • Loading branch information
JrGoodle committed May 15, 2020
2 parents d23c957 + 4e478c3 commit 2b75c04
Show file tree
Hide file tree
Showing 18 changed files with 490 additions and 171 deletions.
6 changes: 0 additions & 6 deletions docker-compose.yml

This file was deleted.

2 changes: 1 addition & 1 deletion src/clowder/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
"""Clowder module __init__
"""clowder module __init__
.. codeauthor:: Joe Decapo <joe@polka.cat>
Expand Down
7 changes: 6 additions & 1 deletion src/clowder/cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
"""Clowder cli __init__.py"""
# -*- coding: utf-8 -*-
"""clowder.cli module __init__
.. codeauthor:: Joe Decapo <joe@polka.cat>
"""

from clowder.cli.base_controller import BaseController
from clowder.cli.branch_controller import BranchController
Expand Down
4 changes: 2 additions & 2 deletions src/clowder/cli/save_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ def _save(self) -> None:
versions_dir = os.path.join(ROOT_DIR, '.clowder', 'versions')
_make_dir(versions_dir)

yaml_file = os.path.join(versions_dir, f'{version_name}.yaml')
yaml_file = os.path.join(versions_dir, f"{version_name}.clowder.yaml")
if os.path.exists(yaml_file):
print(fmt.error_save_version_exists(version_name, yaml_file) + '\n')
print(f"{fmt.error_save_version_exists(version_name, yaml_file)}\n")
raise ClowderExit(1)

print(fmt.save_version_message(version_name, yaml_file))
Expand Down

0 comments on commit 2b75c04

Please sign in to comment.