You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
### Added
11
11
12
12
- Added config option `settings.reindexInterval` and `settings.resyncInterval` to control how often the index should be re-indexed and re-synced. ([#134](https://github.com/sourcebot-dev/sourcebot/pull/134))
13
+
- Added `exclude.size` to the GitHub config to allow excluding repositories by size. ([#137](https://github.com/sourcebot-dev/sourcebot/pull/137))
* List of repository topics to exclude when syncing. Repositories that match one of the provided `topics` will be excluded from syncing. Glob patterns are supported.
90
90
*/
91
91
topics?: string[];
92
+
/**
93
+
* Exclude repositories based on their disk usage. Note: the disk usage is calculated by GitHub and may not reflect the actual disk usage when cloned.
94
+
*/
95
+
size?: {
96
+
/**
97
+
* Minimum repository size (in bytes) to sync (inclusive). Repositories less than this size will be excluded from syncing.
98
+
*/
99
+
min?: number;
100
+
/**
101
+
* Maximum repository size (in bytes) to sync (inclusive). Repositories greater than this size will be excluded from syncing.
Copy file name to clipboardExpand all lines: schemas/v2/index.json
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -171,6 +171,21 @@
171
171
"examples": [
172
172
["tests", "ci"]
173
173
]
174
+
},
175
+
"size": {
176
+
"type": "object",
177
+
"description": "Exclude repositories based on their disk usage. Note: the disk usage is calculated by GitHub and may not reflect the actual disk usage when cloned.",
178
+
"properties": {
179
+
"min": {
180
+
"type": "integer",
181
+
"description": "Minimum repository size (in bytes) to sync (inclusive). Repositories less than this size will be excluded from syncing."
182
+
},
183
+
"max": {
184
+
"type": "integer",
185
+
"description": "Maximum repository size (in bytes) to sync (inclusive). Repositories greater than this size will be excluded from syncing."
0 commit comments