Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Github Action] Integrate JSON version of .conf file as per YNAP project #319

Open
nocalla opened this issue Jan 9, 2020 · 0 comments
Open
Labels
project automation Make the robots do the heavy lifting Project Friends Like minded projects

Comments

@nocalla
Copy link
Member

nocalla commented Jan 9, 2020

Other feature request

Is your feature request related to a problem? Please describe.
As per #270, the concept of a drag n' drop conversion website has been taken up by @leolabs' https://github.com/leolabs/you-need-a-parser project, meaning our #266 website idea is slightly redundant. However, we could at least integrate the efforts of the two projects by providing an up-to-date config file that YNAP can use.

Describe the solution you'd like
#270 (comment)

Thanks! I've extracted my script to generate the JSON config into a separate NPM package called ynap-bank2ynab-converter (source code). It fetches the current bank2ynab config from a given branch of your repo (default: master) and generates the JSON config. You can easily run it like this, given that you have node, npm, and npx installed:

$ npx ynap-bank2ynab-converter
If you want to use the tool pre-commit, I can include an option to provide a local config file instead of the GitHub branch. Maybe you can also use GitHub Actions, GitLab CI or Travis CI to automatically commit the generated JSON file to your repo.

We could use the idea of a Github Action workflow to use @leolabs automatic conversion and provide a one-stop shop for conversion formats. This reduces the effort fragmentation without adding to anyone's workload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project automation Make the robots do the heavy lifting Project Friends Like minded projects
Projects
None yet
Development

No branches or pull requests

1 participant