[go: nahoru, domu]

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

fix: Addition of the .gitattributes file to standardize line endings #7517

Merged
merged 2 commits into from
Sep 23, 2023

Conversation

sam301100
Copy link
Contributor
@sam301100 sam301100 commented Sep 22, 2023

Description:

fixes #7191

Overview:

This pull request addresses the issue reported in #7191 by adding a .gitattributes file to standardize line endings within the Blockly project.

Changes:

Added a .gitattributes file with the following configuration to ensure consistent line endings:

  • text=auto

Motivation:

Standardizing line endings to LF (Unix-style) is essential for maintaining code consistency across different platforms and prevents issues related to mixed line endings when collaborating on projects.

Testing:

I have tested these changes locally by cloning the repository and verifying that the .gitattributes file is properly applied to the project. Line endings are consistent with LF, as expected.

...
Thank you for considering this pull request. I'm excited to contribute to the Blockly project during the Grace Hopper Celebration 2023 Open Source Day. Please let me know if there are any additional changes or improvements needed for this contribution.

@sam301100 sam301100 requested a review from a team as a code owner September 22, 2023 18:21
@google-cla
Copy link
google-cla bot commented Sep 22, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@conventional-commit-lint-gcf
Copy link

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

Copy link
@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome! It looks like this is your first pull request in Blockly, so here are a couple of tips:

  • You can find tips about contributing to Blockly and how to
    validate your changes on our
    developer site.

  • All contributors must sign the Google Contributor License
    Agreement (CLA). If the google-cla bot leaves a comment on this
    PR, make sure you follow the instructions.

  • We use conventional commits
    to make versioning the package easier. Make sure your commit
    message is in the proper format
    or learn how to fix it.

  • If any of the other checks on this PR fail, you can click on
    them to learn why. It might be that your change caused a test
    failure, or that you need to double-check the
    style guide.

Thank you for opening this PR! A member of the Blockly team will review it soon.

Copy link
Contributor
@maribethb maribethb left a comment

Choose a reason for hiding this comment

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

Hi @sam301100 Thank you for opening this PR! It needs just a few changes before it can be merged:

  • All contributors need to sign the CLA; you can follow googlebot's instructions in the comment it left to sign the CLA and refresh the check
  • Update your PR title to start with fix: so that our tools can properly categorize this PR as a fix
  • Address the comment left in the PR review

After you take care of these few things we'll be able to merge your PR! Thank you!

.gitattributes Outdated Show resolved Hide resolved
@sam301100 sam301100 changed the title Addition of the .gitattributes file to standardize line endings fix: Addition of the .gitattributes file to standardize line endings #7191 Sep 22, 2023
@github-actions github-actions bot added the PR: fix Fixes a bug label Sep 22, 2023
@sam301100
Copy link
Contributor Author

Hi @maribethb,
I have made the changes. Requesting you to approve the merge.

Thank you,
Samruddhi Somwanshi

@github-actions github-actions bot added PR: fix Fixes a bug and removed PR: fix Fixes a bug labels Sep 22, 2023
Copy link
Contributor
@maribethb maribethb left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you for your contribution!

@maribethb maribethb merged commit 86bcf71 into google:osd Sep 23, 2023
9 checks passed
@sam301100 sam301100 changed the title fix: Addition of the .gitattributes file to standardize line endings #7191 fix: Addition of the .gitattributes file to standardize line endings Sep 25, 2023
@github-actions github-actions bot added PR: fix Fixes a bug and removed PR: fix Fixes a bug labels Sep 25, 2023
@BeksOmega BeksOmega linked an issue Sep 29, 2023 that may be closed by this pull request
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add gitattributes file to standardize line endings
2 participants