profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/lox/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Lachlan Donald lox Melbourne, Australia http://lachlan.me Formerly @buildkite, @99designs. Golang developer, llama and whisky enthusiast.

99designs/aws-vault 5419

A vault for securely storing and accessing AWS credentials in development environments

99designs/keyring 269

Go library providing a uniform interface across a range of secure credential stores

99designs/iamy 215

A cli tool for importing and exporting AWS IAM configuration to YAML files

buildkite/sockguard 142

A proxy for docker.sock that enforces access control and isolated privileges

buildkite/lifecycled 123

A daemon for responding to AWS AutoScaling Lifecycle Hooks

lox/alfred-github-jump 123

An alfred plugin to quickly jump to a github repository page

lox/alfred-timezone 8

An alfred workflow for searching timezones

lox/bats-mock 6

Mocking/stubbing library for BATS (Bash Automated Testing System)

lox/babelcoin 4

A generic api in golang to access and interoperate between various cryptocurrency exchanges

lox/apt-proxy 3

A caching proxy specifically for apt package caching

issue commentdocker/compose

docker-compose.yml ignores "scale:" option for version 3

This change makes no sense to me. Why remove the ability to configure in the compose file what scale value to use and require a command line argument? It seems counter to the purpose of docker-compose which is configuration as code vs command line arguments.

beephotography

comment created time in 3 days

delete branch lox/hermit-packages

delete branch : lachlan/titlecase-os-names-for-goreleaser

delete time in 4 days

pull request commentcashapp/hermit-packages

Use titlecase os names for goreleaser

I am absolutely perplexed why I was getting download failures yesterday, but I am not today. Sorry for the false alarm @alecthomas

lox

comment created time in 4 days

push eventlox/hermit-packages

Lachlan Donald

commit sha b37cd723026bdf4f0979017b215eea25c61690c1

Use strip to remove nested dirs in gh archive

view details

push time in 4 days

pull request commentcashapp/hermit-packages

Use titlecase os names for goreleaser

GitHub release URLs are case insensitive so this shouldn't be necessary?

Hmmm. That is quite perplexing then. Let me do some testing.

lox

comment created time in 5 days

push eventlox/hermit-packages

Lachlan Donald

commit sha 95bd1c08711c8f04d34b82ade9bcf8d0ed2f653b

Use amd64 for gh linux package

view details

push time in 5 days

PR opened cashapp/hermit-packages

Add a package for github's cli (gh)

This adds a package for GitHub's official CLI tool: https://github.com/cli/cli

+17 -0

0 comment

1 changed file

pr created time in 5 days

create barnchlox/hermit-packages

branch : lachlan/add-github-cli-package

created branch time in 5 days

Pull request review commentcashapp/hermit-packages

Use titlecase os names for goreleaser

 description = "go release builder"-test = "goreleaser --version"-binaries = ["goreleaser"]+test        = "goreleaser --version"+binaries    = ["goreleaser"] -version "0.159.0" "0.182.1" {

I wasn't sure why 0.159.0 is in the block with auto-version 🤔

lox

comment created time in 5 days

PullRequestReviewEvent

PR opened cashapp/hermit-packages

Use titlecase os names for goreleaser

Goreleaser packages use Darwin and Linux.

Might it be worth adding an xos with titlecase os?

+13 -14

0 comment

1 changed file

pr created time in 5 days

create barnchlox/hermit-packages

branch : lachlan/titlecase-os-names-for-goreleaser

created branch time in 5 days

create barnchlox/hermit

branch : lachlan/titlecase-os-names-for-goreleaser

created branch time in 5 days

fork lox/hermit

Hermit manages isolated, self-bootstrapping sets of tools in software projects.

https://cashapp.github.io/hermit

fork in 5 days

issue openedcashapp/hermit

Panic when manifest has no version stanzas

During testing I commented out all versions from the goreleaser package and ran hermit install goreleaser and got the following panic:

panic: runtime error: index out of range [-1] [recovered]
	panic: runtime error: index out of range [-1] [recovered]
	panic: runtime error: index out of range [-1]

goroutine 1 [running]:
github.com/cashapp/hermit/app.Main.func3()
	/home/runner/work/hermit/hermit/app/main.go:143 +0x59
panic({0x151ae00, 0xc0000e2c00})
	/opt/hostedtoolcache/go/1.17.1/x64/src/runtime/panic.go:1038 +0x215
github.com/alecthomas/kong.catch(0xc0001937c8)
	/home/runner/go/pkg/mod/github.com/alecthomas/kong@v0.2.18-0.20210713035501-d1a818b5a1a8/kong.go:407 +0xa5
panic({0x151ae00, 0xc0000e2c00})
	/opt/hostedtoolcache/go/1.17.1/x64/src/runtime/panic.go:1038 +0x215
github.com/cashapp/hermit/manifest.newPackage(0xc00030d8b0, {{0xc0000988d0, 0x26}, {0xc000240090, 0x24}, {0x154925a, 0x6}, {0x15481f5, 0x5}}, {0x1602d28, ...})
	/home/runner/work/hermit/hermit/manifest/resolver.go:349 +0x35eb
github.com/cashapp/hermit/manifest.(*Resolver).Resolve(0xc0002d6c80, 0x0, {0x1602d28, 0xc00009adc0})
	/home/runner/work/hermit/hermit/manifest/resolver.go:292 +0x185
github.com/cashapp/hermit.(*Env).Resolve(0xc00009adc0, 0xc00028e39c, {0x1602d28, 0xc00009adc0}, 0x0)
	/home/runner/work/hermit/hermit/env.go:586 +0xd8
github.com/cashapp/hermit.(*Env).ResolveWithDeps(0xc00028e39c, 0xe, {0xc0000a2618, 0x1, 0x1}, {0x1602d28, 0xc00009adc0}, 0x0)
	/home/runner/work/hermit/hermit/env.go:1061 +0x2b7
github.com/cashapp/hermit/app.(*installCmd).Run(0xc0000b6180, 0xc00021e180, 0x1, 0x1)
	/home/runner/work/hermit/hermit/app/install_cmd.go:69 +0x5eb
reflect.Value.call({0x14cd4c0, 0xc0000b6180, 0x60}, {0x1547580, 0x4}, {0xc0002d3200, 0x3, 0x30})
	/opt/hostedtoolcache/go/1.17.1/x64/src/reflect/value.go:543 +0x814
reflect.Value.Call({0x14cd4c0, 0xc0000b6180, 0x9}, {0xc0002d3200, 0x3, 0x4})
	/opt/hostedtoolcache/go/1.17.1/x64/src/reflect/value.go:339 +0xc5
github.com/alecthomas/kong.callMethod({0x1546f6e, 0x3}, {0x14dbb40, 0xc0000b6180, 0x3}, {0x14cd4c0, 0xc0000b6180, 0x100000001439e25}, 0x0)
	/home/runner/go/pkg/mod/github.com/alecthomas/kong@v0.2.18-0.20210713035501-d1a818b5a1a8/callbacks.go:71 +0x4e7
github.com/alecthomas/kong.(*Context).RunNode(0xc0000a0300, 0xc0000c1420, {0xc000193bb8, 0x7, 0x7})
	/home/runner/go/pkg/mod/github.com/alecthomas/kong@v0.2.18-0.20210713035501-d1a818b5a1a8/context.go:725 +0x40b
github.com/alecthomas/kong.(*Context).Run(0x152d6a0, {0xc000193bb8, 0x7, 0x7})
	/home/runner/go/pkg/mod/github.com/alecthomas/kong@v0.2.18-0.20210713035501-d1a818b5a1a8/context.go:742 +0xa5
github.com/cashapp/hermit/app.Main({{0xc0002149d0, 0x10}, 0x2, {0xc00021c340, 0x3a}, {0x1931960, 0xe, 0xe}, 0x1573d58, {{0x0, ...}, ...}, ...})
	/home/runner/work/hermit/hermit/app/main.go:249 +0x1a8f
main.main()
	/home/runner/work/hermit/hermit/cmd/hermit/main.go:34 +0x2b8

P.S. Looks like it might be worth building with -trimpaths?

created time in 5 days

startedbuildkite/terraform-provider-buildkite

started time in 5 days

push eventlox/go-vcr

Marin Atanasov Nikolov

commit sha dd1bc740014d441c053d3dc9119ba533871c7f0c

Merge pull request #66 from lox/replay-fails-when-cassette-doesnt-exist Replaying mode fails without a cassette

view details

push time in 7 days

startednestybox/sysbox

started time in 8 days

issue openeddocker/compose

Docker Compose v2 doesn't appear to respect runtime service param

<!-- If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.

If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.

For more information about reporting issues, see https://github.com/docker/compose-cli/blob/master/CONTRIBUTING.md#reporting-other-issues


GENERAL SUPPORT INFORMATION

The GitHub issue tracker is for bug reports and feature requests. General support can be found at the following locations:

  • Docker Support Forums - https://forums.docker.com
  • Docker Community Slack - https://dockr.ly/community
  • Post a question on StackOverflow, using the Docker tag

BUG REPORT INFORMATION

Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST -->

Description

Setting a runtime param in a service (for instance sysbox-runc) doesn't appear to be respected by docker compose:

---
version: "3.9"

services:
  test:
    image: ubuntu:latest
    runtime: sysbox-runc

With docker-compose 1.28.6, build 5db8d86f, when I run the above and inspect the container:

"Runtime": "sysbox-runc"

When I run with docker compose v2:

"Runtime": "runc",

<!-- Briefly describe the problem you are having in a few paragraphs. -->

Steps to reproduce the issue: 1. 2. 3.

Describe the results you received:

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

Output of docker compose version:

Docker Compose version v2.0.1

Output of docker info:

Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Build with BuildKit (Docker Inc., v0.6.1-docker)
  compose: Docker Compose (Docker Inc., v2.0.1)
  scan: Docker Scan (Docker Inc., v0.8.0)

Server:
 Containers: 204
  Running: 30
  Paused: 0
  Stopped: 174
 Images: 109
 Server Version: 20.10.8
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc sysbox-runc io.containerd.runc.v2 io.containerd.runtime.v1.linux
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: e25210fe30a0a703442421b0f60afac609f950a3
 runc version: v1.0.1-0-g4144b63
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 5.4.0-81-generic
 Operating System: Ubuntu 20.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 31GiB
 Name: media-nuc
 ID: DD2Y:ONFV:7QJD:BUPX:IGB5:AISG:MGIY:XTFA:5QAP:P3XY:2YTR:JA4O
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support

Additional environment details:

created time in 9 days

push eventlox/ecsy

Lachlan Donald

commit sha 083c5578b342f8faf29f76b9f7461ee29ad99a28

Ditch windows from releases

view details

Lachlan Donald

commit sha 32c211d6fa67e81434c4f308a005fcec3b6a2926

Update README

view details

push time in 13 days

release lox/ecsy

v1.5.1

released time in 13 days

created taglox/ecsy

tagv1.5.1

A command-line tool for provisioning and managing AWS ECS clusters

created time in 13 days

push eventlox/ecsy

Lachlan Donald

commit sha 91e96f30fd4da2f2c2fd9617c2fd0598fb593f2f

Move from govendor to go modules (hello modern go)

view details

Lachlan Donald

commit sha f9c41b2b73317459a46a23258bc38e26bf0e3267

Update Makefile and releasing to use goreleaser

view details

push time in 13 days

push eventlox/go-vcr

Lachlan Donald

commit sha b82a1bc9ea297df14a0c0dcc2be9466a98f5e002

Replaying mode fails without a cassette

view details

push time in 15 days

PR opened dnaeon/go-vcr

Replaying mode fails without a cassette

Replaying mode now fails with cassette.ErrCassetteNotFound when the cassette isn't found.

Fixes #65

+45 -24

0 comment

3 changed files

pr created time in 15 days

create barnchlox/go-vcr

branch : replay-fails-when-cassette-doesnt-exist

created branch time in 15 days

created repositorylox/media-nuc-config

created time in 22 days

issue commentdnaeon/go-vcr

recorder.ModeReplaying not working as expected

Actually, just reading the code, isn't ModeReplayingOrRecording the mode where it replays and throws an error if it the cassette doesn't exist? Surely ModeReplaying should ONLY reply and throw an ErrInteractionNotFound if not found?

whitehat101

comment created time in 24 days

issue commentdnaeon/go-vcr

recorder.ModeReplaying not working as expected

@dnaeon I'm happy to help with a PR for this, I'd like ReplayOnly too. Should I be making changes in the v2 directory?

whitehat101

comment created time in 24 days

fork lox/go-vcr

Record and replay your HTTP interactions for fast, deterministic and accurate tests

fork in 25 days