Skip to content

Allow passing git arguments to coder dotfiles #8282

Closed
@elliot-graebert-skydio

Description

@elliot-graebert-skydio

Use Case: we want to be able to have a single dotfiles repo, and allow people to create branches to try things out.

We are using Coder as a private GItHub App, and therefore it doesn't have access to clone private repos. Since it's a private GitHub app, user's can't install it on their own user. Since it's a GitHub app, it can't clone private repo's, and we don't want all of our dotfiles repo public to the internet. We also don't want user's creating a repo per user / team, as that would be thousands of junk repo's in our org. This leaves us with: what about using branches on top of an existing repo?

To fix this, we would need

func (r *RootCmd) dotfiles() *clibase.Cmd {
modified to accept git arguments.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions