Skip to content

Commit

Permalink
collab: Seed GitHub users from static data (zed-industries#18301)
Browse files Browse the repository at this point in the history
This PR updates the collab seed script to seed the GitHub users from a
set of static data.

This removes the need to hit the GitHub API to retrieve these users.

Release Notes:

- N/A
  • Loading branch information
maxdeviant authored Sep 24, 2024
1 parent 692590b commit d2ffad0
Show file tree
Hide file tree
Showing 4 changed files with 630 additions and 67 deletions.
3 changes: 1 addition & 2 deletions crates/collab/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ To use a different set of admin users, create `crates/collab/seed.json`.
```json
{
"admins": ["yourgithubhere"],
"channels": ["zed"],
"number_of_users": 20
"channels": ["zed"]
}
```

Expand Down
3 changes: 1 addition & 2 deletions crates/collab/seed.default.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@
"JosephTLyons",
"rgbkrk"
],
"channels": ["zed"],
"number_of_users": 100
"channels": ["zed"]
}
Loading

0 comments on commit d2ffad0

Please sign in to comment.