Skip to content

Rename assets list-by-alias to list-aliases in airflowctl - #68522

Merged
uranusjr merged 1 commit into
apache:mainfrom
justinpakzad:fix/airflow-ctl-list-asset-aliases
Jun 29, 2026
Merged

uranusjr merged 1 commit into
apache:mainfrom
justinpakzad:fix/airflow-ctl-list-asset-aliases

Conversation

@justinpakzad

@justinpakzad justinpakzad commented Jun 13, 2026 •

Copy link
Copy Markdown
Contributor

While working on another PR I noticed that the current command in airflowctl to list asset aliases was called list-by-alias. This is a bit misleading as it's not actually listing assets by aliases (there is an existing command get-by-alias for that) but listing all asset aliases. I have updated the command to be list-aliases which in my opinion is more aligned with what the command is actually doing. I updated the existing method, unit test, help_text, and value in the exclude commands list to reflect the new name. The behavior of the command itself was not altered, so there was no additional tests added.

Was generative AI tooling used to co-author this PR?
  • No (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@potiuk potiuk added the ready for maintainer review Set by triage when all criteria pass, or by the fork CI reconciler when fork CI is green. label Jun 17, 2026
@justinpakzad

Copy link
Copy Markdown
Contributor Author

Anything else needed to get this merged?

@justinpakzad
justinpakzad force-pushed the fix/airflow-ctl-list-asset-aliases branch from cbf00ef to 8f434aa Compare June 29, 2026 21:04
@uranusjr
uranusjr merged commit d224b04 into apache:main Jun 29, 2026
177 of 178 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Backport successfully created: airflow-ctl/v0-1-test

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
✅ airflow-ctl/v0-1-test PR Link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:airflow-ctl area:dev-tools backport-to-airflow-ctl/v0-1-test kind:documentation ready for maintainer review Set by triage when all criteria pass, or by the fork CI reconciler when fork CI is green.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants