Checklist
alr version
.Describe the bug
I find some of the default style checks included by default in a new crate as too pedantic for new users, because they could find them too restrictive, and they won't have the knowledge nor the will to change the options.
To Reproduce
Steps to reproduce the behavior:
alr init issue_style
cd issue_style/
Edit src/issue_style.adb
with this content:
with Ada.Text_IO;
procedure Issue_Style is
-- This is a line of more that 80 characters
Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa_Long_Line : constant String := "aaaaaaaaaa long line";
begin
Ada.Text_IO.Put_Line (Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa_Long_Line);
end Issue_Style;
alr build
These style messages will appear:
issue_style.adb:2:01: (style) multiple blank lines
issue_style.adb:6:07: (style) space required
issue_style.adb:7:80: (style) this line is too long
Expected Behavior
alr
version
APPLICATION
alr version: 2.0-rc1
libalire version: 2.0-rc1
compilation date: 2024-02-29 11:11:07
compiled with version: 10.5.0
CONFIGURATION
config folder: /home/mgr/.config/alire
cache folder: /home/mgr/.local/share/alire
vault folder: /home/mgr/.local/share/alire/releases
build folder: /home/mgr/.local/share/alire/builds
temp folder: /run/user/1000
force flag: FALSE
non-interactive flag: FALSE
community index branch: stable-1.3.0
compatible index versions: ^1.1 & <=1.3.0
indexes folder: /home/mgr/.config/alire/indexes
indexes metadata: OK
index #1: (community) git+https://github.com/alire-project/alire-index#stable-1.2.1
toolchain folder: /home/mgr/.local/share/alire/toolchains
toolchain assistant: disabled
tool #1 gnat: gnat_external=12.3.0
tool #2 gprbuild: gprbuild=18.0.0
system package manager: /usr/bin/apt
distro detection disabled: FALSE
WORKSPACE
root status: VALID
root release: alr=1.3.0-dev
root load error: none
root folder: /home/mgr/src/github/mgrojo/alire
current folder: /home/mgr/src/github/mgrojo/alire
SYSTEM
distribution: UBUNTU
host-arch: X86_64
os: LINUX
target: NATIVE
toolchain: SYSTEM
word-size: BITS_64
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too