Skip to content

Commit 157b856

Browse files
aclark4lifeCopilot
andcommitted
Update docs to reflect current group structure
- Remove stale mongo-python-driver-in-global references - Update Available Groups list to match current config - Generic global groups example no longer tied to a specific repo Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 23a6d6d commit 157b856

2 files changed

Lines changed: 16 additions & 14 deletions

File tree

docs/features/repo-management.rst

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,14 @@ This command will:
204204

205205
**Available Groups (Default):**
206206

207-
- ``global`` - Repos cloned into every group automatically (e.g. ``mongo-python-driver``)
208-
- ``pymongo`` - MongoDB Python driver support repositories (Specifications, drivers-evergreen-tools)
207+
- ``global`` - Reserved for repos shared across all groups (currently empty)
208+
- ``pymongo`` - MongoDB Python driver and related repositories
209209
- ``langchain`` - LangChain framework repositories
210-
- ``django`` - Django web framework repositories (Django, django-mongodb-backend)
210+
- ``django`` - Django and MongoDB backend repositories
211+
- ``django-thirdparty`` - Third-party Django packages
212+
- ``ci`` - CI tooling (drivers-evergreen-tools, drivers-github-tools, mongo-orchestration, ai-ml-pipeline-testing)
213+
- ``wagtail`` - Wagtail CMS repositories
214+
- ``demo`` - Demo applications
211215

212216
Global Groups
213217
~~~~~~~~~~~~~
@@ -235,18 +239,18 @@ Global groups are declared with ``global_groups`` under ``[repo]``:
235239
236240
[repo.groups.global]
237241
repos = [
238-
"git@github.com:mongodb/mongo-python-driver.git",
242+
"git@github.com:your-org/shared-tools.git",
239243
]
240244
241245
[repo.groups.pymongo]
242246
repos = [
247+
"git@github.com:mongodb/mongo-python-driver.git",
243248
"git@github.com:mongodb/specifications.git",
244-
"git@github.com:mongodb-labs/drivers-evergreen-tools.git",
245249
]
246250
247-
Because ``mongo-python-driver`` ends up physically inside each group directory
248-
(e.g. ``pymongo/mongo-python-driver``), ``dbx install -g pymongo`` and
249-
``dbx test mongo-python-driver`` all work without any extra flags.
251+
Because repos in the global group end up physically inside each target group
252+
directory, ``dbx install -g pymongo`` and ``dbx test shared-tools`` all work
253+
without any extra flags.
250254

251255
Flat Layout
252256
~~~~~~~~~~~

docs/introduction/overview.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,14 @@ Example configuration:
128128
[repo]
129129
base_dir = "~/Developer/mongodb"
130130
# fork_user = "your-github-username" # Optional
131-
global_groups = ["global"] # cloned into every group automatically
131+
global_groups = ["global"] # repos cloned into every group automatically
132132
133133
[repo.groups.global]
134-
repos = [
135-
"git@github.com:mongodb/mongo-python-driver.git",
136-
]
134+
repos = [] # add repos here to share them across all groups
137135
138136
[repo.groups.pymongo]
139137
repos = [
138+
"git@github.com:mongodb/mongo-python-driver.git",
140139
"git@github.com:mongodb/specifications.git",
141140
]
142141
@@ -156,8 +155,7 @@ Repositories are organized into groups. Each group:
156155

157156
Groups listed under ``global_groups`` are special: their repositories are
158157
automatically injected into every other group when cloning, so a single repo
159-
(like ``mongo-python-driver``) can be shared across all groups without
160-
maintaining multiple config entries.
158+
can be shared across all groups without maintaining multiple config entries.
161159

162160
Directory Structure
163161
-------------------

0 commit comments

Comments
 (0)