Skip to content

Rename the option processLines to transformLines#8

Merged
akirak merged 6 commits into
masterfrom
rename-api
Apr 27, 2026
Merged

Rename the option processLines to transformLines#8
akirak merged 6 commits into
masterfrom
rename-api

Conversation

@akirak
Copy link
Copy Markdown
Member

@akirak akirak commented Apr 27, 2026

The name processLines is too vague, and I’ve been meaning to rename it. This time, I will do so while preserving the existing API for backward compatibility.

Copilot AI review requested due to automatic review settings April 27, 2026 17:13
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR renames the tangleOrgBabel option processLines to the clearer transformLines, while keeping processLines available as a deprecated alias for backward compatibility.

Changes:

  • Added transformLines option to tangleOrgBabel and implemented a deprecated fallback to processLines (with a warning).
  • Added tests covering transformLines, the deprecated processLines, and precedence when both are provided.
  • Updated README examples/documentation to use transformLines.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
nix/tangleOrgBabel.nix Introduces transformLines and deprecates processLines via an alias with a warning.
test/test.nix Adds coverage for the new option, deprecated option, and precedence behavior.
README.org Updates documentation and examples to use transformLines.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test/test.nix Outdated
Comment thread test/test.nix Outdated
Comment thread README.org
@akirak akirak merged commit bcd049a into master Apr 27, 2026
3 checks passed
@akirak akirak deleted the rename-api branch April 27, 2026 17:37
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.

3 participants