GothenburgBitFactory / bugwarrior

Pull github, bitbucket, and trac issues into taskwarrior
http://pypi.python.org/pypi/bugwarrior
GNU General Public License v3.0
736 stars 209 forks source link

Add `github.body_length` configuration #782

Closed djmitche closed 3 years ago

djmitche commented 3 years ago

This controls the maximum length of the githubbody UDA, and can be used to avoid syncing the body at all (by setting it to 0).

Fixes #766.

ryneeverett commented 3 years ago

The reason I suggested description_length rather than body_length was for consistency with our existing configuration options (such as annotation_length) which reference fields in terms of the field names in taskwarrior rather than in their respective services. What do you think?

djmitche commented 3 years ago

Description isn't task field, though. I was keying off the name of the uda. I can change it if you'd like, though.

On Mon, Nov 30, 2020, 12:27 AM ryneeverett notifications@github.com wrote:

The reason I suggested description_length rather than body_length was for consistency with our existing configuration options (such as annotation_length) which reference fields in terms of the field names in taskwarrior rather than in their respective services. What do you think?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ralphbean/bugwarrior/pull/782#issuecomment-735554429, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAHAAPJFWKJ4X26Z32JNE3SSMUMRANCNFSM4UGR2SIQ .

djmitche commented 3 years ago

Oh, also, github.description_length applies to the task description, rather than the issue description, so I think re-using the word description in this context would be super-confusing.

ryneeverett commented 3 years ago

Nevermind, it was I that was confused. This makes sense.