Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Select for properties of targets such as version in pants queries/filters #22813

Open
@dannytodd

Description

@dannytodd

Describe the solution you'd like
I would like to be able to query, via pants, properties of targets rather than simply the targets (and their transitive dependencies) themselves. Namely, theversion parameter of all targets that support it. This would enable triggering of release builds of packages when a version bump occurs by querying with something akin to:

pants list --filter-target-type=python_distribution --changed-property=version

This is a common pattern when dealing with file-level changes in other systems, such as triggering on changes to a__version__ file. The added granularity of being able to handle target properties directly would be useful in lots of cases, but triggering on version updates would be a good first example.

Describe alternatives you've considered
The basic alternative would be to grep the git diff of BUILD files, but this isn't very robust.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp