Generated .gitattributes are inconsistent
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- cpp, git
調査の方向性
editor_vcs_interface.cpp の 421 行付近にある .gitattributes の生成を、godot-git-plugin/src/git_plugin.cpp の 198 行付近にあるものと比較してください。まず適切な共通コンテンツを特定し、そのコンテンツを Godot Git Plugin と Godot Engine の両方に実装して、両方の生成経路が同一の出力を生成することを確認してください。
索引モデルが issue の本文から書いたものです。
説明
Introduction
The Godot Git Plugin creates a pre-filled .gitattributes file, if none was found in the project repository.
When no Plugin is installed, the main Godot Engine provides a similar utility via Version Control -> Create Version Control Metadata.
Expected behavior
Both .gitignore and .gitattributes are the same - independent of the way they were generated.
Actual behavior
.gitignore looks the same using both ways ✔️
.gitattributes yields different outputs depending on the selected generation method ❌
More details
The main Godot Engine yields
# Normalize EOL for all files that Git considers text files.
* text=auto eol=lf
as defined in Line 421 of editor_vcs_interface.cpp two years ago.
The Godot Git Plugin yields
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.cpp text
*.c text
*.h text
*.gd text
*.cs text
# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
as defined in Line 198 of git_plugin.cpp four years ago.
Steps forward
### Tasks
- [ ] Decide on the proper content of `.gitattributes`
- [ ] Implement it in both the Godot Git Plugin and the Godot Engine
- 主要言語
- C++
- スター
- 966
- フォーク
- 100
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
godotengine/godot-git-plugin のほかの issue
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 47/100
godotengine/godot-git-plugin#338 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
godotengine/godot-git-plugin#337 · コメント 2 件 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 66/100
godotengine/godot-git-plugin#335 ·
-
bug confirmed
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
godotengine/godot-git-plugin#334 · コメント 3 件 ·
-
Edit commit messageオープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
godotengine/godot-git-plugin#332 ·
godotengine/godot-git-plugin の issue をすべて見る
似ている issue
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
microsoft/DirectXShaderCompiler#9155 ·
メンテナーはふだん 2 日以内に返信
-
Errors in 1.20 proseオープンCampaign DiD Campaign EI Campaign HttT Campaign TDG Campaign TSG Campaign WoF Enhancement Help Prose Stable 1.20
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
wesnoth/wesnoth#11749 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
trabucayre/openFPGALoader#767 ·
メンテナーはふだん 1 日以内に返信
-
agent:Windows bug in progress pri:medium sev:low testing windows
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
protocolbuffers/protobuf#31768 ·
メンテナーはふだん 1 日以内に返信