Coder Social home page Coder Social logo

marekjalovec / steampipe-plugin-make Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 1.0 385 KB

Use SQL to instantly query Make resources. Open source CLI. No DB required.

License: Apache License 2.0

Makefile 0.24% PLSQL 2.24% Go 97.52%
integromat make postgresql sql steampipe steampipe-plugin

steampipe-plugin-make's People

Contributors

marekjalovec avatar misraved avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

misraved

steampipe-plugin-make's Issues

Initial suggestions for plugin release

Hey @marekjalovec, great work on the new plugin ๐Ÿ‘.

The basic structure looks good so far. While using the plugin, we did come up with a few suggestions based on our best practices:

  1. The column descriptions of tables appear to be incorrect. For instance, in https://github.com/marekjalovec/steampipe-plugin-make/blob/main/make/table_make_api_token.go#L21-L24 the column names do not match the description. Could you please update them? Certain descriptions are incomplete as well; the datastructure_id of the make_data_store table could use a generic description like Data structure ID..

  2. The client folder can be moved out of the make folder to make sure that we keep the table code separate from the client connection code. Please take a look at https://github.com/turbot/steampipe-plugin-turbot for more information.

  3. Is there a specific reason for defining separate logger functions? I think we could easily use the format that we follow for other tables. You could refer https://github.com/turbot/steampipe-plugin-pagerduty/blob/main/pagerduty/table_pagerduty_incident.go#L196 for more information. This will help us in maintaining consistency across all the plugins.

  4. Could you please sort the tables in https://github.com/marekjalovec/steampipe-plugin-make/blob/main/make/plugin.go#L28-L39. We follow this format across all the plugins.

  5. config/make.spc file contains great content ๐Ÿ‘.

  6. The queries in the table docs look great, but they are light in my opinion. It would be great if you could add 2-3 more example queries per table. Additionally, could you also format the queries using the SQL formatter ? Apologies that this requirement is not properly highlighted in the release checklist.

  7. Could you please remove the query outputs from the table docs? As per our current structure, we do not include query outputs in our table docs ๐Ÿ‘. Also, I feel we do not need separate headers for highlighting the Key Columns and Caveats. These descriptions can be included in the table description section of the docs as well.

  8. Does the SDK support environment variables? If yes, I think we should add support for them in the plugin code and mention them explicitly in the docs as well.

  9. All the tables are missing logging information when the API client function is invoked. Could you please add that across all the tables as per the format in https://github.com/turbot/steampipe-plugin-pagerduty/blob/main/pagerduty/table_pagerduty_incident.go#L194-L198

  10. Is there a specific need for dev.sh script? Can we remove it?

  11. Could you please update the .gitignore file to include the extensions mentioned in https://github.com/turbot/steampipe-plugin-pagerduty/blob/main/.gitignore

  12. The plugin seems to be missing the .goreleaser.yml file. Could you please add that in as well ๐Ÿ‘ .

  13. The go.mod file is using 4.1.9 Steampipe Plugin SDK version. Could we please update it to use 5.0.2 SDK version.

Overall the plugin looks great ๐Ÿ‘. Amazing to see how you made sure that pagination and rate limits are handled properly ๐Ÿ‘.

Please let us know if you have questions or if you need a discussion on the above feedback. Happy to help ๐Ÿ˜„ .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.