-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Improve build instructions about porto
and make goporto
#6498
Comments
@jcchavezs would you want to take this one? |
Actually, if there was a |
I understand this issue here is only about the documentation/error message. A new feature would deserve a new issue ;-) |
totally! 😉 |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
@jpkrohling Is the installation of goporto still a prerequisite for building the project? If so, this issue still needs to be fixed. I have very little knowledge on the build script of the project and I don't feel I'll be able to fix the |
AFAICT this is still a problem, removing the Stale label |
Actually, it looks like the error message has been updated: In .github\workflows\build-and-test.yml: - name: Porto
run: |
make -j2 goporto
git diff --exit-code || (echo 'Porto links are out of date, please run "make goporto" and commit the changes in this PR.' && exit 1) So we would simply need to update some documentation on the technical prerequisites to build the project. I couldn't find any information on building the project anywhere. Is there such thing? |
So, the main issue was apparently fixed in PR #8099 by @bogdandrutu |
We have this page and porto is installed by I will leave it up to you @bertysentry whether to close this. |
You're right, @mx-psi! porto is now installed with |
Issue
The build may fail with the below error message:
The message is wrong, it should recommend running
make goporto
.How to reproduce
Commit a new Go source file like below:
and run
make ci
. You should get the wrong error message.Then try running
make goporto
, which will fail with an error message complaining about not finding porto.Expected behavior
Error message should recommend running
make goporto
.Also, the build instructions should mention that the contributor may need to run
make goporto
, and this operation requires the proper installation of porto:Version
0.40.0
Environment
Build on Linux, with Go 1.17.2
The text was updated successfully, but these errors were encountered: