Skip to content

Conversation

@Aurelian-Shuttleworth
Copy link

A new Bash script dependancy_check.sh has been added to ensure that the minimum required Bash version is used and that required commands used by generate are available. This script is now called in the Makefile as part of the check_dependencies task. This aims to prevent errors due to incompatible Bash versions or missing commands.

After encountering some minor inconvenience debugging why then generate.sh script was failing, I added this script to ensure others don't waste any time.

Also, minor clean up of the Development readme.

A new Bash script `dependancy_check.sh` has been added to ensure that the minimum required Bash version is used. This script is now called in the Makefile as part of the `check_dependencies` task. This aims to prevent errors due to incompatible Bash versions.
The `dependancy_check.sh` script has been expanded to improve the verification process. It not only checks the running bash version for compatibility, but also ensures that a set list of commands are available before proceeding. This eliminates potential breakdowns due to missing dependencies or unsupported bash versions.
Reshaped the DEVELOPMENT.md file to provide thorough and more explicit instructions. Each section is now easily accessible and comprehensible, eliminating any potential ambiguity for the user. This streamlines the development process by clearly laying out instructions for checking dependencies, generating Jsonnet libraries and documents, as well as understanding usage of the Grafonnet-base library and examples.
@CLAassistant
Copy link

CLAassistant commented Sep 22, 2023

CLA assistant check
All committers have signed the CLA.

@Duologic
Copy link
Contributor

Thanks of this, the DEVELOPMENT.md is totally out-of-date and requires a proper rewrite, perhaps we can do that in a separate PR.

@Duologic
Copy link
Contributor

I've made updates to the Makefile in #129 and rewritten DEVELOPMENT.md in #133, please have a look at these.

@Duologic
Copy link
Contributor

I've been thinking about this, perhaps it would be much safer to pour this all into a container image rather than expecting a local development environment. WDYT?

@Aurelian-Shuttleworth
Copy link
Author

@Duologic I agree moving to a dev container would be a much better way to handle it.

May I suggest creating a Dev container or multiple?

Plus makes for great integration in most popular IDE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants