552b3a6aad
SSH: Fall back to ~/.ssh/id_rsa when no agent available
2021-12-23 18:33:14 +01:00
fcc22791e5
Refuse to push against non-pushable remotes (e.g. HTTPS for now)
2021-12-23 18:33:14 +01:00
b183590096
Add default tracking configuration
2021-12-23 18:33:14 +01:00
27586b5ff0
Add functionality for persistent branches
2021-12-23 18:33:14 +01:00
70eac10eaa
Cargo.lock: Updating signal-hook v0.3.12 -> v0.3.13
2021-12-22 10:02:45 +01:00
1e941e02ed
Cargo.lock: Updating serde v1.0.131 -> v1.0.132
2021-12-22 10:02:44 +01:00
1ffc522d51
dependencies: Update serde to 1.0.132
2021-12-22 10:02:43 +01:00
66814876a8
Cargo.lock: Updating openssl-sys v0.9.71 -> v0.9.72
2021-12-21 16:15:12 +01:00
3501b785c9
Cargo.lock: Updating once_cell v1.8.0 -> v1.9.0
2021-12-21 16:15:12 +01:00
24badb9b64
Cargo.lock: Updating signal-hook v0.3.10 -> v0.3.12
2021-12-21 16:15:12 +01:00
4c94ead06f
Cargo.lock: Updating proc-macro2 v1.0.32 -> v1.0.34
2021-12-21 16:15:12 +01:00
7514d1fd3e
Cargo.lock: Updating libc v0.2.108 -> v0.2.112
2021-12-21 16:15:12 +01:00
d85c98c3ef
Cargo.lock: Updating git2 v0.13.24 -> v0.13.25
2021-12-21 16:15:12 +01:00
e3563fcaa6
depcheck: Add update for Cargo.lock
2021-12-21 16:15:12 +01:00
1a1231b672
depcheck: Add functionality to disable autoupdate for packages
2021-12-21 16:15:12 +01:00
a3ccea9dcb
Justfile: Check cargo dep updates during "check"
2021-12-21 16:15:12 +01:00
4a9f1bc278
Make new clippy happy
2021-12-21 16:15:12 +01:00
0b181b9b79
Run cargo fmt with new cargo version
2021-12-21 16:15:12 +01:00
6d747d8e89
dependencies: Update git2 to 0.13.25
2021-12-21 16:15:12 +01:00
72dd861677
dependencies: Update serde to 1.0.131
2021-12-21 16:15:12 +01:00
59c6164c1f
depcheck: Commit updates automatically
2021-12-21 16:15:12 +01:00
4722d5a8ff
Fix dependencies to exact version
2021-12-21 16:15:12 +01:00
4eb88260c8
Fix missed rename of RepoHandle
2021-12-02 12:43:53 +01:00
a51e5f8918
Fix regression of find with broken repos
2021-12-02 12:43:45 +01:00
c66620a0fc
Merge branch 'refactor' into develop
2021-12-01 20:12:37 +01:00
f0c8805cf3
Refactor
...
This refactors a huge chunk of the code base to make it more maintainable.
Main points:
* Proper separation between bin and lib. Bin handles argument parsing &
validation and (most of) the output. Lib provides interfaces for all
opreations.
* Before, libgit2 internals were literred throughout the codebase,
mainly the `Repository` struct and `git2::Error` in Results. They
library is now properly wrapped in `repo.rs`, which exposes only the
required functionality. It also standardizes the Error messages
(they're just Strings for now) and handles stuff like the copious
usage of Options to wrap maybe-invalid-utf-8 values. The program will
still panic on non-utf-8 Strings e.g. in git remotes, but I guess this
is acceptable. If you actually manage to hit this case, I promise I'll
fix it :D
* Many unwraps() are now gone and properly handled.
* The table printing functionality is now confined to `table.rs`,
instead of passing tables as parameters through the whole program.
2021-12-01 20:12:24 +01:00
da601c2d5f
Always use color in pytest
2021-12-01 20:12:11 +01:00
ed06c52c8f
Add e2e test for finding in tree with broken repos
2021-12-01 20:03:25 +01:00
14b200ee3d
Add nonnominandus to contributors
2021-12-01 19:44:46 +01:00
d5eddc4476
Add contributing guidelines
2021-12-01 19:44:46 +01:00
d26a76d064
Add GPLv3 license file
2021-12-01 19:44:46 +01:00
d39df526de
Skip unneeded directory hashing in e2e tests
2021-12-01 19:44:46 +01:00
6e6050c71b
Fix hashing of directory
2021-12-01 19:44:46 +01:00
98580d32ad
Run e2e tests in tmpfs
2021-12-01 19:44:46 +01:00
115eb7c74a
Merge pull request #11 from nonnominandus/master
...
Made a single error message not stall the repo finding process
2021-11-30 09:50:04 +01:00
Douwe Schulte
8b7b91d005
Made a single error message not stall the repo finding process
2021-11-29 21:13:39 +01:00
7aa45c7768
Merge branch 'develop'
v0.4
2021-11-29 01:06:09 +01:00
a065de5b2d
Release v0.4
2021-11-29 01:05:47 +01:00
d976ccefc2
Merge branch 'e2e' into develop
2021-11-29 00:54:25 +01:00
de186901d0
Support file remotes
2021-11-29 00:53:11 +01:00
c9f4d41780
Properly report push errors
2021-11-29 00:53:11 +01:00
b3906c646a
Remove wrong error message about remote branch
2021-11-29 00:53:11 +01:00
43c47bdca6
Fail with non-zero exit code on clippy warnings
2021-11-29 00:45:41 +01:00
df0b5728fc
Add test to "check" Justfile target
2021-11-29 00:42:36 +01:00
d0b78686e2
Add an E2E test suite
2021-11-29 00:42:36 +01:00
f02a0fc17a
Format cargo update script with black
2021-11-29 00:42:36 +01:00
4e83aba672
Fix formatting of push error message
2021-11-29 00:42:36 +01:00
e2e55b8e79
Properly handle error during repo open
2021-11-29 00:42:36 +01:00
655379cd61
Return failures during sync
2021-11-29 00:42:36 +01:00
340085abf8
Detect change from worktree to non-worktree during sync
2021-11-29 00:42:36 +01:00