From 884d85de569e25319bbe23b39012d0374a0025bd Mon Sep 17 00:00:00 2001 From: Fabian Koller Date: Fri, 26 Feb 2021 19:39:44 +0100 Subject: [PATCH 1/2] Fix GitHub actions Follow-up to #630. The check for the target git sha can does not work in the molecule step. Instead expose the sha through an env variable in GitHub actions. --- .github/workflows/ansible.yml | 2 ++ ansible/molecule/default/converge.yml | 8 +------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ansible.yml b/.github/workflows/ansible.yml index c49ce2abc..7467806c9 100644 --- a/.github/workflows/ansible.yml +++ b/.github/workflows/ansible.yml @@ -48,6 +48,8 @@ jobs: molecule idempotence molecule verify working-directory: "${{ github.repository }}" + env: + TARGET_GITHUB_SHA: "${{ github.event.pull_request.head.sha }}" # # https://galaxy.ansible.com/docs/contributing/importing.html # release: # runs-on: ubuntu-latest diff --git a/ansible/molecule/default/converge.yml b/ansible/molecule/default/converge.yml index c70c54d39..c7f43c877 100644 --- a/ansible/molecule/default/converge.yml +++ b/ansible/molecule/default/converge.yml @@ -2,15 +2,9 @@ - name: update previous release to newest release hosts: all tasks: - - name: install git dependency - apt: - pkg: git - - name: obtain latest git hash in current tree - command: git rev-parse HEAD - register: git_hash - name: set current github commit as version when available set_fact: - paperlessng_version: "{{ git_hash.stdout }}" + paperlessng_version: "{{ lookup('env', 'TARGET_GITHUB_SHA') | default('master', True) }}" - name: update to newest paperless-ng release include_role: name: ansible From 986dc5cac96966d75c98fd1867d36c9f6c22e4c4 Mon Sep 17 00:00:00 2001 From: HolzHannes Date: Sun, 28 Feb 2021 20:23:38 +0100 Subject: [PATCH 2/2] Update to status of affiliateded projects --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b21173ba5..e59535af4 100644 --- a/README.md +++ b/README.md @@ -104,9 +104,13 @@ Paperless has been around a while now, and people are starting to build stuff on These projects also exist, but their status and compatibility with paperless-ng is unknown. -* [Paperless Desktop](https://github.com/thomasbrueggemann/paperless-desktop): A desktop UI for your Paperless installation. Runs on Mac, Linux, and Windows. * [paperless-cli](https://github.com/stgarf/paperless-cli): A golang command line binary to interact with a Paperless instance. +This project also exists, but needs updates to be compatile with paperless-ng. + +* [Paperless Desktop](https://github.com/thomasbrueggemann/paperless-desktop): A desktop UI for your Paperless installation. Runs on Mac, Linux, and Windows. + Known issues on Mac: (Could not load reminders and documents) + # Important Note Document scanners are typically used to scan sensitive documents. Things like your social insurance number, tax records, invoices, etc. Everything is stored in the clear without encryption. This means that Paperless should never be run on an untrusted host. Instead, I recommend that if you do want to use it, run it locally on a server in your own home.