Golang subversion vcs

177 views
Skip to first unread message

Luke Mauldin

unread,
Dec 6, 2021, 9:46:14 AM12/6/21
to golang-nuts
I see the latest (Go 1.17.X) releases support Subversion modules but I cannot figure out how to get the `go get` command to pull in a tagged subversion module. Subversion repo layout
- tags
  - contracts
    - configcontracts
      - v2.8.1
- trunk
  - contracts
     - configcontracts
        - go.mod file with module {HOSTNAME}/svn/testrepo/trunk/contracts/configcontracts


I tried multiple different module definitions in the go.mod file along with different go get commands.  I was able to get go get to work with an "invalid version" where the go.mod file lists:
XXXXXX/svn/testrepo/tags/contracts/configcontracts.svn v0.0.0-XXXXX
But obviously that isn't using versions (ie. v2.8.1) like Git.  Is it possible that there is a bug in the go get VCS for Subversion that I need to support or does someone else have other recommendations?
Reply all
Reply to author
Forward
0 new messages