-
Notifications
You must be signed in to change notification settings - Fork 31
➡️ Migrate all language packages #399
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
➡️ Migrate all language packages #399
Conversation
To make atom-community#386 reviewable, that pr will be separated into many simpler prs. This is one of them. This first commit does the following: - update package.json - update package-lock.json using `./script/build` which also seems to update `apm/package-lock.json` - update packages/README.md - clone all language packages. Specifically: - `mkdir packages/language-<all of them>` - `cd packages/about` - For all languages: - `cd ../language-<>` - `git clone language-<>` - Move all files except `.git` from `language-<>/language-<>` to `language-<>` - delete `language-<>/language-<>` Since at first I accidentally updated `dependencies` then `packageDependencies`, it appears that since the versions of language-c, language-css, language-go, language-javascript, and language-sass don't match, `dependencies` was reset for those versions. [Those repos just happen to be precisely the ones that have tree-sitter v19](https://github.com/icecream17/atom-update-backlog/blob/main/Languages.md), (sans language-sass), which [currently breaks atom](atom#22129). So even though their repos are now in `packages`, **I've decided to not use them**. This is done by updating `packageDependencies` only for non-breaking languages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the work. Now, this is easier to manage.
Could you run script/lint --fix?
|
Are the test failures relevant to these changes? |
|
Maybe add waitsForPromise(() => atom.packages.activatePackage(path.join(__dirname, 'fixtures', 'package-with-snippets')));for fixing CI. |
|
Or it could be atom/snippets@2de9091 I guess it's just some sort of flaky test; I wonder happens if you try my suggestion |
|
We can't add this here. I forked the repository. @ThatXliner do you want to try your fix? |
aminya
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will merge this regardless of the tests because they seem unrelated. Since this is not merging to master, it is fine.
... previously v19 tree-sitter language packages. Continuation of atom-community#399 (atom-community@477b075) but where the packages that would've broke Atom are now updated Another link: atom-community#403 (comment)
... previously v19 tree-sitter language packages. Continuation of #399 (477b075) but where the packages that would've broke Atom are now updated Another link: #403 (comment)
... previously v19 tree-sitter language packages. Continuation of #399 (477b075) but where the packages that would've broke Atom are now updated Another link: #403 (comment)
... previously v19 tree-sitter language packages. Continuation of #399 (477b075) but where the packages that would've broke Atom are now updated Another link: #403 (comment)
... previously v19 tree-sitter language packages. Continuation of #399 (477b075) but where the packages that would've broke Atom are now updated Another link: #403 (comment)
To make #386 reviewable, that pr will be separated into many simpler prs. This is one of them.
The first commit does the following:
./script/buildwhich also seems to updateapm/package-lock.jsonI've added these repos to
packagesbut I'm not actually updating the package.json for these packages:Consequently they're unused. See the first commit for an explanation, but basically they're at tree-sitter v19 which currently breaks atom.
Possible changes
A second commit or rebase could take care of these issues:
This would've/will be so useful:
This saves the commit history of the language-packages:
#386 (comment)
https://discord.com/channels/737254137690980372/809982257468801065/988156409977917510