-
Notifications
You must be signed in to change notification settings - Fork 345
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
Rearrange Go modules #4686
Comments
@astefanutti what do you think ? |
Be mindful of the relationship that each module have with each other. I made some experiments in the past [1] and I was not able to have a full working version. I am okey with the proposal, we cannot have a repo only for API IMO. During development make sure to solve all the release process which are now in charge to sync the versioning among the modules. [1] #4086 (comment) |
Fix apache#4686 Conflict fixed manually (cherry picked from commit apache/camel-k@3a410b691)
Given the recent problem with the go module in camel-k 2.0, I see there is a problem related to the way the camel-k modules are defined and published,
There are the following modules
go modules documentation
https://github.com/golang/go/wiki/Modules#faqs--multi-module-repositories
These additional modules were created as a way to let the camel api to be imported independent of the camel-k-operator packages, but we haven't seen other projects importing the camel apis specifically.
Also, the other modules are sub-directories of the main go module, which seems to be not a good practice.
In name of making the project easier to maintain and release I propose to remove the modules from the subtree and have only the root module.
Note that any other project importing camel go apis, using the main module as
github.com/apache/camel-k/v2
The text was updated successfully, but these errors were encountered: