Skip to content

Add --open-ide flag and enhance --confirm in setup_idea.py#63632

Merged
potiuk merged 3 commits into
apache:mainfrom
potiuk:setup-idea-confirm-open-ide
Mar 15, 2026
Merged

Add --open-ide flag and enhance --confirm in setup_idea.py#63632
potiuk merged 3 commits into
apache:mainfrom
potiuk:setup-idea-confirm-open-ide

Conversation

@potiuk

@potiuk potiuk commented Mar 15, 2026

Copy link
Copy Markdown
Member

Enhances setup_idea.py with two improvements for non-interactive and
agent-driven workflows:

  • --confirm: now auto-answers yes to all prompts (IDE close, process
    kill, file overwrite) instead of only the IDE close prompt
  • --open-ide: opens IntelliJ IDEA or PyCharm in the project directory
    after setup completes (macOS open -a, Linux Toolbox scripts / PATH)
  • Adds AGENTS.md describing the recommended command for agents

Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Claude Opus 4.6)

Generated-by: Claude Code (Claude Opus 4.6) following the guidelines

potiuk added 3 commits March 15, 2026 12:05
- --confirm now auto-answers yes to all prompts (IDE close, process
  kill, file overwrite) instead of only the IDE close prompt
- --open-ide opens IntelliJ IDEA or PyCharm in the project directory
  after setup completes, supporting macOS (open -a) and Linux
  (Toolbox scripts and PATH lookup)
@potiuk

potiuk commented Mar 15, 2026

Copy link
Copy Markdown
Member Author

Build docs are failing in main.

@potiuk potiuk merged commit e4dbc55 into apache:main Mar 15, 2026
107 of 110 checks passed
@potiuk potiuk deleted the setup-idea-confirm-open-ide branch March 15, 2026 11:33
@github-actions

Copy link
Copy Markdown
Contributor

Backport failed to create: v3-1-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-1-test Commit Link

You can attempt to backport this manually by running:

cherry_picker e4dbc55 v3-1-test

This should apply the commit to the v3-1-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

potiuk added a commit that referenced this pull request Mar 15, 2026
#63632)

* Add --confirm and --open-ide flags to setup_idea.py

- --confirm now auto-answers yes to all prompts (IDE close, process
  kill, file overwrite) instead of only the IDE close prompt
- --open-ide opens IntelliJ IDEA or PyCharm in the project directory
  after setup completes, supporting macOS (open -a) and Linux
  (Toolbox scripts and PATH lookup)

* Add AGENTS.md for IDE setup with --confirm and --open-ide usage

* Update setup_idea docs with --confirm and --open-ide descriptions
(cherry picked from commit e4dbc55)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
potiuk added a commit that referenced this pull request Mar 15, 2026
#63632) (#63644)

* Add --confirm and --open-ide flags to setup_idea.py

- --confirm now auto-answers yes to all prompts (IDE close, process
  kill, file overwrite) instead of only the IDE close prompt
- --open-ide opens IntelliJ IDEA or PyCharm in the project directory
  after setup completes, supporting macOS (open -a) and Linux
  (Toolbox scripts and PATH lookup)

* Add AGENTS.md for IDE setup with --confirm and --open-ide usage

* Update setup_idea docs with --confirm and --open-ide descriptions
(cherry picked from commit e4dbc55)
vatsrahul1001 pushed a commit that referenced this pull request Mar 25, 2026
#63632) (#63644)

* Add --confirm and --open-ide flags to setup_idea.py

- --confirm now auto-answers yes to all prompts (IDE close, process
  kill, file overwrite) instead of only the IDE close prompt
- --open-ide opens IntelliJ IDEA or PyCharm in the project directory
  after setup completes, supporting macOS (open -a) and Linux
  (Toolbox scripts and PATH lookup)

* Add AGENTS.md for IDE setup with --confirm and --open-ide usage

* Update setup_idea docs with --confirm and --open-ide descriptions
(cherry picked from commit e4dbc55)
abhijeets25012-tech pushed a commit to abhijeets25012-tech/airflow that referenced this pull request Apr 9, 2026
)

* Add --confirm and --open-ide flags to setup_idea.py

- --confirm now auto-answers yes to all prompts (IDE close, process
  kill, file overwrite) instead of only the IDE close prompt
- --open-ide opens IntelliJ IDEA or PyCharm in the project directory
  after setup completes, supporting macOS (open -a) and Linux
  (Toolbox scripts and PATH lookup)

* Add AGENTS.md for IDE setup with --confirm and --open-ide usage

* Update setup_idea docs with --confirm and --open-ide descriptions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants