Build in obs directly from this repo #20
Reference in New Issue
Block a user
Delete Branch "jzerebecki/autogits:build-directly"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This will allow direct feedback to pull requests.
vendor/src.opensuse.org/autogits/*should not be part of the vendor tarball. That's just these sources. Can they be excluded?That problem also exists in the current packaging. obs-go-modules can not currently exclude. I'm not sure about go itself, maybe there is a way to rearrange stuff so go can be clever, my guess is it can't? Or maybe one needs to set some environment variable, so go recognizes the situation?
When I try to vendor the other modules I also get errors, not sure if some of them are related, probably not:
Doh. Go allows multiple binaries in a module. So you can structure it so the root contains one go module then the common code will not be copied during vendoring. Downside is that outside imports of the common code will copy all the code for the binaries.
Do you want to go that way?
The mocks are generated and are only used for tests. In the submodirectories, you need to run
go generateand the mocks will appear.This means it's fine they are not there.
Lets close this in favour of the #23
Pull request closed