marekjalovec / steampipe-plugin-make Goto Github PK
View Code? Open in Web Editor NEWUse SQL to instantly query Make resources. Open source CLI. No DB required.
License: Apache License 2.0
Use SQL to instantly query Make resources. Open source CLI. No DB required.
License: Apache License 2.0
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:
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.
.
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.
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.
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.
config/make.spc
file contains great content ๐.
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.
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.
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.
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
Is there a specific need for dev.sh
script? Can we remove it?
Could you please update the .gitignore
file to include the extensions mentioned in https://github.com/turbot/steampipe-plugin-pagerduty/blob/main/.gitignore
The plugin seems to be missing the .goreleaser.yml
file. Could you please add that in as well ๐ .
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 ๐ .
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.