[opensuse-go] Determining the proper name for a Go package
Hi! I have run into the situation multiple times where I wasn't sure what name to use for a Go package. In particular, I'm working on packaging Google's cloud packages for Go, one of them being the Google Cloud storage package [1]. The source is hosted on Github at [2]. I have created a package called golang-github-googleapis-google-cloud-go [3] which contains the storage module as a sub-module. However, this doesn't work and the other packages which depend on the Google Cloud storage module don't build - even when adding golang-github-googleapis-google-cloud-go to their BuildRequires. My question therefore is: What is the correct naming and packaging schmeme in this case? Do I create a separate package for each sub-module using the cloud.google.com/go/storage naming scheme? Or do I create a single golang-github-googleapis-google-cloud-go package and just add all the sub-modules it provides to "Provides:" in the spec file? Thanks, Adrian
[1] https://cloud.google.com/go/storage [2] https://github.com/googleapis/google-cloud-go [3] https://build.opensuse.org/package/show/home:glaubitz:branches:devel:languag... -- To unsubscribe, e-mail: opensuse-go+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-go+owner@opensuse.org
participants (1)
-
John Paul Adrian Glaubitz