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

Chore/move golang code #447

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Chore/move golang code #447

wants to merge 3 commits into from

Conversation

AtomicFS
Copy link
Collaborator

No description provided.

@AtomicFS AtomicFS requested a review from MDr164 as a code owner November 28, 2024 15:21
@github-actions github-actions bot added documentation Improvements or additions to documentation github_actions Pull requests that update GitHub Actions code labels Nov 28, 2024
@AtomicFS AtomicFS enabled auto-merge November 28, 2024 15:21
@AtomicFS AtomicFS force-pushed the chore/move-golang-code branch 5 times, most recently from f57ec20 to f710eae Compare December 2, 2024 13:00
@AtomicFS AtomicFS disabled auto-merge December 2, 2024 16:44
@AtomicFS AtomicFS force-pushed the chore/move-golang-code branch from f710eae to 94ca55c Compare December 3, 2024 11:48
@AtomicFS AtomicFS enabled auto-merge December 3, 2024 11:53
@AtomicFS AtomicFS force-pushed the chore/move-golang-code branch 2 times, most recently from d4c2db2 to 05a071e Compare December 5, 2024 16:24
@AtomicFS AtomicFS force-pushed the chore/move-golang-code branch from 05a071e to 2f93621 Compare December 11, 2024 10:15
@MDr164
Copy link
Collaborator

MDr164 commented Dec 11, 2024

Does this work as expected btw? If I recall correctly the reason to change it was due to how go install finds and names the binary, right?

@AtomicFS
Copy link
Collaborator Author

Does this work as expected btw? If I recall correctly the reason to change it was due to how go install finds and names the binary, right?

Yes, that is the reason. It should work, but I do not know how to actually test it.

@AtomicFS AtomicFS force-pushed the chore/move-golang-code branch from 2f93621 to 3a82035 Compare December 11, 2024 14:10
@MDr164
Copy link
Collaborator

MDr164 commented Dec 18, 2024

I'll try to test this out from the branch soon to check if this does what we want.

- 'go install' command uses the last elements in the path/url to
  determine name of the executable
- move golang code from ./action directory to ./cmd/firmware-action
  instead
- this way when people run 'go install' they get 'firmware-action'
  instead of just 'action'

Signed-off-by: AtomicFS <vojtech.vesely@9elements.com>
- change references in docs
- update gitignore
- update workflows
- update Taskfile
- hopefully I did not forget anything

Signed-off-by: AtomicFS <vojtech.vesely@9elements.com>
Signed-off-by: AtomicFS <vojtech.vesely@9elements.com>
@AtomicFS AtomicFS force-pushed the chore/move-golang-code branch from 3a82035 to bd99632 Compare December 18, 2024 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants