Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to obtain mod version #155

Merged
merged 1 commit into from
Nov 12, 2023
Merged

unable to obtain mod version #155

merged 1 commit into from
Nov 12, 2023

Conversation

kevincobain2000
Copy link
Owner

╰─$ go run cmd/gobrew/main.go use mod                                                                                                                                                                      
==> [Info] Fetching remote versions

==> [Info] Downloading version: mod
==> [Info] Downloading from: https://go.dev/dl/gomod.darwin-arm64.tar.gz
==> [Info] Downloading to: /Users/pulkit.kathuria/.gobrew/downloads
==> [Info] Downloading version failed: https://go.dev/dl/gomod.darwin-arm64.tar.gz returned status code 404
==> [Error]: Please check connectivity to url: https://go.dev/dl/gomod.darwin-arm64.tar.gz
                                                                   ↑ Fixes

@kevincobain2000
Copy link
Owner Author

Sorry let me merge without review, our other CI has been failing.

@kevincobain2000 kevincobain2000 merged commit f83b038 into master Nov 12, 2023
13 checks passed
Copy link

Summary CoverItUp: kevincobain2000/gobrew

Type master feature/mod-bug
coverage 66.2 % 66.2 %
go-binary-size 5.9k KB 5.8k KB -
go-mod-dependencies 28 28
go-sec-issues 6 6
build-time 5 sec 3 sec -
unit-test-run-time 128 sec 107 sec -

Generated by Cover It Up.
View full report https://coveritup.app/kevincobain2000/gobrew

@juev
Copy link
Collaborator

juev commented Nov 12, 2023

What test data can be used for verification?

On which repository did you conduct tests?

@kevincobain2000
Copy link
Owner Author

repo: actually testing right now
Screenshot 2023-11-12 at 20 30 36

@kevincobain2000 kevincobain2000 deleted the feature/mod-bug branch November 12, 2023 11:32
@kevincobain2000
Copy link
Owner Author

Before and After Update

╭─pulkit.kathuria@JP-GCJKVGQK0G^M ~/git/aketemite ‹master●›
╰─$ cat go.mod|grep go|head -1
go 1.21.4
╭─pulkit.kathuria@JP-GCJKVGQK0G^M ~/git/aketemite ‹master●›
╰─$ gobrew use mod
==> [Info] Fetching remote versions

==> [Info] Downloading version: mod
==> [Info] Downloading from: https://go.dev/dl/gomod.darwin-arm64.tar.gz
==> [Info] Downloading to: /Users/pulkit.kathuria/.gobrew/downloads
==> [Info] Downloading version failed: https://go.dev/dl/gomod.darwin-arm64.tar.gz returned status code 404
==> [Error]: Please check connectivity to url: https://go.dev/dl/gomod.darwin-arm64.tar.gz
╭─pulkit.kathuria@JP-GCJKVGQK0G^M ~/git/aketemite ‹master●›
╰─$ gobrew self-update                                                                                                                                                                                      1 ↵
Downloading 100% |█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| (6.0/6.0 MB, 1.8 MB/s)
Upgrade successful
╭─pulkit.kathuria@JP-GCJKVGQK0G^M ~/git/aketemite ‹master●›
╰─$ gobrew use mod
==> [Info] Version: 1.21.4 exists
==> [Info] Changing go version to: 1.21.4
==> [Success] Changed go version to: 1.21.4
╭─pulkit.kathuria@JP-GCJKVGQK0G^M ~/git/aketemite ‹master●›
╰─$ gobrew version
[INFO] gobrew version is 1.9.7

@juev
Copy link
Collaborator

juev commented Nov 12, 2023

Cool, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants