profile
viewpoint
Guillaume J. Charmes creack Magic Leap Fort Lauderdale, FL https://blog.charmes.net @golang @docker @gofinance @while42-org

creack/docker-firefox 59

Firefox over Docker via VNC

creack/assumerole 4

Assume AWS role and auto refresh tokens.

creack/docker_devmapper 4

Docker statically linked with libdevmapper

creack/cpuminer 2

CPU miner for Litecoin and Bitcoin

creack/aef 1

Configuration variables management

creack/bug 1

Braille Unicode Graphics

creack/butterfly 1

Dockerfile for butterfly in-browser terminal

creack/dev 1

Docker image for golang/docker dev environment emacs/zsh/tmux

creack/docker-grpc 1

Dockerfile with protobuf, grpc and protoc-gen-go installed.

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha b7f07628ad92bafd45cd5dcfb38515692f04efda

Minor cleanup Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>

view details

push time in 7 days

push eventcreack/blog

Guillaume J. Charmes

commit sha 21ebddbc1333df23e3c6354868162e9ceb21e0d9

Bump hugo and the theme

view details

Guillaume J. Charmes

commit sha 8201386643ece3915f5d098cc0045102732fbf46

Merge pull request #1 from creack/creack/update-hugo Bump hugo and the theme

view details

push time in 15 days

delete branch creack/blog

delete branch : creack/update-hugo

delete time in 15 days

PR merged creack/blog

Bump hugo and the theme

Update hugo version and the robust theme. Add js snippet to open external link in new tabs Use new code block color scheme Minor cosmetic adjustment in articles.

+392 -190

0 comment

43 changed files

creack

pr closed time in 15 days

push eventcreack/blog

Guillaume J. Charmes

commit sha 21ebddbc1333df23e3c6354868162e9ceb21e0d9

Bump hugo and the theme

view details

push time in 15 days

push eventcreack/blog

Guillaume J. Charmes

commit sha 428c9769dba951f0a26234e5f088bfebefedfefd

Bump hugo and the theme

view details

push time in 15 days

PR opened creack/blog

Bump hugo and the theme

Update hugo version and the robust theme. Add js snippet to open external link in new tabs Use new code block color scheme Minor cosmetic adjustment in articles.

+325 -190

0 comment

42 changed files

pr created time in 15 days

create barnchcreack/blog

branch : creack/update-hugo

created branch time in 15 days

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha 71d60c54cc9d6f5b5f24502305a7a6c75045d40f

Cleanup Signed-off-by: Guillaume J. Charmes <guillaume@charmes.net>

view details

Guillaume J. Charmes

commit sha bb0365d91a336c3be1700fbc10241532dc1173be

Exclude dirs from recentf Signed-off-by: Guillaume J. Charmes <guillaume@charmes.net>

view details

Guillaume J. Charmes

commit sha cfacb0f744f0e4c7dea66a46d2fa9f630e0f6dda

fix Signed-off-by: Guillaume J. Charmes <guillaume@charmes.net>

view details

Guillaume J. Charmes

commit sha 037cfef979d0e59b493ef265d50e147193401a15

remove tpm

view details

Guillaume J. Charmes

commit sha 05ac06da1b276827db49122bd2d0a50523984467

Add ansi-color to emacs Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>

view details

Guillaume J. Charmes

commit sha df493cc59da59af6b90fd80050292ae91286fb4a

Add visual config for emacs Signed-off-by: Guillaume J. Charmes <guillaume@charmes.net>

view details

Guillaume J. Charmes

commit sha 303656c19f48411d3f6041abe032e89b13b658f3

fix powerline json format Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>

view details

Guillaume J. Charmes

commit sha 9ccc742c528ab6f24089c1716e516ed754338847

Remove fci-mode from emacs as it break company popup Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>

view details

Guillaume J. Charmes

commit sha 9ed25343ed82d6dab198d1de9aa4c8b17b64bb9e

use ~ for path in tmux conf Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>

view details

Guillaume J. Charmes

commit sha 8e6173cf8b981691070ff828e5b77739a03bc91a

Add alias for docker grpc Signed-off-by: Guillaume J. Charmes <guillaume+github@charmes.net>

view details

Guillaume J. Charmes

commit sha d44e6c808a395f884d2eaec75b6da0b8deeefb7f

Update gitignore Signed-off-by: Guillaume J. Charmes <guillaume+github@charmes.net>

view details

Guillaume J. Charmes

commit sha 8c3208a1124a56c67b35164f3a01d78d56124b9c

Cleanup git config Signed-off-by: Guillaume J. Charmes <guillaume+github@charmes.net>

view details

Guillaume J. Charmes

commit sha 86013481539218fb09e4040ca1a7d16b63dec64a

Add back mergetool Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>

view details

Guillaume J. Charmes

commit sha 13ae734935ded195ac00eabd1b8afd2b2837ecbd

Cleanup unused files Signed-off-by: Guillaume J. Charmes <guillaume+github@charmes.net>

view details

Guillaume J. Charmes

commit sha 920079cfd1a905e2302c665584b2bd1255946f2e

Add base ssh config Signed-off-by: Guillaume J. Charmes <guillaume+github@charmes.net>

view details

Guillaume J. Charmes

commit sha 76f1ed431e67c0b4deef308691d2a86a37299c5d

Cleanup bootstrap process Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>

view details

Guillaume J. Charmes

commit sha 5a3271f77c764d39434432e3881c9ccd23f3c181

Add back missing color test script Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>

view details

Guillaume J. Charmes

commit sha 48f16c294095bb31dcc835d2f22f91e67a51be16

Add snippet to fix elpa Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>

view details

Guillaume J. Charmes

commit sha 4b294b242d90e71a8fc9d12b413aa0e518bcbe32

Disable smart paren Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>

view details

Guillaume J. Charmes

commit sha a77d7bbdb32f874f6a067a187c43740632355fd0

Update git tag alias Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>

view details

push time in 20 days

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha ee0e99f1536aa3a60aae8c7ff0770777ba9cdac8

tests with js/vscode Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>

view details

Guillaume J. Charmes

commit sha b17b3d436284f47ca9c0b49c9fae97319c39fdfc

Merge branch 'creack/sept-19' of github.com:creack/dotfiles into creack/sept-19

view details

push time in 20 days

issue commentcreack/pty

Running FFmpeg Command

Are you sure you need this library? IIRC ffmeg doesn't require nor need a pty.

I'd suggest to look at https://godoc.org/os/exec instead

D-sense

comment created time in a month

created tagcreack/golang-dcind

tag1.13

Docker in Docker with golang.

created time in a month

push eventcreack/golang-dcind

Guillaume J. Charmes

commit sha 8a72b04b293f161bce9839f46070c9aea75e5c72

Bump to go 1.13 Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>

view details

push time in a month

startedzakirullin/tiny-compiler

started time in a month

startedDoctorWkt/acwj

started time in a month

pull request commentcreack/pty

Add no NOCTTY, required for when there is no controlling terminal

I managed to write a test to reproduce the issue: (#89). It works on linux but fails on darwin.

Need a bit more time to figure out a solution that would work with both ctty an noctty.

viocle-kvanek

comment created time in 2 months

PR opened creack/pty

Creack/noctty fix

Add test for regular and daemonzied pty.

+119 -3

0 comment

4 changed files

pr created time in 2 months

push eventcreack/pty

Guillaume J. Charmes

commit sha d65a232d8d82306fca0ee2b4950d01ed1394a0fa

Dont use grep for test Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>

view details

push time in 2 months

create barnchcreack/pty

branch : creack/noctty-fix

created branch time in 2 months

pull request commentcreack/pty

Add no NOCTTY, required for when there is no controlling terminal

I just tried the example on Mojave with go 1.13.1 and could indeed reproduce the issue, but the fix didn't help. I'll dig into it.

viocle-kvanek

comment created time in 2 months

IssuesEvent

issue commentcreack/pty

utils.go functions to not require os.File

This is indeed a good use case. I don't think it is wide enough to warrant a breaking change in the api, but would an additional helper work for you?

antonio-osorio

comment created time in 2 months

issue commentcreack/pty

io.Copy blocked after closing

This seems like expected behavior.

Could you describe your use case and expected result more in detail?

exec.Command.Start forks the process, resulting the the duplication of the ptmx/tty pair file discriptor. When the ptmx gets closed in the parent, it doesn't close the child one.

eudore

comment created time in 2 months

push eventcreack/pty

Tobias Kortkamp

commit sha 8ab47f72e8547a066b4ea926f4523775bc1a0ec2

Add support for freebsd/arm64 (#87)

view details

push time in 2 months

PR merged creack/pty

Add support for freebsd/arm64
+13 -0

0 comment

1 changed file

t6

pr closed time in 2 months

issue commentcreack/goselect

Please cross-reference license somewhere

Done on v0.1.1

QuLogic

comment created time in 3 months

issue closedcreack/goselect

Please cross-reference license somewhere

Because my reviewer really wants this to happen, please add a note of the license in the readme/sources.

closed time in 3 months

QuLogic

release creack/goselect

v0.1.1

released time in 3 months

created tagcreack/goselect

tagv0.1.1

select(2) implementation in Go

created time in 3 months

push eventcreack/goselect

Guillaume J. Charmes

commit sha 46bb8a62a5796b6dc262c1aded4fd9beee0aa571

Add go.mod / refer license from readme Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>

view details

push time in 3 months

issue commentcreack/goselect

Please cross-reference license somewhere

I'm not really sure to understand what you are asking. Would you have an example of an other MIT repository that would comply with the reviewer's request?

Adding MIT mentions on every file seems overkill. I can add something to the Readme, but not sure what.

QuLogic

comment created time in 3 months

create barnchcreack/grpc-web-hacker-news

branch : creack/playground2

created branch time in 3 months

create barnchcreack/grpc-web-hacker-news

branch : creack/playground

created branch time in 3 months

fork creack/grpc-web-hacker-news

An example app implementing a Hacker News reader in React with gRPC-Web and Go backend

fork in 3 months

create barnchcreack/partypher

branch : gcharmes/test

created branch time in 3 months

delete branch creack/plantuml-hot-loader

delete branch : dependabot/npm_and_yarn/eslint-utils-1.4.3

delete time in 4 months

push eventcreack/plantuml-hot-loader

dependabot[bot]

commit sha 4cdddbb42c6ecebfbb06414d7b3f7bde2a8b13ef

Bump eslint-utils from 1.4.0 to 1.4.3 Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.4.0 to 1.4.3. - [Release notes](https://github.com/mysticatea/eslint-utils/releases) - [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.4.0...v1.4.3) Signed-off-by: dependabot[bot] <support@github.com>

view details

Guillaume J. Charmes

commit sha a7cf55b564550b15d2442d85d7fad197cf68b47e

Merge pull request #1 from creack/dependabot/npm_and_yarn/eslint-utils-1.4.3 Bump eslint-utils from 1.4.0 to 1.4.3

view details

push time in 4 months

PR merged creack/plantuml-hot-loader

Bump eslint-utils from 1.4.0 to 1.4.3 dependencies

Bumps eslint-utils from 1.4.0 to 1.4.3. <details> <summary>Commits</summary>

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+8 -8

0 comment

1 changed file

dependabot[bot]

pr closed time in 4 months

issue closedcreack/pty

utils.go functions to not require os.File

Would you be open to modify the signature of the functions in utils.go:

  • InheritSize
  • SetSize
  • GetSizeFull
  • GetSize

to either accept a File-like interface:

type FileLike interface {
	Fd() uintptr
}

or to just require the the File descriptor myFile.Fd() instead of the os.File concrete struct?

func InheritSize(ptyFd, ttyFd uintptr) error {
...
}

If I am not mistaken otherwise it requires the caller to unnecessarily create a os.File object:

var myFileLike FileLike
myFile := os.NewFile(myFileLike.Fd(), "")
pty.InheritSize(myFile, myOtherFile)

closed time in 4 months

antonio-osorio

issue commentcreack/pty

utils.go functions to not require os.File

Thank you for the detail, but this seems like a very specific case, and I don't think it would justify a change in the public api / major version bump. As you mentioned, os.NewFile does the trick and I believe switching to FDs directly would confuse users.

Note that a "file-like" object which is not backed by an actual tty/pty will fail those calls with "invalid ioctl for device". Also note that InheritSize is meant to set the pty to the size of the parent terminal, i.e. os.Stdin & co. If the process is in a test runner context, those would be the tty of the runner.

Closing for now. Let me know if you have more questions.

antonio-osorio

comment created time in 4 months

issue commentcreack/pty

utils.go functions to not require os.File

In what situation do you have a fd without os.File? I had that situation when dealing with CGO, but it is a quite specific and rare situation. As those Size function can only work with a terminal fd like the one pty.Start returns, I am concerned that modifying the signature to an interface would be more confusing than helpful in most cases.

Could you share more detail about your use case?

FYI, I have another lib https://github.com/creack/termios which is lower level and more "generic" expecting fds directly

antonio-osorio

comment created time in 4 months

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha 2734cdedcfbdc0ab8deff046406cf138262abb98

Add osx support

view details

push time in 4 months

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha c9f69b103b9dab8db24cb6a79c4b9ab24d1d247f

Add osx support

view details

push time in 4 months

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha a77d7bbdb32f874f6a067a187c43740632355fd0

Update git tag alias Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>

view details

push time in 5 months

delete tag creack/dotfiles

delete tag : v0.0.3

delete time in 5 months

delete tag creack/dotfiles

delete tag : v0.0.2

delete time in 5 months

delete tag creack/dotfiles

delete tag : v0.0.1

delete time in 5 months

created tagcreack/dotfiles

tagv0.0.3

Dev environment

created time in 5 months

created tagcreack/dotfiles

tagv0.0.1

Dev environment

created time in 5 months

created tagcreack/dotfiles

tagv0.0.2

Dev environment

created time in 5 months

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha 4b294b242d90e71a8fc9d12b413aa0e518bcbe32

Disable smart paren Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>

view details

push time in 5 months

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha 48f16c294095bb31dcc835d2f22f91e67a51be16

Add snippet to fix elpa Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>

view details

push time in 5 months

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha 5a3271f77c764d39434432e3881c9ccd23f3c181

Add back missing color test script Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>

view details

push time in 5 months

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha 76f1ed431e67c0b4deef308691d2a86a37299c5d

Cleanup bootstrap process Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>

view details

push time in 5 months

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha 920079cfd1a905e2302c665584b2bd1255946f2e

Add base ssh config Signed-off-by: Guillaume J. Charmes <guillaume+github@charmes.net>

view details

push time in 5 months

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha 13ae734935ded195ac00eabd1b8afd2b2837ecbd

Cleanup unused files Signed-off-by: Guillaume J. Charmes <guillaume+github@charmes.net>

view details

push time in 5 months

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha 86013481539218fb09e4040ca1a7d16b63dec64a

Add back mergetool Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>

view details

push time in 5 months

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha d44e6c808a395f884d2eaec75b6da0b8deeefb7f

Update gitignore Signed-off-by: Guillaume J. Charmes <guillaume+github@charmes.net>

view details

Guillaume J. Charmes

commit sha 8c3208a1124a56c67b35164f3a01d78d56124b9c

Cleanup git config Signed-off-by: Guillaume J. Charmes <guillaume+github@charmes.net>

view details

push time in 5 months

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha 8e6173cf8b981691070ff828e5b77739a03bc91a

Add alias for docker grpc Signed-off-by: Guillaume J. Charmes <guillaume+github@charmes.net>

view details

push time in 5 months

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha 303656c19f48411d3f6041abe032e89b13b658f3

fix powerline json format Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>

view details

Guillaume J. Charmes

commit sha 9ccc742c528ab6f24089c1716e516ed754338847

Remove fci-mode from emacs as it break company popup Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>

view details

Guillaume J. Charmes

commit sha 9ed25343ed82d6dab198d1de9aa4c8b17b64bb9e

use ~ for path in tmux conf Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>

view details

push time in 5 months

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha df493cc59da59af6b90fd80050292ae91286fb4a

Add visual config for emacs Signed-off-by: Guillaume J. Charmes <guillaume@charmes.net>

view details

push time in 5 months

push eventcreack/docker-grpc

Guillaume J. Charmes

commit sha 07c80e1bb98b40c5bd94d356cbfb81eb6be8e851

Update readme Signed-off-by: Guillaume J. Charmes <guillaume@charmes.net>

view details

push time in 5 months

push eventcreack/docker-grpc

Guillaume J. Charmes

commit sha b6ea2a8ddfc8739020262b84b3e7213e58c18b33

Initial commit Signed-off-by: Guillaume J. Charmes <guillaume@charmes.net>

view details

push time in 5 months

create barnchcreack/docker-grpc

branch : master

created branch time in 5 months

created repositorycreack/docker-grpc

Dockerfile with protobuf, grpc and protoc-gen-go installed.

created time in 5 months

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha 05ac06da1b276827db49122bd2d0a50523984467

Add ansi-color to emacs Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>

view details

push time in 5 months

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha 037cfef979d0e59b493ef265d50e147193401a15

remove tpm

view details

push time in 5 months

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha cfacb0f744f0e4c7dea66a46d2fa9f630e0f6dda

fix Signed-off-by: Guillaume J. Charmes <guillaume@charmes.net>

view details

push time in 5 months

push eventcreack/dotfiles

Guillaume J. Charmes

commit sha bb0365d91a336c3be1700fbc10241532dc1173be

Exclude dirs from recentf Signed-off-by: Guillaume J. Charmes <guillaume@charmes.net>

view details

push time in 5 months

create barnchcreack/dotfiles

branch : creack/sept-19

created branch time in 5 months

startedjwiegley/use-package

started time in 5 months

release creack/pty

v1.1.9

released time in 5 months

created tagcreack/pty

tagv1.1.9

PTY interface for Go

created time in 5 months

push eventcreack/pty

Guillaume J. Charmes

commit sha 3a6a957789163cacdfe0e291617a1c8e80612c11

Bump go 1.13 Signed-off-by: Guillaume J. Charmes <gcharmes@magicleap.com>

view details

push time in 5 months

issue commentopen-telemetry/opentelemetry-service

build failing due to go-mod

Manually updating the go.mod to use prometheus' commit 52e0504f83ea6ef05b29c458d9b89173df355da7 (i.e., skipping go mod's semver check) did the trick and I have been able to build using 1.13. Thanks!

joeblew99

comment created time in 5 months

issue commentopen-telemetry/opentelemetry-service

build failing due to go-mod

@brian-brazil the "go" way to update a vendor version is to use go get, however, getting prometheus.

https://github.com/golang/go/wiki/Modules#daily-workflow

When needed, more specific versions of dependencies can be chosen with commands such as go get foo@v1.2.3, go get foo@master (foo@tip with mercurial), go get foo@e3702bed2, or by editing go.mod directly.

After manually updated go.mod, it still fails but with a different error:

go build
go: finding github.com/prometheus/prometheus v2.12.0
go: finding github.com/prometheus/prometheus v2.12.0
go: errors parsing go.mod:
/home/guillaume/go/src/github.com/census-instrumentation/opencensus-service/go.mod:36: require github.com/prometheus/prometheus: version "v2.12.0" invalid: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v2
joeblew99

comment created time in 5 months

issue commentopen-telemetry/opentelemetry-service

build failing due to go-mod

Dockerfile to reproduce:

FROM golang:1.13

RUN apt-get update && apt-get install -y bzr

RUN GO111MODULE=on go run github.com/open-telemetry/opentelemetry-service/cmd/otelsvc

Working on golang:1.12.

The same issue happens with opencensus service. Seems like the issue is that the project depends on internal packages not meant to be imported from prometheus. prometheus/prometheus#6048

joeblew99

comment created time in 5 months

issue commentprometheus/prometheus

Go get failing with go1.13

Thanks you, i'll move it there then. Still sad that bumping go version breaks the build.. I wish the go1compat contract would extend to the toochain

creack

comment created time in 5 months

issue commentprometheus/prometheus

Go get failing with go1.13

That's the great thing with go mod, when it fails, you can't know why ^^

go mod why github.com/prometheus/prometheus
go: github.com/prometheus/prometheus@v0.0.0-20190131111325-62e591f928dd requires
        k8s.io/client-go@v2.0.0-alpha.0.0.20181121191925-a47917edff34+incompatible: invalid pseudo-version: preceding tag (v2.0.0-alpha.0) not found

But even if we remove opencensus from the issue, imho, prometheus should still be go gettable.

creack

comment created time in 5 months

issue openedprometheus/prometheus

Go get failing with go1.13

Hello,

It seems like go get with prometheus is broken on 1.13, which breaks opencensus service (and I suspect anything else depending on prometheus)

prometheus v2.5.0 seems to be working with go1.13, the issue starts at v2.6.0.

Dockerfile to reproduce:

FROM golang:1.13

RUN apt-get update && apt-get install -y bzr

ENV GO111MODULE=on

RUN go get -d github.com/prometheus/prometheus@v2.12.0
RUN go get -d github.com/census-instrumentation/opencensus-service@0.1.11

When using golang:1.12, it works fine.

Error when trying to get promethus directly:

go: finding github.com/prometheus/prometheus v2.12.0
go: finding github.com v2.12.0
go: finding github.com/prometheus v2.12.0
go: finding github.com/prometheus/prometheus v2.12.0
go get github.com/prometheus/prometheus@v2.12.0: github.com/prometheus/prometheus@v2.12.0: invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v2

Error when trying to get opencensus:

go: finding github.com 0.1.11
go: finding github.com/census-instrumentation/opencensus-service 0.1.11
go: finding github.com/census-instrumentation 0.1.11
go: downloading github.com/census-instrumentation/opencensus-service v0.1.1-0.20190905224837-f37ba81b2506
go: extracting github.com/census-instrumentation/opencensus-service v0.1.1-0.20190905224837-f37ba81b2506
go get: github.com/census-instrumentation/opencensus-service@v0.1.1-0.20190905224837-f37ba81b2506 requires
        github.com/prometheus/prometheus@v0.0.0-20190131111325-62e591f928dd requires
        k8s.io/client-go@v2.0.0-alpha.0.0.20181121191925-a47917edff34+incompatible: invalid pseudo-version: preceding tag (v2.0.0-alpha.0) not found

created time in 5 months

startedcommanderx16/x16-emulator

started time in 5 months

more