Commit Graph

31 Commits

Author SHA1 Message Date
Remo Senekowitsch
9fa223eaaf
chore(build): compile protobufs with protox (#2122)
* chore(build): compile protobufs with protox

protox is a pure-rust implementation of the protobuf compiler.
Therefore, it can be managed by cargo.

This removes the implicit dependency on protoc being available
in the environment for the build.

* fix(build): replace copypasta in build script

The paths passed to `compile` aren't actually used by the build.
`skip_protoc_run` prevents that.
That's why a clean build succeeds even with this mistake.

However, the paths are passed to a `cargo:rerun-if-changed` directive.
So this mistake would've caused a failed incremental build if the
protobuf definitions were changed.
2024-06-12 16:45:38 +01:00
Ellie Huxtable
bce0faa1c2
feat: add background daemon (#2006)
* init daemon crate

* wip

* minimal functioning daemon, needs cleanup for sure

* better errors

* add signal cleanup

* logging

* things

* add sync worker

* move daemon crate

* 30s -> 5mins

* make clippy happy

* fix stuff maybe?

* fmt

* trim packages

* rate limit fix

* more protoc huh

* this makes no sense, why linux why

* can it install literally just curl

* windows in ci is slow, and all the newer things will not work there. disable the daemon feature and it will build

* add daemon feature

* maybe this

* ok wut where is protoc

* try setting protoc

* hm

* try copying protoc

* remove optional

* add cross config

* idk nix

* does nix want this?

* some random pkg I found does this

* uh oh

* hack, be gone!

* update contributing
2024-05-08 12:09:04 +01:00
Ellie Huxtable
6cd4319fcf
feat(gui): add base structure (#1935)
* initial

* ui things

* cargo

* update, add history refresh button

* history page a bit better, add initial dotfiles page

* re-org layout

* bye squigglies

* add dotfiles ui, show aliases

* add default shell detection

* put stats in a little drawer, alias import changes

* use new table for aliases, add alias deleting

* support adding aliases

* close drawer when added, no alias autocomplete

* clippy, format

* attempt to ensure gdk is installed ok

* sudo

* no linux things on mac ffs

* I forgot we build for windows too... end of day

* remove tauri backend from workspace
2024-04-11 16:59:01 +01:00
Ellie Huxtable
c97f2375ad
chore(ci): setup nextest (#1848) 2024-03-10 19:07:23 +00:00
Rain
7d8b4b3398
chore(ci): add cross-compile job for illumos (#1830)
I also tried getting FreeBSD to work, but didn't get too far sadly. I don't
have the time to debug this so I just put in a comment for now. (With my
changes, Atuin works great on FreeBSD as well.)
2024-03-06 10:32:56 +00:00
Ellie Huxtable
6a2576fc5b
chore(ci): run rust build/test/check on 3 platforms (#1675)
* chore(ci): run rust build/test/check on 3 platforms

* need to properly test windows

* do not need to strip here, and windows has a suffix anyway
2024-02-05 09:28:55 +00:00
Ellie Huxtable
286f6eb5b3
chore(ci): re-enable test cache, add separate check step (#1663) 2024-02-01 15:08:01 +00:00
Ellie Huxtable
f6b541dbed
chore(ci): use github m1 for release builds (#1658) 2024-01-30 18:29:13 +00:00
Ellie Huxtable
9f25ce581a
Revert "Revert "Revert "Use github runners for unit tests (for now) (#1279)" (#1294)" (#1295)" (#1325)
This reverts commit 089cb6847c.
2023-10-25 09:25:43 +01:00
Ellie Huxtable
089cb6847c
Revert "Revert "Use github runners for unit tests (for now) (#1279)" (#1294)" (#1295)
This reverts commit 1054113469.
2023-10-08 11:50:30 -07:00
Ellie Huxtable
1054113469
Revert "Use github runners for unit tests (for now) (#1279)" (#1294)
This reverts commit 0abbcd6941.
2023-10-08 11:23:36 -07:00
Ellie Huxtable
0abbcd6941
Use github runners for unit tests (for now) (#1279)
My self hosted runner is much faster, but my house was hit by lightning
and the internet is down. I'm a few thousand miles away atm so won't be
able to sort it for a while.

Tests broken by _nature_.
2023-10-02 22:31:16 -07:00
Tobias Genannt
b48de9bd9d
Run test build for client-only feature set (#1167) 2023-08-14 08:27:35 +00:00
Ellie Huxtable
2a41768afa
Split integration and unit tests, use runner for unit (#1134)
* Split integration and unit tests, use runner for unit

* Probs does not need cache as network is slow
2023-07-31 09:16:29 +01:00
Conrad Ludgate
c10ba684e0
some simple server tests (#1096)
* some simple server tests

* fmt

* logging in server test

* log server errors

* fix postgres uri

* postgres ports

* localhost again?

* Rebase fixes

---------

Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2023-07-27 09:34:13 +01:00
Marijan Smetko
3514ff2401
Update CI action steps (#814) 2023-03-28 21:44:23 +01:00
Orhun Parmaksız
a050faaf32
Use --locked flag for CI builds (#337) 2022-04-23 20:29:43 +00:00
Conrad Ludgate
7436e4ff65
feature-flags (#328)
* use feature flags

* fmt

* fix features

* update ci

* fmt

Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2022-04-22 20:14:23 +00:00
Ellie Huxtable
508d4f4761
History filter (#329)
* Add history filters, and hotkey toggle

Switch between different search modes to narrow down the history you
want - global search for all history, host for all history from your
current machine, session for the current shell session, and directory
for the current directory

The default can be configured via `filter_mode`

* Update docs

* Add context
2022-04-22 21:05:02 +01:00
Conrad Ludgate
fa5c94de65
feat: build individual crates (#109) 2021-05-10 21:25:42 +00:00
Conrad Ludgate
086f4cc27c
cache builds (#49)
* cache builds

* improve cache steps

* un-restrict target cache

* remove release cache
2021-05-07 20:28:16 +00:00
Ellie Huxtable
9356736ca1 Release v0.6.3
First proper release!

- Update install script
- Correct dependencies
- Update workflow release script
2021-04-26 18:04:56 +01:00
Ellie Huxtable
0610ae197f
Pre release polishing (#42)
* Improve readme

* Add demo gif

* Update readme

* Add mac build

* Amend release config

* Update gif
2021-04-26 13:25:57 +00:00
Ellie Huxtable
156893d774
Update docs, unify on SQLx, bugfixes (#40)
* Begin moving to sqlx for local too

* Stupid scanners should just have a nice cup of tea

Random internet shit searching for /.env or whatever

* Remove diesel and rusqlite fully
2021-04-25 17:21:52 +00:00
Ellie Huxtable
34888827f8
Switch to Warp + SQLx, use async, switch to Rust stable (#36)
* Switch to warp + sql, use async and stable rust

* Update CI to use stable
2021-04-20 16:07:11 +00:00
Ellie Huxtable
8a5d82e820 Correct clippy usage 2021-02-14 18:16:53 +00:00
Ellie Huxtable
0cfa59a313 Do not allow warnings 2021-02-14 18:14:34 +00:00
Ellie Huxtable
e5fd46adfa Update rust.yml 2021-02-14 16:02:36 +00:00
Ellie Huxtable
f3b0006754 Update rust.yml 2021-02-14 16:02:36 +00:00
Ellie Huxtable
6cd7ca9602 Update rust.yml 2021-02-14 16:02:36 +00:00
Ellie Huxtable
7bd8e73c70 Create rust.yml 2021-02-14 16:02:36 +00:00