-
Notifications
You must be signed in to change notification settings - Fork 85
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
Update go mod ref #2
Conversation
Hey @jbutlerdev, hcp-link is still MPL 2.0, couldn't we just use it directly? |
That's correct, however since the module is hosted within the |
Oh it's in the vault repo... Nevermind then, I assumed it's pointing to the separate repo, my bad. You're right, we should keep it as is. |
Alright, to test the branch I've added
to go.mod, this allows me to progress yet build fails on a compile step with
Looks like
Causing the incompatibility. Any idea how to fix this short of forking |
Good call on the replace statement. I'll give this a shot today and get back to you |
Long-term if we needed to fork some of these plugins we would need to potentially work with OpenTofu to see if they use the same plugins or not, and what org the repo would fall under. |
Make sure all commits use |
@naphelps that was my original thinking as well (see Besides, in this particular case it's not quite possible because the dependency is transitive: |
I think using the replace operation and forking the plugins makes sense. They're external (in the sense that they're in a separate repository), but OpenBao (once built) views them as builtin plugins, not "external" plugins (which are a separate concept referring to plugin built as a separate executable, e.g., like Forking allows us to version them all consistently along with the main executable. We could choose to pull these plugins in-tree or do the opposite and separate out all built-in plugins to be separate repositories. |
Do we have a known good list of plugins that need to be additionally forked? |
@naphelps said:
This should be correct:
Only one I'm not really sure about is |
Should be easy enough to comment them out for initial fork though, then take them up one-by-one. |
@jbutlerdev Could you go back and amend your commits to add the signoff flag? |
Aren't they signed off? They all show as |
@jbutlerdev There is signing via GPG key, which you have done. Then, there is sign off, which requires adding the additional parameter during your commits. If you open each individual commit it should have a "signed-off-by: ..." line. We need both. If you scroll down the checks below, the DCO bot checks for this specifically. i.e.: 0b1971e |
Signed-off-by: Jeremiah Butler <jeremiah.butler@ibm.com>
Signed-off-by: Jeremiah Butler <jeremiah.butler@ibm.com>
9b7d763
to
5747941
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed some of the lf-edge/openbao repo renames to openbao/openbao. 43 occurrences.
Signed-off-by: Jeremiah Butler <jeremiah.butler@ibm.com>
Signed-off-by: Jeremiah Butler <jeremiah.butler@ibm.com>
Signed-off-by: Jeremiah Butler <jeremiah.butler@ibm.com>
Signed-off-by: Jeremiah Butler <jeremiah.butler@ibm.com>
49f2eef
to
bf0d05a
Compare
Signed-off-by: Jeremiah Butler <jeremiah.butler@ibm.com>
Signed-off-by: Jeremiah Butler <jeremiah.butler@ibm.com>
bf0d05a
to
60f034c
Compare
Signed-off-by: Jeremiah Butler <jeremiah.butler@ibm.com>
Signed-off-by: Jeremiah Butler <jeremiah.butler@ibm.com>
Update
hashicorp/vault
references to point tolf-edge/openbao
This will currently fail to build as the
github.com/lf-edge/openbao/vault/hcp_link/proto
needs to exist with the updatedgo.mod
file before thego.sum
file can be properly updated