[PR #1295] [MERGED] Disable spotless ratcheting of Pkl sources #1006

Closed
opened 2025-12-30 01:28:14 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/apple/pkl/pull/1295
Author: @bioball
Created: 11/4/2025
Status: Merged
Merged: 11/4/2025
Merged by: @bioball

Base: mainHead: disble-pkl-ratcheting


📝 Commits (1)

  • ed52309 Disable spotless ratcheting of Pkl sources

📊 Changes

1 file changed (+3 additions, -0 deletions)

View changed files

📝 buildSrc/src/main/kotlin/pklSpotlessFormat.gradle.kts (+3 -0)

📄 Description

This causes spotless to always format Pkl files, instead of only formatting them if there's a diff between the file and what's in main.

This means that formatting changes in pkl-formatter will be propagated to the standard library.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/apple/pkl/pull/1295 **Author:** [@bioball](https://github.com/bioball) **Created:** 11/4/2025 **Status:** ✅ Merged **Merged:** 11/4/2025 **Merged by:** [@bioball](https://github.com/bioball) **Base:** `main` ← **Head:** `disble-pkl-ratcheting` --- ### 📝 Commits (1) - [`ed52309`](https://github.com/apple/pkl/commit/ed523098bdf42bc249fc15750db57ccf655fc6d0) Disable spotless ratcheting of Pkl sources ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `buildSrc/src/main/kotlin/pklSpotlessFormat.gradle.kts` (+3 -0) </details> ### 📄 Description This causes spotless to _always_ format Pkl files, instead of only formatting them if there's a diff between the file and what's in main. This means that formatting changes in pkl-formatter will be propagated to the standard library. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 01:28:14 +01:00
adam closed this issue 2025-12-30 01:28:14 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#1006