Commit Graph

36 Commits

Author SHA1 Message Date
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
mmx
dea6898f2d
update release.yaml add RUSTFLAGS, add qemu-user, add QEMU_PREFIX before gen-completions (#872) 2023-06-13 08:54:27 +01:00
Ellie Huxtable
beadc95926
Upload tar before building deb (#898) 2023-04-19 09:04:31 +01:00
Ellie Huxtable
0feee3d189
Allow specifying tag to build for workflow_dispatch (#896) 2023-04-18 21:51:39 +01:00
Ellie Huxtable
cc5b167f92
Add package param to cargo deb (#895) 2023-04-18 21:43:17 +01:00
Ellie Huxtable
678323b543
Add workflow dispatch for release (#888) 2023-04-17 20:45:06 +01:00
Ellie Huxtable
83ed195d27
Fix release workflow (#885) 2023-04-16 12:52:06 +01:00
Patrick Jackson
3552c7e0d3
feat: add github action to test the nix builds (#833) 2023-03-31 08:59:46 +01:00
Marijan Smetko
3514ff2401
Update CI action steps (#814) 2023-03-28 21:44:23 +01:00
Marijan Smetko
b911d17800
Add musl build (#809)
Clean up

Trigger with everything but release

Remove trigger
2023-03-25 17:59:06 +00:00
Ellie Huxtable
79a2053340
Revert "Re-enable arm docker builds (#616)" (#730)
Docker builds are failing on ARM, let's see if they work on AMD.

Might be worth waiting until we have less C that needs building

This reverts commit f3894ef9c0.
2023-02-26 23:01:40 +00:00
Ellie Huxtable
1ee66b5816
Enable RUST_BACKTRACE for docker builds (#729)
They're failing on ARM atm, maybe this will help
2023-02-26 22:13:31 +00:00
Patrick Jackson
f3894ef9c0
Re-enable arm docker builds (#616) 2022-11-17 09:12:42 +00:00
Lucy
6bd82abf6c
Build ARM64 releases & update runners (#593)
Not entirely sure how to test this workflow.

Why weren't ARM64 builds being made anyways? The workflow literally has cases to handle it!

Fixes https://github.com/ellie/atuin/issues/369
2022-11-04 08:40:03 +00:00
Ellie Huxtable
706b1aff65
Disable ARM docker builds (#438)
These are failing and need investigating
2022-06-06 09:48:28 +01:00
Daniel
301190e427
Build ARM docker image in GitHub Actions using QEMU (#400)
This PR updates the GH Action docker workflow to crossbuild the docker
image for ARM using QEMU.
This theoratically works but takes about for a clean build 2.5 hours,
which may or may not be tolerable for each commit on `main`.
A action run where the dependencies are already cached needs about 15
minutes with this PR.
2022-05-09 21:09:31 +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
Orhun Parmaksız
0abd063e01
Support generating shell completions (#235)
* Add gen-completions subcommand for generating shell completions

* Update documentation about generating shell completions

* Include the shell completions in release tarball
2021-12-10 23:59:39 +00:00
Conrad Ludgate
e89de3f760
chore: supply pre-build docker image (#199)
* feat: supply pre-built docker image

* chore: add docker run to docs
2021-11-17 11:41:55 +00:00
Ian Smith
a127408e93
run shellcheck (#97)
* run shellcheck

* Update .github/workflows/shellcheck.yml

Co-authored-by: Conrad Ludgate <oon@conradludgate.com>

* shellcheck fixes in which i am highly confident

* shellcheck fixes in which I am less confident - not executing this is fine, right?

* SC2155

In src/shell/atuin.bash line 1:
export ATUIN_SESSION=$(atuin uuid)
       ^-----------^ SC2155: Declare and assign separately to avoid masking return values.

* shellcheck doesn't support zsh, per https://github.com/koalaman/shellcheck/wiki/SC1071

* yaml fix

* gotta checkout our code, too

* yaml fix

* action spelling

* exclude .zsh

* Shellcheck doesn't support zsh, per

https://github.com/koalaman/shellcheck/wiki/SC1071, and the ignore: param
in ludeeus/action-shellcheck only supports _directories_, not _files_.
So instead, we manually add any error the shellcheck step finds in the
file to the above line ...

* comment all the ignores

* Update src/shell/atuin.bash

Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>

* new zsh plugin shellcheck errors

* new zsh plugin shellcheck errors, pt 2

Co-authored-by: Conrad Ludgate <oon@conradludgate.com>
Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2021-05-14 08:31:15 +01:00
Conrad Ludgate
fa5c94de65
feat: build individual crates (#109) 2021-05-10 21:25:42 +00:00
Ellie Huxtable
d3059af815
Release v0.7.0 (#103)
* Release v0.7.0

- Update all the crate versions
- Update the demo gif
- Write a changelog
- Adjust the title of the search screen (has the old name still)
- Adjust the colours of the quick-jump numbers (sadly invisible on some
  colour schemes as dark grey :/)

* Update README, default config file, docs

* Link usernames

* Trigger release workflow upon release creation, as well as tags
2021-05-10 21:28:07 +01: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
4df77c5201 Release v0.6.4
- Fix version
- Only build for two targets
2021-04-26 18:36:19 +01: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