Commit Graph

3 Commits

Author SHA256 Message Date
Jeff Kowalczyk
ee8dfe9ac8 Accepting request 1090974 from home:jfkw:branches:devel:languages:go
Update to version 0.12.2. The initial version was intended to be 0.12.2, so revise the changelog to reflect.

There is an uncommon situation in the upstream repo where tags gopls/v0.12.1 and gopls/v0.12.2 point to the same commit without explanation. This is causing some confusion for tar_scm which tries to select the earlier gopls/v0.12.2. Fix the tarball to reflect latest tagged version, this corner case is unlikely to happen often.

OBS-URL: https://build.opensuse.org/request/show/1090974
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=3
2023-06-05 19:12:00 +00:00
Jeff Kowalczyk
cf9f404b0b Accepting request 1090970 from home:jfkw:branches:devel:languages:go
- Refactor tarball unpacked sources layout with gopls/ as subdir.
  This allows us to include the LICENSE file at the upstream
  monorepo repository root. The changes required for the subdir
  layout are perhaps excessive for including just one metadata
  file, but serves as a good exercise for packaging other utilities
  under Go x/tools monorepo.
  * Upstream uses monorepo x/tools/ with gopls/ and others in subdirs
  * Upstream monorepo shared tools/LICENSE file in repository root dir
  * Move param subdir gopls usage from tar_scm to go_modules
  * tar_scm param include gopls and LICENSE
  * tar_scm param drop extraneous param exclude .git
  * Creates gopls-0.12.0.tar.gz unpacked layout gopls-0.12.0/gopls/go.mod
  * New layout requires moving LICENSE and vendor/ to subdir in %prep
  * New layout requires change to subdir in %build
  * New layout requires use path to subdir in %check, %install, %files

OBS-URL: https://build.opensuse.org/request/show/1090970
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=2
2023-06-05 17:51:32 +00:00
Jeff Kowalczyk
c70a37fc15 Accepting request 1090947 from home:jfkw:branches:devel:languages:go
New package gopls version 0.12.2 is the official Go language server developed by the Go team.

OBS-URL: https://build.opensuse.org/request/show/1090947
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=1
2023-06-05 14:59:21 +00:00