Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added common dependencies #95

Merged
merged 2 commits into from
Aug 3, 2024

Conversation

utsab818
Copy link
Contributor

@utsab818 utsab818 commented Aug 1, 2024

Fixes #89

Copy link
Member

@rakshitgondwal rakshitgondwal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @utsab818, Thank you for this PR.

The generatehcl2NixConf and WriteConfig should not be in init/init.go.
We are already doing these under init/model.go.

Please have a look at how we are passing the values over to the model file and generate common dependencies using that.

@utsab818
Copy link
Contributor Author

utsab818 commented Aug 3, 2024

@rakshitgondwal Please check this. I checked it for my go project and it seems to be working fine.

cmd/init/config.go Outdated Show resolved Hide resolved
cmd/init/model.go Outdated Show resolved Hide resolved
cmd/init/config.go Outdated Show resolved Hide resolved
cmd/init/config.go Outdated Show resolved Hide resolved
cmd/init/config.go Outdated Show resolved Hide resolved
Signed-off-by: utsab818 <utsabsapkota4231@gmail.com>
Signed-off-by: utsab818 <utsabsapkota4231@gmail.com>
@rakshitgondwal
Copy link
Member

Thank you for your contribution @utsab818!

@rakshitgondwal rakshitgondwal merged commit f960b0a into buildsafedev:main Aug 3, 2024
2 checks passed
@utsab818 utsab818 deleted the addcommondependencies branch August 4, 2024 07:50
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.

base image prompts should ask for which deps to add based on project type
2 participants