Hello!
Being relatively new to packaging and for Go in particular, I'm looking
into the possibilities of packaging dnscrypt-proxy [1] for openSUSE.
The software is written in Go and depends on a bunch of other projects
(approximately 25), that are included by upstream in the source code in
a directory called "vendor".
A small amount of these "dependencies" are already packaged in
devel:languages:go, but mostly they are not directly available for openSUSE.
Reading in the archive of this list for the months recently passed, do I
understand correctly, that it is not necessary anymore to create a
single package for each project the target package needs?
A package for openSUSE is now allowed to include and use all
repositories "vendored" by and in the upstream source code?
(I'm not sure what "vendored" means exactly here.)
What to do with dependencies, that are included in the source code, but
also directly packaged for openSUSE?
Which one to use/prefer in the build process?
If the license differs between upstream and some of the included
dependencies, which one should be mentioned in the spec file?
All of them, only the license for the package the url points to?
Do the naming conventions still apply, if all dependencies are resolved
"inside" of the source package?
Should the resulting package therefore be called
"golang-github-jedisct1-dnscrypt-proxy", or, if it is not tied to
devel:languages:go, simply "dnscrypt-proxy2" or "dnscrypt-proxy-go" (so
does Archlinux)?
Are both later mentioned naming options (those without golang-...)
restricted to the resulting binary package?
If someone can answer at least some of these questions, thank you very much!
Please direct me to the right channel, if my questions are misplaced.
All the best,
cunix
[1] https://github.com/jedisct1/dnscrypt-proxy
--
To unsubscribe, e-mail: opensuse-go+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-go+owner(a)opensuse.org
Hello,
I noticed today some of my Go packages's build have failed in OBS with the following error:
[ 32s] + go install -s -v -p 4 -x -buildmode=pie github.com/prometheus/promu
[ 32s] flag provided but not defined: -s
Example:
https://build.opensuse.org/package/live_build_log/systemsmanagement:sumafor…
Any ideas about what is wrong here?
Thanks in advance,
--
Silvio Moioli
SUSE Manager Development Team
--
To unsubscribe, e-mail: opensuse-go+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-go+owner(a)opensuse.org