-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
tabby-terminal: init at 1.0.216 #368048
base: master
Are you sure you want to change the base?
tabby-terminal: init at 1.0.216 #368048
Conversation
mkdir -p http-cache/v${electronVersion} | ||
cp $electronHeaders http-cache/v${electronVersion}/node-v${electronVersion}-headers.tar.gz | ||
cp $electronHeadersSHA http-cache/v${electronVersion}/SHASUMS256.txt | ||
http-server http-cache & |
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 don't think this is necessary. From a glance, electron-rebuild
supports the --dist-url
option which should make it avoid downloading Electron headers all the same.
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 tried to set the --dist-url
to a file url, but it throws an error saying that it only supports HTTP(S)
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.
Ah, so it wants a web URL... Never mind then, maybe someone else would have a better idea
@pluiedev, I fixed most of the changes you suggested. |
Please join all the commits but the first. The first is ready. |
After 3 hours of patching the dependencies, I finally got it to run with electron 32 🥳 🎊. @pluiedev, mind reviewing it again? |
Looks like tabby just released a new version. It doesn't build because the patch files need to be changed. I have started a PR upstream to use electron 32. Until then, lets just stick to 1.0.215. |
Looks like Python 3.13 is breaking a lot of packages. |
I agree with @pluiedev; patching this many dependencies didn't sit right with me either. I already opened a PR on the upstream repo. If it doesn't get resolved within ~2 weeks, then we could use this as a temporary solution. |
That's the way. Maintaining packages that need patch updating at each bump and can't be patched with Electron packages in general are also more hacky to package than normal. |
Ideally, tho, all packages should be updateable by only using the update script system but as life is not a strawberry we can't count on this every time. |
@lucasew, I got the changes merged into upstream. Should we wait for a new release (possibly could take months) or just build from that commit and version it |
As it's an application and no other PR depends on it i'd prefer to wait for a release. You can write it in a way that now it points to latest version with this patch merged but setup the update script to update on releases instead of commits (nix-update-script or gitUpdater) so it can be properly bot-updated on the next release and see if someone takes a look and merges or play it safe and wait for the release then bump the PR. It depends on your sisyphus tolerance. |
The maintainer of the project said that it will take a relatively long time to push an update as v1.0.216 brought a lot of problems with SSH, and that he needs to fix them before pushing a new release. Therefore, I think I'll go with option #1 🙂 |
@lucasew, if you have time, could you help me write an update script for this package? It looks to be considerably complicated as we have to manually update all the hashes in |
For npm, at least, there is a bug where it doesn't update the package-lock.json hashes in some packages and some upstreams didn't care enough about the issue to fix, or let us fix it, then I setup a tool to update them at fetch time. Basically a postFetch in src. IDK how it would look for yarn tho. How do you generate this JSON file? I found a way to run a specific script on a update script, which I use in flet-client-flutter to update the json lockfile. |
Currently, I manually create the JSON file. The only difficulty I am having is obtaining the proper hashes for each of the "submodules" (not git) of the app. For context, my script loops through all the "submodules" and creates a Yarn cache for them, sourcing the hash from |
@lucasew, is it possible to write the update script in a language other than bash, or will it add too much complexity? I don't think that this update script can be accomplished using a limited language like bash. |
Custom update scripts are kinda tricky to make. BTW nix-update is made with python AFAIK. |
Added Tabby, an electron-based terminal emulator that proclaims itself "A terminal for a more modern age".
Homepage: https://tabby.dev
Fixes #233509
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.