consistently across all projects i get a space bef...
# refreshversions
n
consistently across all projects i get a space before
version.ktor=
i wonder whats up with that
z
I get the same thing with okio, i haven’t filed a bug yet tho
l
It's not a bug, it's there for alignment with the
## # available
comments. I need to document it.
z
I believe it gets indented even when there are no comments for that line though
n
it also happens to me for
version.jooq=3.13.3
with no extra comments i defined it like so
Copy code
org.jooq:jooq
         ^^^^
does this happen for every version property thats 4 characters or shorter? it kinda makes sense there but it looks broken if you don't know it i don't think alignment there is so important i'd rather have
Copy code
version.jooq=3.13.2
# available =3.13.3


version.kotlinx.serialization=0.20.0
# available                  =0.20.0-1.4-M1-release-99
# available                  =1.0-M1-1.4.0-rc-218
or no alignment at all
l
It always get indented to avoid triggering a diff on the used version line when there's available versions. I need to document this. Alignment is important because it makes upgrading with just the keyboard very quick.
n
is there any specific reason why the comment lines after it have 3
#
in total though ? and spaces are inserted between them ?
l
Yes, it's to allow text search without ambiguity with user comments (even though user comments are not supported yet and are currently overwritten when the refreshVersions task runs). You can search for
# available
, and you can spot comments from refreshVersions because they start with
##
.