karmada-io / website

Karmada website and documentation repo
https://karmada.io
Creative Commons Attribution 4.0 International
29 stars 127 forks source link

Update file line terminator from CRLF to LF #706

Closed RainbowMango closed 1 month ago

RainbowMango commented 1 month ago

What type of PR is this?

/kind cleanup

What this PR does / why we need it: This PR twists the file line terminator from CRLF to LF.

Which issue(s) this PR fixes: Fixes #

Special notes for your reviewer: Find the file with CRLF line terminator:

# find /root/go/src/github.com/karmada-io/website -type f -exec file {} \; | grep -v "vendor" | grep CRLF
/root/go/src/github.com/karmada-io/website/docs/administrator/migration/migration-from-kubefed.md: ASCII text, with CRLF line terminators
/root/go/src/github.com/karmada-io/website/docs/administrator/security/security-considerations.md: UTF-8 Unicode text, with very long lines, with CRLF line terminators
/root/go/src/github.com/karmada-io/website/versioned_docs/version-v1.6/administrator/migration/migration-from-kubefed.md: UTF-8 Unicode text, with CRLF line terminators
/root/go/src/github.com/karmada-io/website/versioned_docs/version-v1.10/administrator/migration/migration-from-kubefed.md: ASCII text, with CRLF line terminators
/root/go/src/github.com/karmada-io/website/versioned_docs/version-v1.10/administrator/security/security-considerations.md: UTF-8 Unicode text, with very long lines, with CRLF line terminators
/root/go/src/github.com/karmada-io/website/versioned_docs/version-v1.7/administrator/migration/migration-from-kubefed.md: ASCII text, with CRLF line terminators
/root/go/src/github.com/karmada-io/website/versioned_docs/version-v1.9/administrator/migration/migration-from-kubefed.md: ASCII text, with CRLF line terminators
/root/go/src/github.com/karmada-io/website/versioned_docs/version-v1.9/administrator/security/security-considerations.md: UTF-8 Unicode text, with very long lines, with CRLF line terminators
/root/go/src/github.com/karmada-io/website/versioned_docs/version-v1.11/administrator/migration/migration-from-kubefed.md: ASCII text, with CRLF line terminators
/root/go/src/github.com/karmada-io/website/versioned_docs/version-v1.11/administrator/security/security-considerations.md: UTF-8 Unicode text, with very long lines, with CRLF line terminators
/root/go/src/github.com/karmada-io/website/versioned_docs/version-v1.8/administrator/migration/migration-from-kubefed.md: ASCII text, with CRLF line terminators
/root/go/src/github.com/karmada-io/website/i18n/zh/docusaurus-plugin-content-docs/version-v1.10/administrator/security/security-considerations.md: UTF-8 Unicode text, with very long lines, with CRLF line terminators
/root/go/src/github.com/karmada-io/website/i18n/zh/docusaurus-plugin-content-docs/current/administrator/security/security-considerations.md: UTF-8 Unicode text, with very long lines, with CRLF line terminators
/root/go/src/github.com/karmada-io/website/i18n/zh/docusaurus-plugin-content-docs/version-v1.9/administrator/security/security-considerations.md: UTF-8 Unicode text, with very long lines, with CRLF line terminators
/root/go/src/github.com/karmada-io/website/i18n/zh/docusaurus-plugin-content-docs/version-v1.11/administrator/security/security-considerations.md: UTF-8 Unicode text, with very long lines, with CRLF line terminators
zhzhuang-zju commented 1 month ago

/lgtm

karmada-bot commented 1 month ago

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - **[docs/OWNERS](https://github.com/karmada-io/website/blob/main/docs/OWNERS)** - **[i18n/OWNERS](https://github.com/karmada-io/website/blob/main/i18n/OWNERS)** - **[versioned_docs/version-v1.10/OWNERS](https://github.com/karmada-io/website/blob/main/versioned_docs/version-v1.10/OWNERS)** - **[versioned_docs/version-v1.11/OWNERS](https://github.com/karmada-io/website/blob/main/versioned_docs/version-v1.11/OWNERS)** - **[versioned_docs/version-v1.6/OWNERS](https://github.com/karmada-io/website/blob/main/versioned_docs/version-v1.6/OWNERS)** - **[versioned_docs/version-v1.7/OWNERS](https://github.com/karmada-io/website/blob/main/versioned_docs/version-v1.7/OWNERS)** - **[versioned_docs/version-v1.8/OWNERS](https://github.com/karmada-io/website/blob/main/versioned_docs/version-v1.8/OWNERS)** - **[versioned_docs/version-v1.9/OWNERS](https://github.com/karmada-io/website/blob/main/versioned_docs/version-v1.9/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment