Backup repository for imag-pim.org / imag https://imag-pim.org
Find a file
Matthias Beyer 42e2f18fb3 Pass around Arc<FileAbstraction> internally
Because the iterators need to be able to check whether the file exists
_in the backend_ (not on disk, but in the backend, because of in-memory
test for example), we need to be able to pass the backend to the
iterator intermediate type.

This patch implements this. It does so by changing the internal backend
member of the store from `Box<FileAbstraction>` to
`Arc<FileAbstraction>`, which gives us the ability to clone the
reference to the backend easily without needing to rely on lifetimes
here, because of the Arc.

Also, less boxes are always good.
2018-05-01 21:08:57 +02:00
bin Refactor imag-wiki to new store iterator interface 2018-05-01 17:44:20 +02:00
doc Remove "stdio" file abstraction from store implementation 2018-04-24 22:16:40 +02:00
lib Pass around Arc<FileAbstraction> internally 2018-05-01 21:08:57 +02:00
scripts Add imag-git in release script 2018-04-24 13:56:11 +02:00
.editorconfig Remove Makefile/html config, set {md,yaml,nix} indent to 4 spaces 2017-09-08 16:28:21 +02:00
.gitignore Ignore Intellij-IDEA dotfiles 2018-01-29 09:38:32 +01:00
.travis.yml Integrate version-updated script 2018-04-22 13:38:24 +02:00
build.rs Use "::std" instead of "std" 2018-04-14 14:19:28 +02:00
Cargo.toml Add imag-git command 2018-04-24 13:56:11 +02:00
CHANGELOG.md Add changelog 2017-09-01 14:25:00 +02:00
CONTRIBUTING.md Move contributing guidelines to documentation 2017-08-11 09:11:12 +00:00
default.nix Add libtool in default.nix 2018-01-13 01:23:08 +01:00
imagrc.toml Add imag-git command 2018-04-24 13:56:11 +02:00
LICENSE Add LICENSE file 2015-11-08 17:35:49 +01:00
README.md Update README 2018-01-29 09:38:32 +01:00

imag - imag-pim.org

imag is a commandline personal information management suite.

Build Status Issue Stats Issue Stats license Tokei

This application is in early development. There are some things that work, but we do not consider anything stable or usable at this moment. Feel free to play around anyways.

Goal / What is imag?

Our (long-term) goal is to

Create a fast, reliable commandline personal information management suite which covers all aspects of personal information management, consists of reusable parts and integrates well with known commandline tools.

Yes, imag is a rather ambitious project as it tries to reimplement functionality for several "personal information management aspects". It is a hobby project, keep that in mind. We try to use standards like vcard, icalendar and others wherever possible.

Have a look at the documentation for some more words on this.

Building/Running

Here is how to try imag out.

imag is a suite/collection of tools (like git, for example) and you can build them individually. All subdirectories prefixed with "libimag" are libraries. All subdirectories prefixed with "imag-" are binaries and compiling them will give you a commandline application.

Building

We use cargo for building all crates in this repository. Make sure to use a recent cargo, at least one with workspace support. Building all crates works with cargo build --all, building individual crates by cding to their directory and calling cargo build.

For building all commandline applications:

find bin -maxdepth 3 -name Cargo.toml -exec cargo build --manifest-path {} \;

For building only the core functionality

find bin/core -maxdepth 3 -name Cargo.toml -exec cargo build --manifest-path {} \;

Running

After you build the module you want to play with, you can simply call the binary itself with the --help flag, to get some help what the module is capable of.

If you installed the module, you can either call imag-<modulename> (if the install-directory is in your $PATH), or install the imag binary to call imag <modulename> (also if everything is in your $PATH).

Staying up-to-date

We have a official website for imag, where I post release notes and monthly(ish) updates what's happening in the source tree (RSS here).

We also have a mailinglist where I post updates and where discussion and questions are encouraged.

Documentation

We have some documentation in the ./doc subtree which can be compiled to PDF or a website. It might not be up to date, though. Developer documentation for the last release is available on docs.rs.

Please contribute!

We are looking for contributors! Feel free to open issues for asking questions, suggesting features or other things!

Also have a look at the CONTRIBUTING.md file!

Contact

Feel free to join our new IRC channel at freenode: #imag or our mailinglist.

License

We chose to distribute this software under terms of GNU LGPLv2.1.