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

Import recipes from Crouton #3111

Open
617a7aa opened this issue Apr 13, 2024 · 7 comments
Open

Import recipes from Crouton #3111

617a7aa opened this issue Apr 13, 2024 · 7 comments
Labels
enhancement New feature or request [feat] App Import application importers

Comments

@617a7aa
Copy link

617a7aa commented Apr 13, 2024

Is your feature request related to a problem? Please describe.

I'm trying to move my recipes from the Crouton app to Tandoor

Describe the solution you'd like

Be able to import recipes from Crouton

Describe alternatives you've considered

No response

Additional context

No response

@617a7aa 617a7aa added the enhancement New feature or request label Apr 13, 2024
@smilerz
Copy link
Collaborator

smilerz commented Apr 13, 2024

Please share a sample of the export data.

@617a7aa
Copy link
Author

617a7aa commented Apr 14, 2024

Crouton exports to a ZIP file containing a bunch of .crumb files, which look to be JSON. crouton-sampl.zip

@vabene1111
Copy link
Collaborator

perfect, thank you for the sample data.

@vabene1111 vabene1111 added the [feat] App Import application importers label Apr 14, 2024
@ellezhu1
Copy link
Contributor

I would like to work on this! I think I will have enough confidence and experience working in this area after my fixes for existing integrations have been accepted into the code base.

@vabene1111
Copy link
Collaborator

feel free to give it a go! If you need any help let me know. Some "notes" for you that might help: new importers need to be added in the frontend config file (so they show up) and in the api to direct the right request to the right importer.

Also depending on the format you need to change integration.py, sadly that architecture has become a mess over the years, I need to clean that up at some point but it should work for now.

@ellezhu1
Copy link
Contributor

What is the path to the config file that you are referring to?

I have added the new importer to forms.py and import_export.py which are called by api.py

@vabene1111
Copy link
Collaborator

yea that is what sadly is kind of a bit confusing, its the vue/src/utils/integration.js that is needed for the frontend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request [feat] App Import application importers
Projects
None yet
Development

No branches or pull requests

4 participants