Commit Graph

124 Commits

Author SHA1 Message Date
a-kenji
d01df9cb25
add(ci): toolchain (#1245) 2022-03-20 14:50:20 +01:00
a-kenji
8bb46715a9 fix(ci): update-rust-toolchain 2022-03-17 17:24:39 +01:00
a-kenji
3907e2b9f1 fix(ci) update-rust-toolchain 2022-03-17 17:21:50 +01:00
a-kenji
5db634ad51 fix(ci): update-rust-toolchain
Fix a typo
2022-03-17 17:11:32 +01:00
a-kenji
91f24114ee fix(ci) update-rust-toolchain 2022-03-17 17:08:46 +01:00
a-kenji
1612bec8ba fix(ci): update-toolchain 2022-03-17 16:56:15 +01:00
a-kenji
1b3f2236d4 fix(ci): naming 2022-03-17 16:47:14 +01:00
a-kenji
effccbfaa3
Feat/add rust toolchain (#1235)
* feature: update rust-toolchain

* add(ci): action that updates `rust-toolchain`

We purposefully keep our version a little behind the newest releases,
to give people the time to update. Now this is unambigious and we can
use all the features our current toolchain allows.
2022-03-17 16:46:01 +01:00
a-kenji
ccd9a55a9b
add(ci): install cargo-make through nix (#1233)
* add(ci): install `cargo-make` through `nix`

Should speed the e2e tests up by about 2 minutes.

Can easily reverted by `commenting/uncommenting`
the `run` part of the `Install cargo-make` step.

* check if cachix speeds the process up
2022-03-17 14:00:48 +01:00
a-kenji
cc582983ed
fix(ci): update-flake-lock (#1213)
fix a semantic error
2022-03-13 13:26:56 +01:00
a-kenji
86b8b53702
add(ci): add labels to flake update pr (#1211) 2022-03-13 12:56:32 +01:00
a-kenji
c8bc69fea4 ci: improve naming
Improve naming, to make the purpose clearer.
2022-03-10 16:30:51 +01:00
a-kenji
bd849574be
add(nix): treefmt / alejandra (#1201)
* add(nix): treefmt / alejandra

* fmt the nix tree

* add fmt check for nix to ci

* switch `nixpkgs-fmt` -> `alejandra`
2022-03-10 16:27:39 +01:00
a-kenji
87e44ed9a6
fix(ci): give clearer names (#1187) 2022-03-07 12:31:50 +01:00
a-kenji
f5ae10de78
add(nix): add crate2nix (#1181)
* add(nix): add crate2nix

To have a better experience on ci, due to improved caching
of dependencies. Also organize file hierarchy slightly.

* ci(nix): manually check a default system

Is needed because `nix flake check` accidentally tries to build IFD.
2022-03-06 14:28:54 +01:00
a-kenji
43e3cad57c fix: depandabot directory 2022-03-03 17:44:57 +01:00
dependabot[bot]
570e25a4e1
chore(deps): bump actions/checkout from 2 to 3 (#1164)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 17:42:54 +01:00
a-kenji
80863b12cf
add: limited set of crates to dependabot (#1163) 2022-03-03 16:56:50 +01:00
a-kenji
e0685f6548
add(nix): add binary cache zellij (#1157)
adds a binary cache called `zellij`, hosted by
https://www.cachix.org/
to the project, users can now use the cache by running:
```
cachix use zellij
```

Step by step:
```
bash <(curl -L https://nixos.org/nix/install)
nix-env -iA cachix -f https://cachix.org/api/v1/install
cachix use zellij
nix-build
```

Documentation: https://docs.cachix.org/installation#
2022-03-02 18:48:42 +01:00
dependabot[bot]
04ce772673
chore(deps): bump DeterminateSystems/update-flake-lock from 6 to 8 (#1147)
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 6 to 8.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v6...v8)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 09:17:16 +01:00
Thomas Linford
3765aa3483
fix(tests): ensure e2e tests use updated plugins (#1047)
* launch zellij with --data-dir flag in e2e tests, to avoid using prebuilt
  plugins from assets dir, and instead use the ones from the docker
  mount.
* make the tests use plugins built in release mode to avoid some test
  failures due to timing issues.
* format Makefile.toml.
* set uid 1001 to in e2e action (thanks to https://github.com/francisfuzz/actions-uid-gid)
2022-02-27 22:05:37 +01:00
a-kenji
611ceb0309
Init nix ci (#1141)
* ci(nix): add ci checks for nix

* nix flake metadata

&&

* nix build

* fix: update `Cargo.lock`
2022-02-27 19:21:12 +01:00
a-kenji
0a0ec00d68
ci(add): update flake lock action (#1135)
as discussed in #1131

Add a github action that creating a weekly pr with updated
flake inputs.
2022-02-27 13:13:05 +01:00
Ken Matsui
01f7f4f3d2
fix(ci): use the clippy-check action (#1122) 2022-02-25 20:39:28 +01:00
Aram Drevekenin
796b0bca98
docs(sponsorship): add my Github Sponsors 2022-02-19 10:07:57 +01:00
Aram Drevekenin
821e7cbc5a
feat(ui): add floating panes (#1066)
* basic functionality

* close and reopen scratch terminal working

* embed/float and resize whole tab for floating and static floating panes

* move focus working

* fix focus change in floating panes

* move pane with mouse

* floating z indices

* tests and better resize algorithm

* starting to work on performance

* some performance experimentations

* new render engine

* reverse painters algorithm for floating panes

* fix frame buffering

* improve ux situation

* handle multiple new panes on screen without overlap

* adjust keybindings

* adjust key hints

* fix multiuser frame ui

* fix various floating/multiuser bugs

* remove stuff

* wide characters under floating panes

* fix wide character frame override

* fix non-frame boundaries interactions with floating panes

* fix selection character width

* fix title frame wide char overflow

* fix existing tests

* add tests

* refactor output out of tab

* refactor floating panes out of tab

* refactor tab

* moar refactoring

* refactorings and bring back terminal window title setting

* add frame vte output

* remove more unused stuff

* remove even more unused stuff

* you know the drill

* refactor floating panes and remove more stuffs

* refactor pane grids

* remove unused output caching

* refactor output

* remove unused stuff

* rustfmt

* some formatting

* rustfmt

* reduce clippy to normal

* remove comment

* remove unused

* fix closign pane

* fix tests
2022-02-18 21:10:06 +01:00
dependabot[bot]
1cd21bf899
chore(deps): bump actions/upload-release-asset from 1.0.1 to 1.0.2 (#901)
Bumps [actions/upload-release-asset](https://github.com/actions/upload-release-asset) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/actions/upload-release-asset/releases)
- [Commits](https://github.com/actions/upload-release-asset/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: actions/upload-release-asset
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-25 18:40:15 +01:00
a-kenji
d3505ba52b
feat(update): integrate dependabot for gh actions (#900)
* dependabot will check weekly, if the gh actions have new versions
  available and will open a pr, if necessary
2021-11-25 17:44:18 +01:00
a-kenji
93014f6fd7
fix(typo): e2e test (#867) 2021-11-14 23:01:18 +01:00
Ken Matsui
01749843c8
feat(ci): Support macOS build & test on CI (#846) 2021-11-09 17:32:46 +01:00
Brooks J Rady
c9f9240969 fix(ci): release with stable toolchain 2021-11-07 17:05:21 +00:00
Ken Matsui
5e720b02a9
fix(docs): Fix a typo and some grammatical errors in bug_report.md (#826) 2021-11-01 13:20:59 +01:00
Brooks J Rady
a9fdaaa8d1 fix(ci): bring back aarch64 linux builds 2021-10-21 15:41:21 +01:00
Aram Drevekenin
ba07856016 chore(release): v0.19.0 - retry for ci 2021-10-20 14:25:19 +02:00
Aram Drevekenin
ed4fd2a8e7
chore(tests): move all integration tests to be either unit or e2e tests - remove old testing infra (#589)
* tests(integration): move basic integration tests to be unit tests

* fix(tests): silently fail threadbus for tests

* tests(unit): move compatibility tests to become unit tests for grid

* tests(unit): move close_pane tests to become unit tests for grid

* tests(e2e): move basic layout test to e2e

* tests(unit): move move_focus tests to be unit tests

* tests(unit): move resize_down tests to be unit tests

* tests(unit): move resize_left tests to be unit tests

* tests(unit): move resize_right tests to be unit tests

* tests(unit): move resize_up tests to be unit tests

* tests(infra): remove unused infra

* style(fmt): make rustfmt happy

* debug

* debug

* debug

* debug

* chore(test): shift volume mounting around because github actions is a special child
2021-06-30 11:27:35 +02:00
Aram Drevekenin
3313634fe9
Add e2e tests (#582)
* feature(tests): e2e tests

* chore(build): github action

* chore(build): fix workflow

* chore(build): fix workflow

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* work

* working

* working

* working

* bring back the proper errors

* make e2e flow run properly

* style(fmt): make rustfmt happy

* style(fmt): make rustfmt happy

* run on everything just to test the workflow

* bring back running behaviour on workflow
2021-06-21 10:45:18 +02:00
henil
fd04a22249 build(ci): Use Cache to speed up CI checks 2021-05-15 13:41:36 +05:30
matu3ba
2f1bba753a
improve bug report template (#466)
Give copy-paste commands and give example of typical
information and density. Refer to common sense of the issue author.
2021-05-10 14:13:26 +02:00
Aram Drevekenin
62991f138b
docs(issue): update issue template to new folder location 2021-05-07 15:43:17 +02:00
Aram Drevekenin
6714b21489
docs(issue): update issue template with more precise instructions 2021-05-05 17:36:55 +02:00
Brooks J Rady
72650a6491 fix(ci): name assets consistently 2021-04-29 16:26:46 +01:00
Brooks J Rady
fd56d2a1a7 feat(ci): add M1 macOS builds 2021-04-27 18:52:05 +01:00
Brooks J Rady
ea1a7dfc7d fix(ci): formatting tweak 2021-04-27 00:12:44 +01:00
Brooks J Rady
c9e9a8fae0 fix(ci): fix asset naming 2021-04-26 23:52:50 +01:00
Brooks J Rady
1dc49b5e58 fix(ci): add missing item to the build list 2021-04-26 23:18:13 +01:00
Brooks J Rady
181916ad04 fix(ci): fix release naming 2021-04-26 23:13:45 +01:00
Brooks J Rady
4f8ee01067 fix(ci): fix environment variable (again) 2021-04-26 23:07:21 +01:00
Brooks J Rady
b460fc36ea fix(ci): fix environment variable 2021-04-26 23:03:56 +01:00
Brooks J Rady
9ff5d45263 fix(ci): fix manual dispatch 2021-04-26 23:02:23 +01:00
Brooks J Rady
62b4825505 fix(ci): properly order the arguments to tar 2021-04-26 20:22:22 +01:00
Brooks J Rady
ad7fcb5717 feat(ci): add CI trigger for manual builds 2021-04-26 18:58:42 +01:00
Doron Tsur
fe70c72e4c feature(release): added automatic release on pushing tag v*.*.* 2021-04-24 13:47:14 +03:00
Aram Drevekenin
5d876bfcdb
docs(issue-template): add instruction 2021-04-24 10:25:14 +02:00
a-kenji
7ee228b2b6 Fix The Bug Report Template 2021-04-24 10:22:57 +02:00
a-kenji
47cea0615d Add Instructions to Bug Report Template 2021-04-24 10:19:22 +02:00
Aram Drevekenin
ce76efa096 chore(ci): remove release.yml 2021-04-23 10:43:45 +02:00
Brooks J Rady
af702b67e6 feat(build): vastly simplify the build system 2021-04-14 19:08:22 +01:00
Brooks J Rady
23e0b8adf1 fix(ci): unbreak things 2021-04-13 16:52:27 +01:00
Brooks J Rady
df88862eb3 Revert "fix(ci): speed up ci and fix some typos"
This reverts commit f036a98124.
2021-04-13 16:49:17 +01:00
Brooks J Rady
f036a98124 fix(ci): speed up ci and fix some typos 2021-04-13 16:44:44 +01:00
Brooks J Rady
fa6c76ea2d fix(ci): update to use the new build system 2021-04-13 16:32:59 +01:00
Brooks J Rady
08ffc153e1 Now it's exhausting 2021-02-23 16:57:17 +00:00
Brooks J Rady
701374f3fe Everything is rubbish - if you can't beat them, join them 2021-02-23 16:47:22 +00:00
Brooks J Rady
d05516ce24 Ubuntu is rubbish, arch ftw <3 2021-02-23 16:41:23 +00:00
Brooks J Rady
bff58a0a8a Yolo 2021-02-23 16:36:18 +00:00
Brooks J Rady
c06d464c65 More shots in the dark 2021-02-23 16:33:16 +00:00
Brooks J Rady
aced318596 Maybe fix the build CI 2021-02-23 16:24:04 +00:00
Brooks J Rady
4f199d5d35 Fix actions 2021-02-09 23:46:09 +00:00
henil
aa8da0b142 Add initial issue template and CONTRIBUTING.md 2021-01-31 12:12:55 +05:30
henil
bdf1b13758 Automatically build release binaries 2021-01-23 11:43:05 +05:30
Roee Shapira
9ad7b8a35e
chore(infra): added clippy check. (#65)
* Added clippy check.

* Changed step name.

* Used the suggested ci config.

* Some more clippy fixes.

* Some more clippy fixes.

* More clippy fixes.

* Removed allow annotations.

* Minor lint edit.

* More clippy fixes.

* Ran cargo fmt.

* More clippy fixes.

* More clippy fixes.

* More clippy fixes.

* More clippy fixes.

* More clippy fixes.

* More clippy fixes.

* Code review edits.

* Code review edits.

* Code review edits.

* CI update.

* CI update.

* CI update.

* Added clippy warn so wip won't fail ci.

* Cargo fmt.
2020-11-28 20:02:05 +01:00
Aram Drevekenin
f88abe6ad8
fix(compatibility): various htop issues (#66)
* fix(compatibility): various htop issues

* style(format): make rustfmt happy

* fix(logging): do not delete log dir on startup

* fix(tests): update htop with command toggle

* chore(ci): reduce test concurrency to 1
2020-11-23 18:01:16 +01:00
Denis Maximov
a2914066bf
feat: add rustfmt, update action workflow to check for formatting (#45) 2020-11-14 18:59:37 +01:00
Doron Tsur
c95f1f81fc
Create rust.yml 2020-10-27 22:20:38 +02:00