Commit Graph

101 Commits

Author SHA1 Message Date
dependabot[bot]
50e21d450e
chore(deps): bump docker/setup-buildx-action from 2 to 3 (#2295)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  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>
2024-07-22 11:53:06 +01:00
dependabot[bot]
6811137b19
chore(deps): bump docker/build-push-action from 4 to 6 (#2296)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  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>
2024-07-22 11:52:53 +01:00
dependabot[bot]
947305fc7f
chore(deps): bump cachix/install-nix-action from 20 to 27 (#2268)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 27.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...V27)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  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>
2024-07-15 10:52:40 +01:00
dependabot[bot]
0154e3d0df
chore(deps): bump docker/login-action from 2 to 3 (#2271)
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  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>
2024-07-15 10:38:32 +01:00
dependabot[bot]
3851c05aa9
chore(deps): bump actions/checkout from 3 to 4 (#2270)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [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/v3...v4)

---
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>
2024-07-15 10:37:35 +01:00
dependabot[bot]
c59e0791a3
chore(deps): bump actions/cache from 3 to 4 (#2269)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  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>
2024-07-15 10:37:22 +01:00
dependabot[bot]
aa94d36d11
chore(deps): bump taiki-e/install-action from 1 to 2 (#2267)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 1 to 2.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  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>
2024-07-15 10:34:25 +01:00
Luca Comellini
63f1d8995a
chore(deps): Add dependabot for GitHub Actions (#2257)
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2024-07-15 10:30:48 +01:00
Ellie Huxtable
5b38448733
feat(gui): runbooks that run (#2233)
* add initial runbooks frontend

* fix buttons, scroll, add shell support to editor

* work

* some tweaks

* wip - run crate

* functioning executable blocks

* handle resizing, killing ptys

* clear properly on stop

* move terminal to its own component, handle lifecycle better

* fix all build issues

* ffs codespelll

* update lockfile

* clippy is needy once more

* only build pty stuff on mac/linux

* vendor pty handling into desktop

* update lockfile
2024-07-08 11:17:47 +01:00
Ellie Huxtable
a9e766f990
chore(ci): do not run current ci for ui (#2189) 2024-06-24 08:18:37 +01:00
Ellie Huxtable
4dd76d84ed
chore: update to cargo-dist 0.16, enable attestations (#2156) 2024-06-18 09:18:04 +01:00
Ellie Huxtable
52aee8d96d
chore: setup dependabot for the ui (#2128)
* chore: setup dependabot for the ui

* cargo update the backend too
2024-06-13 13:30:40 +01:00
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
279f57b6d7
chore: add installer e2e tests (#2110)
* chore: add installer e2e tests

* only run if edited or main
2024-06-10 17:01:00 +01:00
Ellie Huxtable
7ec002ba44
chore: switch to cargo dist for releases (#2085)
* chore: switch to cargo dist for releases

From https://axo.dev

cargo-dist handles building releases far better than we can, and do so
for several large projects now.

We will need to change our install script to use the cargo-dist
installer.

Historically, we have used the system package manager wherever possible.
Once switched to the new installer, this will no longer be the case. If
the user wishes to use their package manager, and Atuin is maintained
there, then they can choose to do so.

This way, we can ensure that users are running a known build, can easily
uninstall (just delete the atuin dir), easily update, etc. Builds will
use our lockfile, and can have their checksum verified. Later, I'd like
to introduce build signing.

As Axo are focused on release engineering, they will likely have
resolved many more issues than we have - libc versions, etc.

I'm not particularly happy with our response of "just use your package
manager", as many users seem to have difficulty there. It's unclear what
our installer has done, as this behaviour varies massively across
systems. It's also unclear how some package maintainers may have patched
things

I'm hoping that some better release tooling will lead to more confidence
in the process, and therefore more frequent releases.

Uninstall clarity: #111, #372, #640, #1485, #1546, #2049, #1529

* config

* add protobuf

* test build

* use native arm mac

* lol

* add toolchain

* use 1.78, 2vcpu

* nix flake update

* 1.77
2024-06-05 13:25:01 +01:00
Xavier Vello
df81d27544
chore(ci): don't run "Update Nix Deps" CI on forks (#2070) 2024-06-03 11:03:52 +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
38ea7706a0
fix(ci): release workflow (#1978) 2024-04-24 16:45:35 +01:00
Ellie Huxtable
a0231a7095
chore(release): prepare for release v18.2.0 (#1950)
* chore(release): prepare for release v18.2.0

* disable codespell for the changelog
2024-04-15 10:37:28 +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
Yaroslav Halchenko
28b0b490f9
chore(ci): Add codespell support (config, workflow) and make it fix some typos (#1916)
* Add github action to codespell main on push and PRs

* Add rudimentary codespell config

* ignore crate, inbetween etc

* [DATALAD RUNCMD] run codespell throughout fixing typo automagically but ignoring the failure due to ambigous typos

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w || :",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^

* [DATALAD RUNCMD] Do interactive fixing of  leftover ambigous typos

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w -i 3 -C 2",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
2024-04-05 15:51:57 +01:00
Ellie Huxtable
da8cc48198
chore: add section to issue form (#1873) 2024-03-13 14:01:37 +00:00
Ellie Huxtable
11c0dfc137
chore: require atuin doctor in issue form (#1872) 2024-03-13 13:40:59 +00:00
Ellie Huxtable
9ae167d44b
chore: add issue form (#1871) 2024-03-13 13:36:48 +00: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
Remmy Cat Stock
5f0e6dd307
feat(nushell): add nushell completion generation (#1791) 2024-02-29 11:08:32 +00:00
Patrick Jackson
81e7b58532
feat(nix): add update action (#1779) 2024-02-26 14:53:12 +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
2f64778ceb
docs: Create pull_request_template.md (#1632) 2024-01-26 16:18:58 +00:00
Ellie Huxtable
a60d8934c5
chore: update funding (#1543) 2024-01-10 17:43:23 +00:00
Ellie Huxtable
2b94f05735
fix: disable musl deb building (#1525)
It never worked, and broke release building. I don't think we need musl
debs, but if so ensure they don't break install scripts

Resolve #1500
2024-01-09 11:49:00 +00:00
Ellie Huxtable
1945c9fb3a
chore: remove issue template (#1444) 2023-12-12 23:46:41 +00:00
Ellie Huxtable
04903bf526
chore(repo): remove issue config (#1433) 2023-12-10 13:26:19 +00:00
Ellie Huxtable
de6221942a
chore: don't group deps (#1424) 2023-12-09 17:44:10 +00:00
Ellie Huxtable
f35ef7459b
chore: run dependabot weekly, not daily (#1423)
* chore: run dependabot weekly, not daily

* group it all
2023-12-09 17:41:51 +00:00
Ellie Huxtable
4096bb8d17
update support template (#1340) 2023-10-26 20:35:30 +01:00
Ellie Huxtable
b7adf1d797
Fix cargo deb usage (#1337)
v2.0.0 of cargo deb added the revision number. I'd rather not change the
output name of our file, so force cargo-deb to stick to the "old"
behaviour
2023-10-26 16:13:54 +01: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
ad4868567e
Checkout repo so the manifest publish step can read git (#1314) 2023-10-19 22:21:24 +01:00
Ellie Huxtable
62994ca264
use the short sha to tag images (#1313) 2023-10-19 22:07:24 +01:00
Ellie Huxtable
fef5986e9a Use ubuntu for x86, oops 2023-10-19 21:45:58 +01:00
Ellie Huxtable
ce114b1f37 Fix events 2023-10-19 21:41:14 +01:00
Ellie Huxtable
5a353d5ed1
Switch to Actuated for docker builds (#1312) 2023-10-19 21:39:40 +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
Ellie Huxtable
f539580f0e
Revert "Re-enable linux/arm64 platform in CI docker build (#1276)" (#1278)
This reverts commit ab8a48b2e0.
2023-10-02 21:41:51 -07:00