Yann Büchau :nixos: · @nobodyinperson
272 followers · 1194 posts · Server fosstodon.org

I am unsure whether to learn :rust: or :haskell: next. (Not that I have time to, but one may dream, right? 😉).

Knowing Haskell would allow me to contribute to some software I deeply care about (, :gitannex: ). Rust on the other hand looks *much* easier to get going with coming from (and embedded / ). Its cargo toolchain and ecosystem also looks nicer, plus easier availability on all architectures (aarch64!).

#rust #haskell #hledger #gitannex #python #c #cpp

Last updated 1 year ago

Yann Büchau :nixos: · @nobodyinperson
267 followers · 1157 posts · Server fosstodon.org

@joeyh So :gitannex: in the browser will be a thing at some point? 🙃

#gitannex

Last updated 1 year ago

musicmatze :rust: :nixos: · @musicmatze
948 followers · 3529 posts · Server social.linux.pizza

There is no in-depth example video for out there.
where are you at?

I want pass a nice "From zero to 100 with git annex" video to a friend, but everything I find is the _absolute_ basics, nothing that gets in really deep!

#gitannex #linux #youtubers

Last updated 1 year ago

Yann Büchau :nixos: · @nobodyinperson
250 followers · 1091 posts · Server fosstodon.org

@Atemu @musicmatze Ah, backing up your whole system state with doesn't work, right. With the assistant you don't have to care about unused files, they'll get moved around automatically. But yes, they're not as easily accessible as the presently checked-out files.

#gitannex

Last updated 1 year ago

· @Atemu
19 followers · 152 posts · Server darmstadt.social

@nobodyinperson @musicmatze

While the concept may have become foreign to us snobs who cleanly separate system state from user data, when people hear "backup tool", that includes the ability to back up your system state for them.

While you could abuse a directory special remote with importtree=yes to achieve something like that, is really not built for that.

is also not an archival tool. While it retains history, unused keys are second-class citizen.

#gitannex #nixos

Last updated 1 year ago

Yann Büchau :nixos: · @nobodyinperson
250 followers · 1091 posts · Server fosstodon.org

@musicmatze Hm. A bit flip in something like a borg backup could surely have more devastating consequences and potentially cause more than one file being broken, right? can at least do something about bit flips (auto-get or tell you where to get it from), fancy backup systems will just choke, won't they? 🤔

#gitannex

Last updated 1 year ago

Yann Büchau :nixos: · @nobodyinperson
250 followers · 1091 posts · Server fosstodon.org

@musicmatze I wonder why :gitannex: is not considered to be a backup system¹. I use it as such and always have one or more remotes that retain everything. Restoring a broken local repo is then a matter of cloning from those remotes, done. If that is not a backup system, I don't understand what is 😅

¹git-annex.branchable.com/not/

#gitannex

Last updated 1 year ago

Yann Büchau :nixos: · @nobodyinperson
250 followers · 1091 posts · Server fosstodon.org

@musicmatze :gitannex: rocks for file syncing, file catalogization, hiding secrets from public repos, archival, backups and so much more 💪

#gitannex

Last updated 1 year ago

Yann Büchau :nixos: · @nobodyinperson
237 followers · 1047 posts · Server fosstodon.org

This is a real annoyance when syncing files cross-OS. In my case with :gitannex: where luckily doesn't bother too much except always showing those files as deleted or something.

And then this whole iCloud thing that randomly shoves your files elsewhere if you run out of space. Also not great for syncing systems...

#gitannex #git

Last updated 1 year ago

Yann Büchau :nixos: · @nobodyinperson
237 followers · 1037 posts · Server fosstodon.org

:gitannex: 10.20230802 is out with some exciting features and fixes:

- new command 'git annex satisfy' syncs content as configured without touching your git branch
- a new --explain option in many places to better understand why things are (not) happening
- easier setup to get 'git diff' work on diff'able annexed files
- a new 'onlyingroup' preferred content expression that helps e.g. ignoring offline backups
- many important fixes here and there

git-annex.branchable.com/news/

#gitannex

Last updated 1 year ago

Yann Büchau :nixos: · @nobodyinperson
237 followers · 1037 posts · Server fosstodon.org

@gianarb I solved it by tracking the secrets not with git but with :gitannex: . Your secrets then only reside on your PCs or where you have them synced. Your secrets are as secure as the hash function you chose. You can salt it by adding random stuff to your secret files (comments, etc.)

gitlab.com/nobodyinperson/nixc

#gitannex

Last updated 1 year ago

Yann Büchau :nixos: · @nobodyinperson
237 followers · 1037 posts · Server fosstodon.org

@realestninja Can't confirm boot slowness rumor, I just switched from to for the same reasons and NixOS boots faster for me.

NixOS is not only stable but you can also quite easily get the absolute latest versions if you like.

For example for here: gitlab.com/nobodyinperson/nixc

#manjaro #nixos #gitannex

Last updated 1 year ago

Yann Büchau :nixos: · @nobodyinperson
237 followers · 1037 posts · Server fosstodon.org

@abcdw Indeed. Though I think about adding :gitannex: support to . Putting the gpg-encrypted password files into git directly is not so great. I guess the script could be made to auto-detect if the repo has an annex and then use git annex add instead of git add when appropriate.

#gitannex #pass

Last updated 1 year ago

Yann Büchau :nixos: · @nobodyinperson
237 followers · 1037 posts · Server fosstodon.org

@Ganneff Sounds very cool!

I have set up a :gitannex: repo for 4 mailboxes and a total of 30k mails now. Works very well and mbsync does a good job of syncing, so does git annex for archoving and backup.

However, despite Expunge/Create/Remove=Both in the config, it doesn't really propagate changes I do in the local storage back to the server. 🤷 Might be doing something wrong...

#gitannex

Last updated 1 year ago

Joerg Jaspert :debian: · @Ganneff
248 followers · 824 posts · Server fulda.social

@nobodyinperson I sync 6 different "accounts/mailboxes" (around 800 actual folders) with around 1.a little million mails using mbsync to a local directory. One subdir in there per account. afew to apply sind mass tag changes based on some filters i want. And then notmuch to index and (via its emacs interface) read/ search/ reply/ write/....

Works pretty well. That maildir i get out of this is backed up using some restic, unsure what git would do with the amount of files.

#gitannex #mbsync #mutt #neomutt #supmail #nmail #alpine

Last updated 1 year ago

Yann Büchau :nixos: · @nobodyinperson
237 followers · 1020 posts · Server fosstodon.org

I wonder what to do with the .mbsyncstate files. Put them into :git: or even :gitannex: as well? 🤔 Are those merge conflict-prone?

#git #gitannex

Last updated 1 year ago

Yann Büchau :nixos: · @nobodyinperson
237 followers · 1019 posts · Server fosstodon.org

Thanks for all the suggestions. Maildir format is the term I was looking for, apparently. I'm not on a journey trying . It's amazing so far and works very well with :gitannex: . The indexing and search is the next step then.

mbsync puts local info like the sync time and the hostname into the Maildir email files. Might make a mess when running mbsync from different PCs. Though git annex will deduplicate it anyway and cleanup shouldn't be too hard.

#mbsync #gitannex

Last updated 1 year ago

Yann Büchau :nixos: · @nobodyinperson
237 followers · 1016 posts · Server fosstodon.org

I am looking for a solution to my email problem. I need a searchable backup system for all my email adresses, preferrably in a format that's (:gitannex: ) sync friendly (e.g. all just .eml files). A terminal-based Thunderbird alternative would also be nice. I see there's and so many more but no concise overview with feature comparison. What would you recommend?

#gitannex #mbsync #mutt #neomutt #supmail #nmail #alpine

Last updated 1 year ago

Yann Büchau :nixos: · @nobodyinperson
237 followers · 1013 posts · Server fosstodon.org

Hm, for it's unfortunately not that easy to build the latest version on :nixos: 🫤

The problem is that hledger's dependencies apparently vary quite a bit between releases (not the case for :gitannex: ? Did I just get lucky above?) so all of its dependencies need to be repackaged as well 🫤

Maybe that's the reason hledger is still at 1.27.1 even on unstable...

gitlab.com/nobodyinperson/nixc

#hledger #nixos #gitannex

Last updated 1 year ago

Yann Büchau :nixos: · @nobodyinperson
237 followers · 1013 posts · Server fosstodon.org

@fabiscafe 's license is indeed AGPL, but also others. How does that translate to a binary build? 🤔 @joeyh

#gitannex

Last updated 1 year ago