Skip to content

Conversation

@jonathanlab
Copy link
Contributor

@jonathanlab jonathanlab commented Dec 22, 2025

CLI for stacked PR management using JJ. Generally makes JJ easier to grasp.

Consists of a core package and a cli app. The CLI is fairly thin, and all functionality occurs in core, so we can directly use that via the Array desktop app as well.

const changes: FileChange[] = [];

for (const line of lines) {
const match = line.match(/^([MADR])\s+(.+)$/);

Check failure

Code scanning / CodeQL

Polynomial regular expression used on uncontrolled data High

This regular expression that depends on library input may run slow on strings starting with 'A ' and with many repetitions of ' '.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

stale

@charlesvien charlesvien changed the title feat/arr-cli feat: Array CLI Dec 23, 2025
@jonathanlab jonathanlab changed the title feat: Array CLI feat: arr CLI Dec 23, 2025
@jonathanlab jonathanlab force-pushed the feat/cli-core-packages branch from a57cf4f to d6e730e Compare January 6, 2026 19:56
@jonathanlab
Copy link
Contributor Author

jonathanlab commented Jan 7, 2026


Merge from bottom to top, or use arr merge

@jonathanlab jonathanlab force-pushed the feat/cli-core-packages branch 4 times, most recently from 3965c7d to e3c545a Compare January 9, 2026 12:29
@jonathanlab jonathanlab force-pushed the feat/cli-core-packages branch from e3c545a to a42be58 Compare January 9, 2026 12:48
@jonathanlab jonathanlab force-pushed the feat/cli-core-packages branch 7 times, most recently from 5c28359 to e351407 Compare January 9, 2026 13:38
@jonathanlab jonathanlab force-pushed the feat/cli-core-packages branch from a25e69e to 7be0bf9 Compare January 9, 2026 13:51
@jonathanlab
Copy link
Contributor Author

Closing in favor of a stacked PR with arr: #361

@jonathanlab jonathanlab closed this Jan 9, 2026
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