Commit Graph

92 Commits

Author SHA1 Message Date
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
rriski
ab8a48b2e0
Re-enable linux/arm64 platform in CI docker build (#1276)
This was previously enabled in #616 and then reverted in #730.
2023-10-02 20:32:32 -07:00
Ellie Huxtable
865f0e65f1 Fix support template 2023-09-28 19:37:28 -07:00
Ellie Huxtable
71fd31ed4f
Update support.yml (#1268) 2023-09-28 18:40:24 -07:00
Ellie Huxtable
52e1389ca0
Update support.yml 2023-09-28 18:37:28 -07:00
Ellie Huxtable
ffc24c3c29
Add support template (#1267) 2023-09-28 18:35:58 -07:00
Ellie Huxtable
33f009efad Correct issue templates 2023-09-28 18:12:59 -07:00
Ellie Huxtable
26b9423049 Adjust issue templates 2023-09-28 18:07:04 -07:00
Ellie Huxtable
54dc78fc49
Create support.md
I'm testing some structuring out
2023-09-28 18:04:14 -07:00
Ellie Huxtable
b7481993e3
Update issue templates 2023-09-11 09:03:28 +01:00