From 664fa8f3d7aa0e4fdc7dd98de520797a9f1b2ed0 Mon Sep 17 00:00:00 2001 From: Zhongheng Liu Date: Sun, 6 Oct 2024 10:09:54 +0300 Subject: [PATCH 1/3] fix: pretty sure this is a typo --- .../{devenv.yaml.jina => devenv.yaml.jinja} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename template/{% if language == 'Rust' %}{{ project_name }}{% endif %}/{devenv.yaml.jina => devenv.yaml.jinja} (100%) diff --git a/template/{% if language == 'Rust' %}{{ project_name }}{% endif %}/devenv.yaml.jina b/template/{% if language == 'Rust' %}{{ project_name }}{% endif %}/devenv.yaml.jinja similarity index 100% rename from template/{% if language == 'Rust' %}{{ project_name }}{% endif %}/devenv.yaml.jina rename to template/{% if language == 'Rust' %}{{ project_name }}{% endif %}/devenv.yaml.jinja From f5316649fbffa46561fdb9b27d75cdc91f4b6026 Mon Sep 17 00:00:00 2001 From: Zhongheng Liu Date: Sun, 6 Oct 2024 10:23:20 +0300 Subject: [PATCH 2/3] fix: quick manual patch for fenix input Add rust-specific yaml template file Change reference in Rust project template to refer to the rust yaml --- includes/devenv.rust.yaml | 15 +++++++++++++++ .../devenv.yaml.jinja | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 includes/devenv.rust.yaml diff --git a/includes/devenv.rust.yaml b/includes/devenv.rust.yaml new file mode 100644 index 0000000..f0b5dbb --- /dev/null +++ b/includes/devenv.rust.yaml @@ -0,0 +1,15 @@ +inputs: + nix2container: + url: github:nlewo/nix2container + inputs: + nixpkgs: + follows: nixpkgs + mk-shell-bin: + url: github:rrbutani/nix-mk-shell-bin + nixpkgs: + url: github:NixOS/nixpkgs/nixpkgs-unstable + fenix: + url: github:nix-community/fenix + inputs: + nixpkgs: + follows: nixpkgs diff --git a/template/{% if language == 'Rust' %}{{ project_name }}{% endif %}/devenv.yaml.jinja b/template/{% if language == 'Rust' %}{{ project_name }}{% endif %}/devenv.yaml.jinja index 88a05a3..0818bfb 100644 --- a/template/{% if language == 'Rust' %}{{ project_name }}{% endif %}/devenv.yaml.jinja +++ b/template/{% if language == 'Rust' %}{{ project_name }}{% endif %}/devenv.yaml.jinja @@ -1 +1 @@ -{% include pathjoin("includes", "devenv.yaml") %} +{% include pathjoin("includes", "devenv.rust.yaml") %} From 444d8a7bda21cee811ee45fce71a5b1dc7f7a097 Mon Sep 17 00:00:00 2001 From: Zhongheng Liu Date: Sun, 6 Oct 2024 10:35:40 +0300 Subject: [PATCH 3/3] fix: typo here --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 059882e..6a478e6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ description = "DataChef's project kickstarter! Reproducible, Declarative and Rel authors = ["Reza (Shahin) Khanipour "] readme = "README.md" packages = [ - { include = "iception", from = "src" }, + { include = "inception", from = "src" }, ] [tool.poetry.dependencies] @@ -27,4 +27,4 @@ version_provider = "scm" tag_format = "v$major.$minor.$patch$prerelease" version_files = [ "src/inception/__init__.py" -] \ No newline at end of file +]