Skip to content

Commit

Permalink
Close #64
Browse files Browse the repository at this point in the history
  • Loading branch information
grst committed Nov 29, 2024
1 parent e6261c7 commit 4eb20ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ and this project adheres to [Semantic Versioning][].

- Take comments into account when linting for `DSO001` ([#69](https://github.com/Boehringer-Ingelheim/dso/pull/69))
- Make it possible to override watermarks/disclaimers with a simple `null` ([#69](https://github.com/Boehringer-Ingelheim/dso/pull/69)).
- Compile *all* configs on `dso repro`, not just the ones relvant to the specified stage. This is required because we don't
know which other stages dvc might compile ([#69](https://github.com/Boehringer-Ingelheim/dso/pull/69)).

### Template updates

Expand Down
4 changes: 2 additions & 2 deletions src/dso/repro.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import rich_click as click

from dso._logging import log
from dso._util import check_ask_pre_commit
from dso._util import check_ask_pre_commit, get_project_root
from dso.compile_config import compile_all_configs


Expand All @@ -18,7 +18,7 @@
def cli(args):
"""Wrapper around dvc repro, compiling configuration before running."""
check_ask_pre_commit(Path.cwd())
compile_all_configs([Path.cwd()])
compile_all_configs([get_project_root(Path.cwd())])
os.environ["DSO_SKIP_COMPILE"] = "1"
cmd = ["dvc", "repro", *args]
log.info(f"Running `{' '.join(cmd)}`")
Expand Down

0 comments on commit 4eb20ef

Please sign in to comment.