pydoit / doit

CLI task management & automation tool
http://pydoit.org
MIT License
1.87k stars 175 forks source link

Add field 'meta' to tasks that can be used by plugins #405

Closed mlell closed 2 years ago

mlell commented 3 years ago

The field is not interpreted by doit, but it can be used by plugins

A proposal according to the conversation on the mailing list.

I am not sure about the name of the field. "meta" is a bit abstract, but it is short. Any other suggestions? Maybe "hints"? Or "plugins"...?

Also I don't know where to put this in the docs...

codecov-commenter commented 2 years ago

Codecov Report

Merging #405 (ea0c84e) into master (5f71d3b) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #405   +/-   ##
=======================================
  Coverage   99.72%   99.72%           
=======================================
  Files          65       65           
  Lines        8852     8861    +9     
=======================================
+ Hits         8828     8837    +9     
  Misses         24       24           
Impacted Files Coverage Δ
doit/cmd_info.py 100.00% <ø> (ø)
doit/task.py 100.00% <100.00%> (ø)
tests/test_cmd_info.py 100.00% <100.00%> (ø)
tests/test_loader.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5f71d3b...ea0c84e. Read the comment docs.

schettino72 commented 2 years ago

merged. thanks.