~sircmpwn/godocs.io

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH gddo] gddo-server: Fix error fetching stdlib

Details
Message ID
<20210621002320.16937-1-me@adnano.co>
DKIM signature
pass
Download raw message
Patch: +3 -0
Using the version "latest" caused problems when fetching the standard
library. Use the resolved latest version instead.
---
 gddo-server/fetch.go | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gddo-server/fetch.go b/gddo-server/fetch.go
index ba795b7..39a0218 100644
--- a/gddo-server/fetch.go
+++ b/gddo-server/fetch.go
@@ -93,6 +93,9 @@ func (s *Server) fetch(ctx context.Context, modulePath, version string) error {
		if err := s.db.PutModule(ctx, mod); err != nil {
			return err
		}

		// Use latest version
		version = latest
	}

	// Retrieve module source code.
-- 
2.32.0
Details
Message ID
<CC9AFALJZZW0.3RFM1XMRE8IPM@taiga>
In-Reply-To
<20210621002320.16937-1-me@adnano.co> (view parent)
DKIM signature
fail
Download raw message
DKIM signature: fail
Thanks!

To git@git.sr.ht:~sircmpwn/gddo
   22cd4e8..b136038  master -> master
Reply to thread Export thread (mbox)