mirror of https://github.com/coder/code-server.git
chore: update Code to 1.71.1 (#5558)
* chore: update Code to 1.71.1 * chore: refresh patches * docs: add quilt refresh tip
This commit is contained in:
parent
309a3b2c6e
commit
7ecfb95569
|
@ -111,6 +111,15 @@ re-apply the patches.
|
||||||
6. Commit the updated submodule and patches to `code-server`.
|
6. Commit the updated submodule and patches to `code-server`.
|
||||||
7. Open a PR.
|
7. Open a PR.
|
||||||
|
|
||||||
|
Tip: if you're certain all patches are applied correctly and you simply need to
|
||||||
|
refresh, you can use this trick:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
while quilt push; do quilt refresh; done
|
||||||
|
```
|
||||||
|
|
||||||
|
[Source](https://raphaelhertzog.com/2012/08/08/how-to-use-quilt-to-manage-patches-in-debian-packages/)
|
||||||
|
|
||||||
### Patching Code
|
### Patching Code
|
||||||
|
|
||||||
0. You can go through the patch stack with `quilt push` and `quilt pop`.
|
0. You can go through the patch stack with `quilt push` and `quilt pop`.
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 784b0177c56c607789f9638da7b6bf3230d47a8c
|
Subproject commit a44493aed3c9ccdec18a4bc00869403736b29c64
|
|
@ -68,7 +68,7 @@ Index: code-server/lib/vscode/src/vs/workbench/browser/client.ts
|
||||||
constructor (
|
constructor (
|
||||||
@ILogService private logService: ILogService,
|
@ILogService private logService: ILogService,
|
||||||
@INotificationService private notificationService: INotificationService,
|
@INotificationService private notificationService: INotificationService,
|
||||||
@@ -82,6 +86,10 @@ export class CodeServerClient extends Di
|
@@ -81,6 +85,10 @@ export class CodeServerClient extends Di
|
||||||
if (this.productService.updateEndpoint) {
|
if (this.productService.updateEndpoint) {
|
||||||
this.checkUpdates(this.productService.updateEndpoint)
|
this.checkUpdates(this.productService.updateEndpoint)
|
||||||
}
|
}
|
||||||
|
@ -79,7 +79,7 @@ Index: code-server/lib/vscode/src/vs/workbench/browser/client.ts
|
||||||
}
|
}
|
||||||
|
|
||||||
private checkUpdates(updateEndpoint: string) {
|
private checkUpdates(updateEndpoint: string) {
|
||||||
@@ -133,4 +141,25 @@ export class CodeServerClient extends Di
|
@@ -132,4 +140,25 @@ export class CodeServerClient extends Di
|
||||||
|
|
||||||
updateLoop();
|
updateLoop();
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@ Index: code-server/lib/vscode/src/vs/workbench/browser/client.ts
|
||||||
===================================================================
|
===================================================================
|
||||||
--- code-server.orig/lib/vscode/src/vs/workbench/browser/client.ts
|
--- code-server.orig/lib/vscode/src/vs/workbench/browser/client.ts
|
||||||
+++ code-server/lib/vscode/src/vs/workbench/browser/client.ts
|
+++ code-server/lib/vscode/src/vs/workbench/browser/client.ts
|
||||||
@@ -90,6 +90,10 @@ export class CodeServerClient extends Di
|
@@ -89,6 +89,10 @@ export class CodeServerClient extends Di
|
||||||
if (this.productService.logoutEndpoint) {
|
if (this.productService.logoutEndpoint) {
|
||||||
this.addLogoutCommand(this.productService.logoutEndpoint);
|
this.addLogoutCommand(this.productService.logoutEndpoint);
|
||||||
}
|
}
|
||||||
|
@ -47,7 +47,7 @@ Index: code-server/lib/vscode/src/vs/workbench/browser/client.ts
|
||||||
}
|
}
|
||||||
|
|
||||||
private checkUpdates(updateEndpoint: string) {
|
private checkUpdates(updateEndpoint: string) {
|
||||||
@@ -162,4 +166,17 @@ export class CodeServerClient extends Di
|
@@ -161,4 +165,17 @@ export class CodeServerClient extends Di
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,7 @@ Index: code-server/lib/vscode/src/vs/workbench/browser/client.ts
|
||||||
) {
|
) {
|
||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
@@ -72,5 +78,59 @@ export class CodeServerClient extends Di
|
@@ -71,5 +77,59 @@ export class CodeServerClient extends Di
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue