On 1/15/21 10:58 PM, Jeff Kowalczyk wrote:
Yes, OBS is a fully offline environment and go tools assume online access, defaulting to the community proxy. The OBS source service obs-service-go_modules [1] installed locally will automate the process for offline use. The hugo package [2] provides a _service and RPM .spec usage example.> As of go1.14+, go build mode "-mod=vendor" is set automatically when directory /vendor is detected.
Many thanks for your response. I tried to adapt my package accordingly [1]. But using obs-service-go_modules does not work for me: $ osc service disabledrun merge: origin/galene-0.2 - not something we can merge Already up to date. 5f7455af5bf78c837008e80fe4b67809badce3c0 Identical target file galene-0.2.tar.xz already exists, skipping.. INFO:obs-service-go_modules:Autodetecting archive since no archive param provided in _service ERROR:obs-service-go_modules:Archive autodetection found no matching archive under /home/michael/Proj/obs/home:stroeder:network/galene Aborting: service call failed: /usr/lib/obs/service/go_modules --outdir /home/michael/Proj/obs/home:stroeder:network/galene/tmprbxt1c5s.go_modules.service Ciao, Michael. [1] https://build.opensuse.org/package/show/home:stroeder:network/galene