Template versioning that can be controlled by git
It would nice if you had some kind of versioning that would allow templates to be checked into (or somehow controlled by git). We have integrated Parseur with our custom internal system that communicates with Parseur by API. The code in our system is all controlled by git, so we can create reproducible builds. However, every time we make a change to something in Parseur, it must be done manually. This is prone to error, especially when you have dozens of templates.
If we could control our Parseur templates with git, that would make life much easier. It would also make it easier to create regression tests that we could run to make sure all the old and new templates are working correctly.
If you do not want to allow your templates to be directly checked into git, perhaps you could provide some kind of unique token (checksum hash, UUID, etc) that is associated with a template. Then we could use that token to control which templates are active (via your API).
Comments: 3
-
27 Oct, '23
Jeff GrovesAny updates on this? Being able to check my templates into git would still be useful. I know you probably want to protect your proprietary code, so perhaps you could provide some API calls that would let us fetch/store an encrypted version of a template (just a data blob). Then we could store that data in our git repository. If we need to rollback to a different version of a template, we could check out an old version and use your API to update the template on your system.
-
27 Oct, '23
Sylvestre Dupont AdminWe don't have plans to roll out git integration at the moment as most of our customer base demographics aren't developers. That being said, you can already use the API to fetch templates and save them as JSON if you'd like: https://help.parseur.com/en/articles/3566128-use-parseur-document-parsing-api#manage-templates-in-a-mailbox.
-
02 Nov, '23
Jeff GrovesYour API call to fetch a template would work if there was a corresponding API call to update a template. Right now the only way I can see to create/update a template is via your web interface.