Skip to content

add features you didn't tell me not to add :D#20

Merged
brouberol merged 6 commits into
brouberol:mainfrom
AnotherKamila:main
Mar 11, 2026
Merged

add features you didn't tell me not to add :D#20
brouberol merged 6 commits into
brouberol:mainfrom
AnotherKamila:main

Conversation

@AnotherKamila

@AnotherKamila AnotherKamila commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

Feel free to throw any of it away if you prefer. In particular, the 2nd commit changes behaviour (but I do happen to think that it makes sense :D)

Add a --status parameter.
Fixes: brouberol#18
Also fix a bug with getting tasks twice.
@AnotherKamila AnotherKamila changed the title add --status option to list add features you didn't tell me not to add :D Mar 6, 2026

@brouberol brouberol left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This looks good! I think you should restore fetching the tasks for backup_owner_phid=--owner (pseudocode) though, because it's a useful behavior.

Comment thread phable/cli/list.py
@AnotherKamila

Copy link
Copy Markdown
Contributor Author

Whoops, I did not have enough brain left on that evening '^^ Brain farts should be fixed now, sorry about that.

@brouberol brouberol left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thank you for your first contribution! <3

Comment thread phable/cli/set.py
)
@click.argument("task-ids", type=TASK_ID, nargs=VARIADIC)
@click.pass_obj
def set_task_fields(

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

I like where this is going, but I have a small itch. We already have phable status to set a task status. I like your approach better however. I'm going to accept this as-is, and then merge phable status into this command as phable set --status as well as add a deprecation message on phable status itself.

Comment thread phable/display.py
)


class IdsTaskPrinter(TaskPrinter):

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

I can see this being very useful in scripts!

@brouberol brouberol merged commit 5f30ee6 into brouberol:main Mar 11, 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