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

docs: New developer getting started guide #888

Merged
merged 2 commits into from
Jan 2, 2024

Conversation

hestiahacker
Copy link
Contributor

This adds a guide for new developers and corrects some commands which no longer work, filenames that changed and so on.

As an old developer who is new to this project, new to GoLang, and has never contributed to Terraform nor Proxmox, I found some things that were particularly troublesome in getting started.

  1. The minimum version of GoLang required is newer than is shipped in any stable Debian release
  2. There was a go install command in the documentation that didn't work (but apparently it's not needed if you check out the repo with git)
  3. I copied the executable into the old place and it took me a while figure out why things weren't working as expected
  4. I ran into the issue where you can't recompile and overwrite a provider's executable without modifying or deleting a lock file

I added a little Ansible playbook to get the bleeding edge version of GoLang in an automated fashion and updated the documentation to address all of the other things. While this level of documentation likely not needed for people who are experts with Terraform and GoLang, they are extremely helpful to those who lack experience in troubleshooting these systems.

If this gets accepted, in the future I may write a guide to help non-developers be able to test with different commits to see exactly when an issue was introduced. Having bug reporters or commenters figure this out is tremendously helpful and allows them to help developers get to the root cause of issues more quickly.

@mleone87 mleone87 merged commit 5e1e8bb into Telmate:master Jan 2, 2024
1 check passed
@hestiahacker hestiahacker deleted the new_developer_setup branch January 3, 2024 19:25
spettinichi pushed a commit to spettinichi/terraform-provider-proxmox that referenced this pull request Jan 26, 2024
* docs: Updated docs (removed broken commands, etc.) and added a script to get a bleeding edge version of golang Telmate#704

* docs: Added a guide to help developers who are new to this project

---------

Co-authored-by: hestia <hestia@hax0rbana.org>
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.

None yet

2 participants