-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Add Zig Unofficial package #8958
Conversation
Signed-off-by: Aiden Fox Ivey <[email protected]>
Maybe I should make a semver name for it? I'm unclear whether I should just do an increment of what the original project did or whether I should start from scratch. |
Since you only made your pull request yesterday, I suggest we give the current maintainers some time to review and merge them. That aside, we'd prefer to have only a single version of a package to centralize efforts and to reduce confusion and unnecessary choices for users, so even when the package is unmaintained, we'd rather replace it with a maintained version. Edit: Also, yes, a semantic version tag is a requirement. |
Absolutely! I'm in no rush at all.
Yeah, I spoke with the creator of Zig, Andrew Kelley, about this and he said that currently the repository is unmaintained. I asked about helping maintain it and his logic was that I should try to run a maintained fork for it for ~1 year and then it could be upstreamed into the original project. I absolutely sympathize with the desire to not have duplication - I just also don't want people using Sublime and Zig to go without some reasonable bug fixes and/or support for new features. If you've got an alternate idea here, I would totally be open to it.
Sounds good, I'll add one. I'll just increment on what the forked project did. |
Oh hang on - I mistook which maintainers you were referring to. There are no maintainers for the main project. I'll close that PR since I am under the impression it cannot be read. |
Looking through the other comments on the PRs from that repo, there's been no response for several years at this point. Also no maintainer. |
@aidenfoxivey Have you considered talking to someone on the Zig core team about becoming a maintainer of the sublime-zig-language package? After all, the repository is controlled by the @ziglang organization. |
Here's the IRC logs of me talking to Andrew Kelley.
I would like to just maintain the original package, but I don't think that andrewrk is cool with it yet, so I want to respect his wishes. |
Hm, this is kind of an annoying situation because there is supposedly no maintainer for the repo (not even capable of merging PRs, if I understood that correctly) but at the same time they don't feel comfortable with replacing the PC entry with the fork's – or at least this it what it seems like. In PC land, there isn't really a connotion of an "official" package. Anyone can submit a package for a language, whether it's the authors/maintainers of said language or a third party, and the only way you'd find out about that would be a sentence in the readme, a specific disclaimer in the name or description, or by checking the package's homepage/repostory and recognizing the author or organization the repository is in. From our perspective as the maintainers of the Package Control Channel, having a fork next to the mainline Zig package provides little benefit because all the people currently using the Zig package (7k total installs, not total users) will not go out of their way to look into an alternative/fork package if they don't have significant issues with the status quo and thus your fork will most likely not be used by more than a handful of people. Any new users looking to install a package to support their work with Zig will be prompted with the option to install "Zig" or "Zig Unofficial" and in order to find out which package they'd want to install, they basically need to diff the fork and the main package on their own – unless there was a paragraph dedicated to the differences in the fork's README (which I recommend regardless). In my opinion, it would of course be easiest if someone were to merge your pull requests so that the effort could be centralized while also having this "official" flair about it. Adding another maintainer/collaborator would of course also be fine, but I am aware that this requires a certain level of trust. Perhaps it would be easiest if you laid out the future plans for your fork, i.e. bug fixes or additions to the package, and clarified with @andrewrk (pinging for awareness) whether this is also something they are interested in so that both sides can have expectations about the development in the near future and can choose one of the more beneficial approaches (PRs or collaborator). If that turns out to be not a viable option for now, then we (PC maintainers) will also allow the fork to exist on the channel, but please be aware that we try to avoid theses situations if possible for the aforementioned reasons. |
I'm conflicted about whether it's a good idea to add this package myself then. I don't want to increase the complexity for the users, but I also want to fix some of the issues listed in the original repo's issue tracker. There's also some new features like syntax highlighting for I'll be totally fine if it's deemed best to avoid including my package for now. |
My goal here is to fix problems rather than creating problems, which I fear I may have done. |
If there are no developments here in the next 2 weeks, I'd say we can merge this for now and improve the situation later. |
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.
Automated testing result: SUCCESS
Repo link: Zig Unofficial
Packages added:
- Zig Unofficial
Processing package "Zig Unofficial"
- All checks passed
Looking at your package itself:
|
I think those should be fixed in https://github.com/aidenfoxivey/sublime-zig-unofficial/releases/tag/v1.5.2. |
Also fixed the claim about it supporting all versions of ST to just 3 and up. |
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.
Automated testing result: WARNING
Repo link: Zig Unofficial
Results help
Packages added:
- Zig Unofficial
Processing package "Zig Unofficial"
- WARNING: '.sublime-syntax' support has been added in build 3092 and there is no '.tmLanguage' fallback file
- File: Syntaxes/Zon.sublime-syntax
- WARNING: '.sublime-syntax' support has been added in build 3092 and there is no '.tmLanguage' fallback file
- File: Syntaxes/Zig.sublime-syntax
Co-authored-by: FichteFoll <[email protected]>
Alright, should (possibly?) be sorted. |
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.
Automated testing result: WARNING
Repo link: ZigUnofficial
Results help
Packages added:
- ZigUnofficial
Processing package "ZigUnofficial"
- WARNING: '.sublime-syntax' support has been added in build 3092 and there is no '.tmLanguage' fallback file
- File: Syntaxes/Zon.sublime-syntax
- WARNING: '.sublime-syntax' support has been added in build 3092 and there is no '.tmLanguage' fallback file
- File: Syntaxes/Zig.sublime-syntax
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.
Automated testing result: SUCCESS
Repo link: ZigUnofficial
Packages added:
- ZigUnofficial
Processing package "ZigUnofficial"
- All checks passed
This is a fork of https://github.com/ziglang/sublime-zig-language/. They haven't merged anything in 3 years from what I can tell. It currently lacks support for
.zon
, which is a default syntax created byzig init
. If there's anything I've missed here, I'd very much welcome pointers.Cheers,
Aiden