Skip to content

Remove requirements.txt file from repository#3

Merged
ondrasej merged 1 commit intogoogle:mainfrom
boomanaiden154:requirements-gitignore-fix
May 28, 2023
Merged

Remove requirements.txt file from repository#3
ondrasej merged 1 commit intogoogle:mainfrom
boomanaiden154:requirements-gitignore-fix

Conversation

@boomanaiden154
Copy link
Collaborator

Having this file checked into the repository means that the ignore line in .gitignore is essentially nonfunctional. This patch removes requirements.txt so that the ignore line in .gitignore is functional and the generated requirements.txt doesn't accidentally end up in any commits.

Having this file checked into the repository means that the ignore line
in .gitignore is essentially nonfunctional. This patch removes
requirements.txt so that the ignore line in .gitignore is functional and
the generated requirements.txt doesn't accidentally end up in any
commits.
@ondrasej
Copy link
Collaborator

I think I tried this and git still ignored changes made to the file, but ack. Creating the file is documented in README, so we don't really need it.

@ondrasej ondrasej merged commit 50c9589 into google:main May 28, 2023
boomanaiden154 added a commit to boomanaiden154/rules_python that referenced this pull request Jun 2, 2023
The documentation is currently ambiguous on whether or not to check
requirements.txt into version control. This has raised some confusion in
other projects (e.g., google/gematria#3). This
makes it clear that requirements.txt files produced by this rule should
be checked into version control in an easy to find place to avoid
confusion.
boomanaiden154 added a commit to boomanaiden154/rules_python that referenced this pull request Jun 2, 2023
The documentation is currently ambiguous on whether or not to check
requirements.txt into version control. This has raised some confusion in
other projects (e.g., google/gematria#3). This
makes it clear that requirements.txt files produced by this rule should
be checked into version control in an easy to find place to avoid
confusion.
github-merge-queue bot pushed a commit to bazel-contrib/rules_python that referenced this pull request Jun 2, 2023
The documentation is currently ambiguous on whether or not to check
requirements.txt into version control. This has raised some confusion in
other projects (e.g., google/gematria#3). This
makes it clear that requirements.txt files produced by this rule should
be checked into version control in an easy to find place to avoid
confusion.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants