haskell / haskell/cabal

end of line: LF v CRLF

Open
#12,074 3 comments 1 reaction 0 assignees View on GitHub
blocked: upstream type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

**Describe the feature request**
At the moment, some files use LF and others CR+LF.
changelog-d concatenates files under changelog.d, so the lines of the following parts end with CR+LF:

https://github.com/haskell/cabal/blob/57e070fc4fe79835d58aecb9ae2739d850bd6d56/release-notes/Cabal-3.16.0.0.md#L147-L153
https://github.com/haskell/cabal/blob/57e070fc4fe79835d58aecb9ae2739d850bd6d56/release-notes/Cabal-3.16.0.0.md#L158-L160

EOL can be controlled by

- [editorconfig: end_of_line](https://editorconfig.org/#supported-properties), and/or
- [gitattributes: eol](https://git-scm.com/docs/gitattributes#_eol)

**Additional context**

This is a matter of taste?

Contributor guide

Open the contributing guide

Research direction

Inspect the changelog-d concatenation behavior and the referenced release-notes/Cabal-3.16.0.0.md lines, then compare the repository's line-ending handling with the editorconfig end_of_line and gitattributes eol options mentioned. Done means the intended EOL convention is chosen and the affected changelog or release-note output consistently uses it.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
release
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.