psss / did

What did you do last week, month, year?
https://did.readthedocs.io/
GNU General Public License v2.0
249 stars 107 forks source link

Add Trello option --trello-updateCard:complete #207

Open daobrien opened 5 years ago

daobrien commented 5 years ago

I know "closed" exists but this is different from "Complete."

$ did last week --trello
* Trello cards moved: 1
    * [Do something.] moved from [In progress] to [Complete]

but...

$ did last week --trello-updateCard:closed
(no output)
psss commented 5 years ago

Thanks for the idea. Is the complete status a standard one? Or users freely define name of each column in Trello? If the latter it would be probably good to enable custom filtering and any column name.

daobrien commented 5 years ago

I'm not sure if it is a "standard" one but it is a very common one, along with Backlog, In Progress, and Blocked. If you can do it with custom filtering, etc., that would be great. Thanks :)

daobrien commented 2 years ago

Do you need any more info to keep this moving? Maybe more ppl to help? :) Too bad I'm not a coder. Thanks for did; I use it almost every day.

psss commented 2 years ago

Hi, I think the main idea is clear. Perhaps the config could look like this?

[trello]
type = trello
user = didtester
columns = completed, backlog

For each name under the columns key we could create a new option and stat for showing cards moved to the given column. For example:

--trello-card-moved-to-complete

Does that make sense? Unfortunately I have a bunch of other stuff/priorities on the plate so cannot look into this in the near future. Maybe @mikelolasagasti would be interested to have a look?

daobrien commented 2 years ago

Yes, that makes sense, and would work for me. Thanks.