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

Use .gitattributes to hide the deployment record in diffs #2553

Open
dotNomad opened this issue Jan 23, 2025 · 1 comment
Open

Use .gitattributes to hide the deployment record in diffs #2553

dotNomad opened this issue Jan 23, 2025 · 1 comment
Labels
discovery Additional discovery is necessary to determine a solution

Comments

@dotNomad
Copy link
Collaborator

dotNomad commented Jan 23, 2025

A .gitattributes file has the ability to collapse diffs in GitHub and GitLab when the diff is generated and not really necessary to review. This is common with files like package-lock.json.

We can utilize this to help with the generated deployment record file when users use git.

References:

@dotNomad dotNomad added the discovery Additional discovery is necessary to determine a solution label Jan 23, 2025
@dotNomad
Copy link
Collaborator Author

This may not be as applicable when we work to simplify the deployment record and instead use Connect as the source-of-truth for a lot of the attributes we read from the deployment record.


Some ideas on how we can address this:

  • add documentation recommending the creation of .gitattributes
  • generate it for users
    • potentially only when they are inside of a git repo already

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discovery Additional discovery is necessary to determine a solution
Projects
None yet
Development

No branches or pull requests

1 participant