Skip to content

✅ Add test to make sure .fastapicloudignore can override .gitignore#90

Merged
patrick91 merged 2 commits intofix/login-urlfrom
add-test-for-ignore
Oct 9, 2025
Merged

✅ Add test to make sure .fastapicloudignore can override .gitignore#90
patrick91 merged 2 commits intofix/login-urlfrom
add-test-for-ignore

Conversation

@patrick91
Copy link
Copy Markdown
Collaborator

  • 🐛 Fix login url not linked correctly
  • ✅ Add test to make sure .fastapicloudignore can override .gitignore

@patrick91 patrick91 changed the base branch from main to fix/login-url October 5, 2025 09:07
Comment thread tests/test_archive.py
(tmp_path / "main.py").write_text("print('hello')")
(tmp_path / "static/build").mkdir(exist_ok=True, parents=True)
(tmp_path / "static/build/style.css").write_text("body { background: #bada55 }")
# Rignore needs a .git folder to make .gitignore work
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we okay with that restriction?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe? :D the only case I can think of where this is problematic is when you're starting a new project and deploy before creating a git repo 🤔

@patrick91 patrick91 merged commit 3267ab4 into fix/login-url Oct 9, 2025
11 checks passed
@patrick91 patrick91 deleted the add-test-for-ignore branch October 9, 2025 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants