Skip to content

Commit

Permalink
Tap bundle and services in Codespaces
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
issyl0 committed Aug 18, 2024
1 parent 2374e98 commit 8b3be30
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@
"onCreateCommand": ".devcontainer/on-create-command.sh",

"customizations": {
"codespaces": {
"repositories": {
"Homebrew/homebrew-bundle": {
"permissions": {
"contents": "write"
},
"Homebrew/homebrew-services": {

This comment has been minimized.

Copy link
@noahsettersten

noahsettersten Aug 30, 2024

Hello @issyl0! It looks like the Homebrew/homebrew-services repository may be nested inside of Homebrew/homebrew-bundle. Is that intentional?

This comment has been minimized.

Copy link
@issyl0

issyl0 Aug 30, 2024

Author Member

Oops, not intentional. Thank you. I've made a PR to fix it.

This comment has been minimized.

Copy link
@noahsettersten

noahsettersten Aug 30, 2024

Oh, that's great! 🎉

"permissions": {
"contents": "write"
}
}
}
}
},
"vscode": {
// Installing all necessary extensions for vscode
// Taken from: .vscode/extensions.json
Expand Down
3 changes: 3 additions & 0 deletions .devcontainer/on-create-command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ brew cleanup

# actually tap homebrew/core, no longer done by default
brew tap --force homebrew/core
# tap some other repos so codespaces can be used for developing multiple taps
brew tap homebrew/bundle
brew tap homebrew/services

# install some useful development things
sudo apt-get update
Expand Down

0 comments on commit 8b3be30

Please sign in to comment.