-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Mercurial prerequisite missing - release 0.9 #1681
Comments
@JaroslavMajera Did you add an extra dependency to your operator, because |
@lilic I didn't add an extra dependency. I was creating the example operator from docs. |
@JaroslavMajera Can you please write down all the steps you took, preferably fill out the below, as I can't reproduce this, thanks!
|
What did you do? What did you expect to see? What did you see instead? Under which circumstances? Environment
official release v0.9.0, commit: 560208d
1.12.7
0.5.4 Possible Solution Additional context |
I do not run into this:
And:
Can you paste the output of the |
Output of new command: go.mod: require ( // Pinned to kubernetes-1.13.4 replace ( replace github.com/operator-framework/operator-sdk => github.com/operator-framework/operator-sdk v0.9.0 go.sum: |
hmm maybe this was due to me already having this dependency locally. cc @estroz any ideas ^ |
@lilic @JaroslavMajera you can reproduce this error by running the following: # dnf remove mercurial -y
$ go clean -modcache
$ operator-sdk new test-project
INFO[0000] Creating new Go operator 'hg-operator'.
INFO[0000] Created go.mod
INFO[0000] Created tools.go
INFO[0000] Created cmd/manager/main.go
INFO[0000] Created build/Dockerfile
INFO[0000] Created build/bin/entrypoint
INFO[0000] Created build/bin/user_setup
INFO[0000] Created deploy/service_account.yaml
INFO[0000] Created deploy/role.yaml
INFO[0000] Created deploy/role_binding.yaml
INFO[0000] Created deploy/operator.yaml
INFO[0000] Created pkg/apis/apis.go
INFO[0000] Created pkg/controller/controller.go
INFO[0000] Created version/version.go
INFO[0000] Created .gitignore
INFO[0000] Validating project
go: finding github.com/operator-framework/operator-sdk master
go: finding github.com/operator-framework/operator-sdk v0.9.0
...
go: bitbucket.org/ww/[email protected]: hg clone -U https://bitbucket.org/ww/goautoneg . in /home/estroz/go/pkg/mod/cache/vcs/59c2185b80ea440a7c3b8c5eff3d8abb68c53dea1f20f615370c924c4150b27f: exec: "hg": executable file not found in $PATH I will update the release notes and guides with the |
Thanks for reporting this @JaroslavMajera! |
Hello guys,
I have tried to use release 0.9 and preparation of project ended on:
go: bitbucket.org/ww/[email protected]: hg clone -U https://bitbucket.org/ww/goautoneg . in /home/majera/go/pkg/mod/cache/vcs/59c2185b80ea440a7c3b8c5eff3d8abb68c53dea1f20f615370c924c4150b27f: exec: "hg": executable file not found in $PATH
It works fine after Mercurial installation. It would be good if mercurial is mentioned in prerequisites.
The text was updated successfully, but these errors were encountered: