-
Notifications
You must be signed in to change notification settings - Fork 17
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
manage the common code base between zos3 and zos4 #2452
Comments
@iwanbk input here is appreciated |
For now, let me answer with my knowledge from two months ago. I can see that Why we can't do the same with the Some ways that came in my mind
pkg/net/network
pkg/net/netlight
pkg/net/internal/common
pkg/net/network
pkg/net/netlight I believe that this last method already considered by the team, but met some difficulties because it is not as simple as i described above. |
To not blocking things, i think we can improve current way while waiting for the new way. I pick a random PR to Some improvement idea:
|
I think we can start by separating the common code that is exactly the same in zos3 and zos4 in a separate repo and we call it for example zosbase, after that it will be clear how shoulf we manage the differences |
I suggest to do it before the separation. So, i can see at least three paths:
Could you tell the reason why we want it in separate repos? If we have zos5, will it become another repo as well? |
I want to do the separation because inside the network itself we copied some files in both dirs so it is better if we cleaned that up first so we have a minimal changes clear and clean then we do the interfacing if possible because now if we did the interfacing we will be maintaining duplicate code also but if we did the separation most of the changes will be done in one place which is the base code and even if we didn't do the interfacing small changes will be required in the networking/machine stuff |
OK, More questions:
|
see the discussion here threefoldtech/zos4#11
The text was updated successfully, but these errors were encountered: