Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit d7cc02e

Browse files
authored
doc: Update architecture diagram to point to main (#28327)
* doc: Update architecture diagram to point to main Many of the links were pointing to `master` branches for the repos which are very behind their `main` counterparts. Exceptions were Zoekt and deploy-sourcegraph repos * doc: Update one more dated link to syntect server
1 parent d7c368f commit d7cc02e

File tree

4 files changed

+25
-25
lines changed

4 files changed

+25
-25
lines changed

doc/dev/background-information/architecture/architecture.dot

+11-11
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ digraph architecture {
6262
shape="box3d"
6363
label="frontend"
6464
fillcolor="#7e78dc"
65-
URL="https://github.com/sourcegraph/sourcegraph/tree/master/cmd/frontend"
65+
URL="https://github.com/sourcegraph/sourcegraph/tree/main/cmd/frontend"
6666
]
6767

6868
worker [
6969
label="worker"
7070
fillcolor="#22ffff"
71-
URL="https://github.com/sourcegraph/sourcegraph/tree/master/enterprise/cmd/worker"
71+
URL="https://github.com/sourcegraph/sourcegraph/tree/main/enterprise/cmd/worker"
7272
]
7373

7474
subgraph cluster_internal_services {
@@ -101,12 +101,12 @@ digraph architecture {
101101
label="searcher"
102102
shape="box3d"
103103
fillcolor="#e2a8fd"
104-
URL="https://github.com/sourcegraph/sourcegraph/tree/master/cmd/searcher"
104+
URL="https://github.com/sourcegraph/sourcegraph/tree/main/cmd/searcher"
105105
]
106106
query_runner [
107107
label="query runner"
108108
fillcolor="#aaffff"
109-
URL="https://github.com/sourcegraph/sourcegraph/tree/master/cmd/query-runner"
109+
URL="https://github.com/sourcegraph/sourcegraph/tree/main/cmd/query-runner"
110110
]
111111
}
112112

@@ -118,40 +118,40 @@ digraph architecture {
118118
label="precise-code-intel-worker"
119119
shape="box3d"
120120
fillcolor="#eac1c1"
121-
URL="https://github.com/sourcegraph/sourcegraph/tree/master/enterprise/cmd/precise-code-intel-worker"
121+
URL="https://github.com/sourcegraph/sourcegraph/tree/main/enterprise/cmd/precise-code-intel-worker"
122122
]
123123

124124
symbols [
125125
label="symbols"
126126
shape="box3d"
127127
fillcolor="#c1eaea"
128-
URL="https://github.com/sourcegraph/sourcegraph/tree/master/cmd/symbols"
128+
URL="https://github.com/sourcegraph/sourcegraph/tree/main/cmd/symbols"
129129
]
130130
}
131131

132132
gitserver [
133133
label="gitserver"
134134
fillcolor="#cd5c5c"
135135
shape="box3d"
136-
URL="https://github.com/sourcegraph/sourcegraph/tree/master/cmd/gitserver"
136+
URL="https://github.com/sourcegraph/sourcegraph/tree/main/cmd/gitserver"
137137
]
138138

139139
repo_updater [
140140
label="repo updater"
141141
fillcolor="#05a167"
142-
URL="https://github.com/sourcegraph/sourcegraph/tree/master/cmd/repo-updater"
142+
URL="https://github.com/sourcegraph/sourcegraph/tree/main/cmd/repo-updater"
143143
]
144144

145145
github_proxy [
146146
label="github proxy"
147147
fillcolor="#aaaaff"
148-
URL="https://github.com/sourcegraph/sourcegraph/tree/master/cmd/github-proxy"
148+
URL="https://github.com/sourcegraph/sourcegraph/tree/main/cmd/github-proxy"
149149
]
150150

151151
syntect_server [
152152
label="syntect\nserver"
153153
fillcolor="#cc0085"
154-
URL="https://github.com/sourcegraph/syntect_server"
154+
URL="https://github.com/sourcegraph/sourcegraph/tree/main/docker-images/syntax-highlighter"
155155
]
156156
}
157157
}
@@ -181,7 +181,7 @@ digraph architecture {
181181
label="executor"
182182
shape="box3d"
183183
fillcolor="#0dc9b6"
184-
URL="https://github.com/sourcegraph/sourcegraph/tree/master/enterprise/cmd/executor"
184+
URL="https://github.com/sourcegraph/sourcegraph/tree/main/enterprise/cmd/executor"
185185
]
186186
}
187187

doc/dev/background-information/architecture/architecture.svg

+12-12
Loading

doc/dev/background-information/architecture/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Sourcegraph also has a fast search path for code that isn't indexed yet, or for
4848

4949
- [searcher](https://github.com/sourcegraph/sourcegraph/blob/main/cmd/searcher/README.md) implements the non-indexed search.
5050

51-
Syntax highlighting for any code view, including search results, is provided by [Syntect server](https://sourcegraph.com/github.com/sourcegraph/syntect_server).
51+
Syntax highlighting for any code view, including search results, is provided by [Syntect server](https://github.com/sourcegraph/sourcegraph/tree/main/docker-images/syntax-highlighter).
5252

5353
If you want to learn more about search:
5454

doc/dev/background-information/architecture/introducing_a_new_service.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ When introducing a new service/container we pay the cost of:
3030

3131
- Introducing and maintaining [its Kubernetes YAML](https://github.com/sourcegraph/deploy-sourcegraph/tree/master/base).
3232
- Adding it to our [docker-compose deployments](https://github.com/sourcegraph/deploy-sourcegraph-docker/pull/38).
33-
- Integrating it as a raw process in [the single-container `sourcegraph/server` deployment mode](https://github.com/sourcegraph/sourcegraph/tree/master/cmd/server).
33+
- Integrating it as a raw process in [the single-container `sourcegraph/server` deployment mode](https://github.com/sourcegraph/sourcegraph/tree/main/cmd/server).
3434
- Documenting clearly [how it scales](https://docs.sourcegraph.com/admin/install/kubernetes/scale) alongside other services for cluster deployments.
3535
- Updating our [architecture diagram](https://docs.sourcegraph.com/dev/background-information/architecture).
3636
- Documenting the service itself in general and how site admins should manage and debug it (these needs to be done regardless of it being a new service, but if it is a new service there are additional aspects to consider.)

0 commit comments

Comments
 (0)