Skip to content

Checkstyle version upgrade #284

Merged
pdowler merged 7 commits into
opencadc:mainfrom
aratikakadiya:checkstyle-upgrade
Apr 30, 2026
Merged

Checkstyle version upgrade #284
pdowler merged 7 commits into
opencadc:mainfrom
aratikakadiya:checkstyle-upgrade

Conversation

@aratikakadiya

Copy link
Copy Markdown
Contributor

No description provided.

@pdowler pdowler left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you provide a brief (point form) summary of the kinds of changes that this update requires in code? (eg things that are more strict). It might be worth adding that list to the cadc-quality/README.md (eg have a Changes in 1.1 section).

For example, in cadc-rest SyncOutput.java I see that some blank lines in the import section were removed... are blank lines not allowed or was that your IDE reformatting? To be clear, I am in favour of not allowing blank lines.

My main question: code reformatting is a pain to review and I don't really want to look at the code itself... I will assume there are no functional changes, but I will probably build and install the two libs locally and publish new versions in a few weeks just in case.

Comment thread opencadc.gradle Outdated
testImplementation 'com.puppycrawl.tools:checkstyle:8.2'
checkstyleDep 'org.opencadc:cadc-quality:[1.0,1.1)'
testImplementation 'com.puppycrawl.tools:checkstyle:10.12.5'
checkstyleDep 'org.opencadc:cadc-quality:[1.1,)'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should use an upper bound eg [1.1,1.2) here so we can gradually release an update next time we do an incompat change

Comment thread cadc-quality/build.gradle Outdated
group = 'org.opencadc'

version = '1.0.1'
version = '1.1'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to include path in version, so 1.1.0

@pdowler pdowler merged commit f20764a into opencadc:main Apr 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants