Skip to content

Commit

Permalink
fix: Fix gitignore issue (feast-dev#4674)
Browse files Browse the repository at this point in the history
fix: gitignore issue

Signed-off-by: Matt Green <emgeee@users.noreply.github.com>
  • Loading branch information
emgeee committed Oct 23, 2024
1 parent c61b717 commit 5638c3f
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sdk/python/feast/repo_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,10 @@ def init_repo(repo_name: str, template: str):
raise IOError(f"Could not find template {template}")
copytree(template_path, str(repo_path), dirs_exist_ok=True)

# Rename gitignore files back to .gitignore
for gitignore_path in repo_path.rglob("gitignore"):
gitignore_path.rename(gitignore_path.with_name(".gitignore"))

# Seed the repository
bootstrap_path = repo_path / "bootstrap.py"
if os.path.exists(bootstrap_path):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5638c3f

Please sign in to comment.