Draft: Use Cursor AI to convert everything to Semantic Line Breaks #1492
No reviewers
Labels
No labels
announce
bootstrap
Closed As
accepted
Closed As
duplicate
Closed As
exceptionexpired
Closed As
fixed
Closed As
invalid
Closed As
nothingtodo
Closed As
permanentexception
Closed As
rejected
Closed As
temporaryexception
Closed As
wontfix
cmake
committee
draftneeded
hasdraft
meeting
meson
needinfo
Priority
In Committee
Priority
Needs Review
Priority
Waiting For Reporter
rust
writeup
No milestone
No project
No assignees
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
packaging/guidelines!1492
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "sembr"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Using the claude-4-sonnet-1m model.
Prompt:
As the AI created a regex based Python script to break lines after certain characters, I followed with:
Then I used
git diff --word-diffto locate some undesired changes in apostrophes and quotes(the AI insisted on replacing the Unicode ones with ASCII ones, but only in some of the files).
The overall diff is quite horrible to review.
I propose this as is for consideration, but it was not yet completely reviewed by me.
Overall, I think this is not worth it.
rebased onto
a612abd622rebased onto
a612abd622Hm ... it looks like in some cases like here, it even converted stuff that was already SemBR back into really long lines? (and also introduced other formatting changes that don't look like valid AsciiDoc any longer)?
Yeah this doesn't seem great.
At least limit it to the files which haven't already been converted. But even then, I don't have a lot of confidence that this approach is reasonable. We'd be far better off with just breaking lines after sentences because that's at least half the job.
Can you please hold off on converting the Golang pages? I'm working on updating them, and this will create conflicts.
Don't worry, we are probably not going to merge this anyway.
rebased onto
a612abd622I have changed the model and continued adding more and more instructions until it kinda made sense. The changes look mostly good to me.
(If we want this, I can exclude the Golang pages from the commit.)
Todo fixes identified by the AI that I manually removed to limit the scope:
It doesn't look terrible now ... but it's a lot and some of the changes seem random.
Would probably be much happier if it was limited just splitting lines that were over 100 characters or something.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.