wouldd commented on issue #7116:
URL: 
https://github.com/apache/incubator-devlake/issues/7116#issuecomment-1978696729

   Just to add some context to this now that I think I understand the code 
structure a bit better. the azure devops plugin is a remote plugin in python 
and as such we go via a bridge cmd to invoke a shell script with the parameters 
of any given plugin command which the python code is using hte Fire framework 
to automagically map onto it's methods. Sadly because this is all going via 
essentially linux command line args it's subject to the limits of those arg 
lengths and the payload for updating a pipeline with more than ~28 scopes is 
pretty massive.
   I suspect there are two options (assuming this is even a direction it's 
sensible to head) 
   1) add a method for appending additional scopes rather than re-writing the 
whole list and break up the remote commands to keep them under a size limit.
   2) write the command payload to a temporary json file and re-read that into 
the python program rather than relying on the commandline args.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to