16 Commits

Author SHA1 Message Date
Mike McQuaid
9076213cad
devcontainer/on-create-command: fix permissions harder.
This `chmod -t` seems to fix things on other Codespaces so let's try it
here too.
2025-03-19 08:57:13 +00:00
Mike McQuaid
bdeca530ff
Migrate Homebrew/bundle to Homebrew/brew
Co-authored-by: Bo Anderson <mail@boanderson.me>
2025-03-19 06:47:01 +00:00
Mike McQuaid
084ddca27a
Cleanup and fix homebrew-services migration 2025-03-13 15:22:01 +00:00
Michka Popoff
496ece235a
Drop Ubuntu 18.04 devcontainer
Ubuntu 18.04 is EOL now, so stop building devcontainers for it.

Also adjust some dates in the documentation.
2024-09-24 08:35:58 +01:00
Issy Long
8b3be30a83
Tap bundle and services in Codespaces
- Yes, I wanted to do more Homebrew stuff from Codespaces on my iPad
  because I couldn't be bothered to get out of bed and walk downstairs
  to get my laptop.
- For that I needed my `Homebrew/brew` branch and `brew services`
  tapped, with sufficient permissions for write access so I could
  push commits.
- So I thought I'd do `bundle` as well as it seemed like another
  "would maybe use Codespaces for this" tap.
2024-08-18 22:19:36 +00:00
Bo Anderson
34d7a12f6b
devcontainer: fix creation error 2024-02-19 18:41:24 +00:00
Bo Anderson
3b1c171184
Further split up Gemfile into groups 2023-09-27 17:33:44 +01:00
Mike McQuaid
d984ce06f2
Improve Codespaces behaviour
- ensure that homebrew/core is always tapped
- make RuboCop stop complaining about permissions
2023-01-25 16:05:02 +00:00
Mike McQuaid
a92c9eed82
style: check more shell scripts.
We were missing a few here so add them. Also, fix the changes in
`on-create-command.sh` that this catches.
2022-11-09 17:29:38 +00:00
Mike McQuaid
709bb23d49
devcontainer/on-create-command: fix prebuild handling.
`CODESPACES_PREBUILD_TOKEN` has been unset as it breaks other things.
2022-11-09 15:38:40 +00:00
Mike McQuaid
59f4b5226a
tests: test on Ubuntu 18.04. 2022-11-09 14:45:43 +00:00
Mike McQuaid
bc4274fda0
devcontainer/on-create-command: fix Ubuntu 18.04, add debugging.
Add some debugging information to be able to customise the prebuild/not
cases for this script.

Also, handle `zsh-autosuggestions` not being available for Ubuntu 18.04.
2022-11-07 16:36:57 +00:00
Issy Long
0a950a4c23
.devcontainer/on-create-command: Add openssh-server (for gh cs ssh)
- My Codespaces workflow sometimes involves `gh cs ssh` for a terminal
  and tmux and vim (for better or for worse).
- I tried this on a `Homebrew/brew` Codespace and got this error. But it felt
  weird following that instruction to the letter and bloating the Docker image
  which we by default keep minimal.

```
❯ gh cs ssh
? Choose codespace: Homebrew/brew (master): redesigned spork
error getting ssh server details: failed to start server:
Please check if an SSH server is installed in the container.
If the docker image being used for the codespace does not have an SSH server,
install it in your Dockerfile or, for codespaces that use Debian-based images,
you can add the following to your devcontainer.json:

"features": {
    "ghcr.io/devcontainers/features/sshd:1": {
        "version": "latest"
    }
}
```
2022-11-01 22:59:24 +00:00
Mike McQuaid
f977ff4892
devcontainer/on-create-command: install Sorbet.
This doesn't take any longer and nice to have it cached.
2022-11-01 15:49:10 +00:00
Mike McQuaid
d8940d3cae
devcontainer/on-create-command: do more stuff.
- fix permissions
- install more gems/formulae
- remove system shellcheck that won't be used
2022-10-31 16:58:58 +00:00
Mike McQuaid
dd39b2be64
Add VSCode devcontainers
Should be useful for getting a development environment setup quickly.
2022-10-27 09:18:49 +01:00