Commit Graph

121 Commits

Author SHA1 Message Date
Kovid Goyal
cf4630350f
Replace usage of deprecated utcnow function 2024-06-24 10:06:20 +05:30
Kovid Goyal
9b3bb05a3a
Drop support for 32-bit x86 prebuilt binaries
SIMDe 0.8.2 doesnt build on 32 bit and while that will likely be fixed
eventually, 32bit isn't tested in CI and generally speaking there isn't
much use for this platform anymore. I dont know of any 32-bit computers
in common use these days.

As such the overhead of maintaining these is not worth it for me.
kitty itself remains buildable on 32-bit though no guarantees for how
long that will last. kitten remains available on 32bit.
2024-06-24 07:53:15 +05:30
Kovid Goyal
c50e38a080
Run clean + debug on branch switch for publish 2024-05-08 21:28:22 +05:30
Kovid Goyal
d519807df2
... 2024-05-07 08:52:49 +05:30
Kovid Goyal
708a4c428c
Remove __pycache__ only folders when switching to master to build a release 2024-05-07 08:43:06 +05:30
Kovid Goyal
5b4ea0052c
... 2024-03-24 20:44:58 +05:30
Kovid Goyal
d9f33b19bc
... 2024-03-21 09:46:02 +05:30
Kovid Goyal
fccf8db099
GitHub returns errors on delete but actually deletes 2024-03-10 08:41:14 +05:30
Kovid Goyal
77292a16d6
Make shebangs consistent
Follow PEP 0394 and use /usr/bin/env python so that the python in the
users venv is respected. Not that the kitty python files are meant to be
executed standalone anyway, but, whatever.

Fixes #6810
2023-11-11 08:32:05 +05:30
Kovid Goyal
12db4683ac
Run local build before building docs 2023-10-31 06:18:23 +05:30
Kovid Goyal
b37e59aa35
... 2023-07-16 13:21:17 +05:30
Kovid Goyal
99790645c3
Also rebuild the HTML docs that are bundled with the kitty package 2023-06-06 14:36:17 +05:30
Kovid Goyal
f0bf780242
Fix incomplete search results on kitty docs website search
Fixes #6342
2023-06-06 14:04:45 +05:30
Kovid Goyal
8f15654985
Ensure kitty is rebuilt after publishing the nightly 2023-05-09 08:54:29 +05:30
Kovid Goyal
79c19562b5
When publishing stash untracked files as well 2023-05-07 07:42:25 +05:30
Kovid Goyal
ccdb951716
Website: Fix optimization of social preview images 2023-04-21 14:19:36 +05:30
Kovid Goyal
77e2572c5a
Optimize social preview images before publishing website 2023-04-15 21:49:32 +05:30
Kovid Goyal
e633677749
Run make debug before building static binaries
Ensures all deps are built in case make clean was run.
2023-03-19 09:51:57 +05:30
Kovid Goyal
719fe9ea04
Fix deletion of assets from nightly release on GitHub
The derived asset URL was wrong. Instead use the URL supplied in the
JSON asset description.
2023-03-02 11:28:05 +05:30
Kovid Goyal
6d73306198
Fix for GitHub releases API not returning all assets when querying the assets URL due to pagination
Use the assets list from the release result when available as it is
not paginated. Otherwise request 64 items per page which is more than
enough for our 30 odd assets
2023-03-01 21:02:25 +05:30
Kovid Goyal
cd8bb462c3
Add KITTY_VCS_REV for release builds as well 2023-02-28 19:41:28 +05:30
Kovid Goyal
b0f552c332
Fix upload to github not aborting for uploads that fail with protocol errors rather than failure responses 2023-02-24 20:34:46 +05:30
Kovid Goyal
f7f4384876
Also log start of upload 2023-02-24 20:29:51 +05:30
Kovid Goyal
096c1e328e
Improve progress printout 2023-01-22 08:41:38 +05:30
Kovid Goyal
1a44c2117b
GitHub requires a User-Agent 2023-01-22 08:00:29 +05:30
Kovid Goyal
16f767de7e
Remove unneeded code 2023-01-21 13:20:29 +05:30
Kovid Goyal
93e9332474
Use separate connections for every request to github
GitHub has been flaking out a lot of late with SSL errors when re-using
connections. Also allows us to get rid of the dependency on requests.
2023-01-21 12:56:00 +05:30
Kovid Goyal
81cc09aa61
Increase number of retries when uploading to github as it is getting flakier than ever 2023-01-20 07:11:52 +05:30
Kovid Goyal
6b8e5ea225
Rename kitty-tool to kitten
It's easier to type, and cuter.

Also, most, if not all of the TUI parts of
kitty's kittens will eventually be re-written into kitten.

The only downside I can see is that we cant tab complete kitty
anymore, but hopefully there will be less reason to run kitty
from the shell as command line tools migrate to kitten.

Meowrrrr!!!
2023-01-14 15:44:52 +05:30
Kovid Goyal
b8abdd2b50
Retry failed deletes from github 2022-12-29 12:50:16 +05:30
Kovid Goyal
8fb2c209a9
Query for existing assets and then delete 2022-11-23 07:53:14 +05:30
Kovid Goyal
4290a8f9ba
Change the Accept header to current github api recommedation 2022-11-20 07:22:00 +05:30
Kovid Goyal
c6dd6ccc68
Apparently github's deletion api is flakey, retry 2022-11-20 07:18:38 +05:30
Kovid Goyal
fd7cc66689
Increase wait timeout before retry 2022-11-20 07:15:31 +05:30
Kovid Goyal
1c19fc77f1
... 2022-11-20 06:55:22 +05:30
Kovid Goyal
4080a09748
More upload code cleanup 2022-11-19 11:31:43 +05:30
Kovid Goyal
b91eaa3b2a
Cleanup the asset upload code 2022-11-19 11:23:31 +05:30
Kovid Goyal
0757fcc451
Dont fail on github responses without JSON payloads 2022-11-18 10:16:29 +05:30
Kovid Goyal
1addfea261
Avoid an extra HTTP request to set the uploaded file description
Also delete partial asset when receiving 502 errors
2022-11-17 10:44:52 +05:30
Kovid Goyal
e5be31ee14
build in non-interactive mode while publishing 2022-11-17 10:27:53 +05:30
Kovid Goyal
281ad13f6b
Retry uploading file to Github 2022-11-17 08:45:26 +05:30
Kovid Goyal
337f1fad3f
fix double signatures 2022-11-16 13:45:27 +05:30
Kovid Goyal
780d5400cb
Use full kitty-tool exe name in github description 2022-11-15 12:01:55 +05:30
Kovid Goyal
63d7b2a80b
Shutdown macOS build VM after building 2022-11-15 11:32:34 +05:30
Kovid Goyal
e3b22a87e4
Upload static kitty-tool builds when publishing 2022-11-14 17:07:32 +05:30
Kovid Goyal
053cede581
Use git rev-parse to get nightly commit hash 2022-08-31 07:22:56 +05:30
Kovid Goyal
7d09c6b762
Link to start of actual changelog 2022-08-30 10:27:53 +05:30
Kovid Goyal
d6ffbf4f3c
Rebuild before and after publishing if a branch change was needed
Sometimes branches break things
2022-07-16 10:18:05 +05:30
Kovid Goyal
4ed413eaa7
Switch to GA2 2022-06-30 17:00:14 +05:30
Kovid Goyal
49efbf0c6e
Remove the code to generate installer.sh from installer.py 2022-04-11 21:35:59 +05:30