Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[.gitignore] Do not blanket-ignore all debian directories #7720

Closed
wants to merge 1 commit into from
Closed

[.gitignore] Do not blanket-ignore all debian directories #7720

wants to merge 1 commit into from

Conversation

jleveque
Copy link
Contributor

Why I did it

Having a blanket statement to ignore all files under platform/**/debian/ can pose issues when a vendor adds a new platform, as any new files under a debian/ directory will not show up in a Git changelist, therefore they can be missed in the commit.

Resolves #7683

How I did it

Remove the blanket ignore statement from .gitignore. Platform vendors should be responsible for providing one or more .gitignore files to properly ignore generated files in their platform directories.

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012

@jleveque jleveque requested a review from lguohan as a code owner May 26, 2021 19:40
@lguohan
Copy link
Collaborator

lguohan commented Jun 14, 2021

how can we enforce the vendor will be adding the debian in the .gitignore?

@jleveque
Copy link
Contributor Author

how can we enforce the vendor will be adding the debian in the .gitignore?

I don't have a good idea to enforce this. Any suggestions are welcome.

This pull request was closed.
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.

The "debian" folder of a newly added platform driver is ignored to be uploaded.
2 participants