From 85f3d9595ddc5b5080ba51cf7cb71bfccf6db8f2 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 29 Aug 2023 11:07:53 +0200 Subject: [PATCH] Update documentation for CI and release info --- README.md | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 8aa6b5b..d2d1574 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # papis-extract - Quickly extract annotations from your pdf files with the help of the [papis](https://github.com/papis/papis) bibliography manager.\ @@ -11,11 +11,14 @@ Easily organize all your highlights and thoughts next to your documents and refe ## Installation: -You can install from pypi with `pip install git+`. +You can install from pypi with `pip install git+https://git.martyoeh.me/Marty/papis-extract.git`. That's it! If you have papis and papis-extract installed in the same environment (whether virtual or global), everything should now be set up. +I am currently working towards the first release for pypi, see the below roadmap; +when that is done you will also be able to install in the usual pypi way. + To check if everything is working you should now see the `extract` command listed when running `papis --help`. You will be set up with the default options but if you want to change anything, read on in configuration below. @@ -166,7 +169,7 @@ The option should generally not take too much tuning, but it is there if you nee This should generally be an alright default but is here to be changed for example if you work with a lot of different annotation colors (where dark purple and light purple may different meanings) and get false positives in automatic tag recognition, or no tags are recognized at all. -## Roadmap +## Roadmap to first release Known issues to be fixed: @@ -183,14 +186,13 @@ features to be implemented: - [ ] CICD - [x] static analysis (lint, typecheck etc) on pushes - - [ ] test pipeline on master pushes + - [x] test pipeline on master pushes - [ ] release pipeline to pypi on tags -- [ ] on_add hook to extract annotations as files are added - - needs upstream help, 'on_add' hook, and pass-through of affected documents - [ ] add page number if available - exists in Annotation, just need to place in output - [ ] show overall amount of extractions at the end - [ ] custom formatting decided by user + - in config as { "myformatter": ">{tag}\n{quote}\n{note}\n{page} etc"} - [ ] improved default exporters - markdown into notes - pretty display on stdout (rich?) @@ -199,6 +201,9 @@ features to be implemented: - [ ] allow custom colors -> tag name settings not dependent on color name existing (e.g. {"important": (1.0,0.0,0.0)}) - [ ] `--overwrite` mode where existing annotations are not dropped but overwritten on same line of note - [ ] `--force` mode where we simply do not drop anything +- [ ] `--format` option to choose from default or set up a custom formatter +- [ ] on_add hook to extract annotations as files are added + - needs upstream help, 'on_add' hook, and pass-through of affected documents upstream changes: