Ensuring repositories have a .gitattributes file

Commits to Glamorous Toolkit repositories can happen from various operating systems, where conventions for line ending can differ.

To avoid noise in git commits due to line endings we can add a .gitignore file that helps git treat line endings in an uniform way accross operrating systems.

# Bash needs lf even on windows/cygwin
*.st eol=lf
*.sh eol=lf

# st files are always text, even if they contain invalid encoded chars
*.st text diff

# GitHub is unable to properly detect Smalltalk code, so help it a bit
*.st linguist-language=Smalltalk

To enure that this is the case GtGitRepositoryWithoutGitAttributes GtLeafConstraint subclass: #GtGitRepositoryWithoutGitAttributes instanceVariableNames: '' classVariableNames: '' package: 'GToolkit-Constraints' is a constraint that checks the presence of a .gitignore file in relevant repositories.

GtGitRepositoryWithoutGitAttributes new

The list with all repositories that do not respect this constraint is shown below. Normally this list should be empty.