14 Commits

Author SHA1 Message Date
657721adc6 Update dart-git and stop using the Result class
Instead we're going to move back to standard exceptions.

Using a custom Result class has created far far more problems
- The Stacktraces aren't always right
- Sometimes one forgets to check the Result error
- All other exception throwing code needing to be converted to Results
- Non idiomatic Dart code

I think it's better to just go back to exceptions. They have their
problems, but overall, I think it's a better approach.
2023-11-24 14:03:30 +01:00
f4a1df6604 Move cloning code back into GitJournal
I want the git_setup code to only have the UI. Nothing else. The cloning
process for GitJournal is very specific to GitJournal. It doesn't need
to be that complicated for other projects.
2022-06-27 13:21:10 +02:00
a322879077 make fmt 2022-06-26 15:15:11 +02:00
00e6f39e67 Move setup code into its own package 2022-06-26 15:08:55 +02:00
6aa62090a9 Use a standard git clone when there is no history
Clearly dart-git is still quite buggy. Lets go back to libgit2, this was
quite a big mistake.
2022-05-16 12:08:15 +02:00
8e854b91ef Fix analyze 2022-02-20 02:21:27 +05:30
c146484573 Fix test 2022-02-20 02:04:24 +05:30
6237161a28 Enable logging in tests
It makes it easier to diagnose issues on the CI
2022-02-20 01:24:07 +05:30
d56ae4f81c Enable logs for other tests 2022-02-16 21:05:03 +05:30
0421c76cbf CloneTest: Add debug statements to figure out why this is failing
It isn't failing for me locally
2022-02-16 20:53:48 +05:30
d1484c7cd0 cloneTest: Test desktop ssh
This is being skipped as it needs my ssh keys.
2022-02-14 18:31:21 +05:30
e2a0aceafb Bump dart-git
It has fixes for the clone test
2022-02-14 17:57:18 +05:30
294e733f77 Simplify test 2022-02-14 16:52:48 +05:30
dbe2eada3a Add some tests for the cloning
Found one bug in the git_desktop!
2022-02-14 16:49:28 +05:30