incubator-devlake icon indicating copy to clipboard operation
incubator-devlake copied to clipboard

feat(plugin): linear plugin poc

Open nicoabie opened this issue 1 year ago • 2 comments

⚠️ Pre Checklist

Please complete ALL items in this checklist, and remove before submitting

  • [X] I have read through the Contributing Documentation.
  • [ ] I have added relevant tests.
  • [ ] I have added relevant documentation.
  • [X] I will add labels to the PR, such as pr-type/bug-fix, pr-type/feature-development, etc.

Summary

Does this close any open issues?

Closes xx

Screenshots

Include any relevant screenshots here.

Other Information

I added comments to the relevant parts of this draft POC I would love someone to teach me how to run this with a personal access token :)

nicoabie avatar Sep 16 '22 01:09 nicoabie

@nicoabie hello nicoabie, good job! Glad you contributed the linear plugin, looking forward to the final product. By the way, is there a corresponding issue for this pr.

abeizn avatar Sep 16 '22 01:09 abeizn

@nicoabie Hey Nico, you've gotten the setup correct for testing purposes. All you need to do is follow my comment here to create and save the connection in Devlake, and then run the plugin using the plugin's main method. You will need to know the connectionID to run main(): the PostConnection API will return that to you in the response. Alternatively, you can look it up in the connections table of the Devlake DB.

keon94 avatar Sep 20 '22 02:09 keon94