Skip to content

VS Code 1.48.0 #1982

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 25, 2020
Merged

VS Code 1.48.0 #1982

merged 1 commit into from
Aug 25, 2020

Conversation

code-asher
Copy link
Member

No description provided.

@nhooyr
Copy link
Contributor

nhooyr commented Aug 20, 2020

Thoughts on merging into a dev branch and then merging dev into master when we release?

Would avoid confusion re the version in package.json and documentation updates for things that haven't made it into master.

Copy link
Contributor

@nhooyr nhooyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the future we should try to make smaller direct commits.

It's hard to review when there's little context on every change made. And I fully disagree with my previous comments on this matter, we need a git subtree. This is soooo confusing to review. I can't tell if the changes are made by you or in the patch already without looking all the way over to the left.

@@ -1,7 +1,7 @@
{
"name": "code-server",
"license": "MIT",
"version": "3.4.1",
"version": "3.5.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

"description": "Dependencies shared by all extensions",
+ "dependencies_comment": "Move rimraf to dependencies because it is used in the postinstall script.",
"dependencies": {
+ "rimraf": "^3.0.2",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we not need our rimraf patch now?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do, but they no longer install it here and rely on the package in the root so I moved it to dependencies in the root.

import { isEqual } from 'vs/base/common/resources';
import { isStandalone } from 'vs/base/browser/browser';
import { localize } from 'vs/nls';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need to add this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was added by VS Code so it's part of the context in the patch.

@nhooyr
Copy link
Contributor

nhooyr commented Aug 20, 2020

Lack of a git subtree is also contributing to massive commits to the patch.

@code-asher
Copy link
Member Author

dev branch sounds like a really good idea to me especially in terms of the documentation.

I'm definitely in favor of something other than a patch. I'm not 100% convinced about the subtree route vs something like a fork + submodule (doesn't a subtree bring all of VS Code's commits into our repo?) but anything has got to be better than this.

@fonix232
Copy link

@code-asher how about smaller patchfiles instead of one massive? The buildscript could be easily modified to take a folder instead of a file, and then the typical Linux style filename-based ordering could be used (so you'd end up with files like 0_vscode_base.patch, 10_fix_permissions.patch, 50_replace_whatever.patch etc. - obviously these are just made up names).

As for branch management, I'd recommend looking into git-flow - I've been using it for years at various companies (even some Microsoft Partner companies!), and so far it's the best approach at a sensible branch naming strategy. master is always the latest released version, develop is master + latest changes, and all actual work takes place on feature/*, bugfix/* and similarly named branches (while git-flow itself only defines a handful of branch base names, one can easily extend it to cover their use cases). Then whenever you want to make a release, you branch from the tip of develop into release/vX.X.X branches (e.g. in this case it would be release/v3.5.0, merge master into this branch, then merge the whole thing back into master (which then triggers the CI to make a release type build).

@code-asher
Copy link
Member Author

Smaller patchfiles do seem like would help reviewability, and maybe even with conflict resolution. I think many of the core issues remain though so I'd be happier without any patches. 😄

@code-asher code-asher merged commit e237589 into master Aug 25, 2020
@code-asher code-asher deleted the vscode-1.48.0 branch August 25, 2020 18:06
@nhooyr
Copy link
Contributor

nhooyr commented Aug 30, 2020

Lets hash it out in #1982 #1587

@nhooyr
Copy link
Contributor

nhooyr commented Aug 30, 2020

Whoops, meant to link #1587

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants