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

Export email reports for past reports #158

Open
ignaciocabeza opened this issue Jun 15, 2021 · 2 comments
Open

Export email reports for past reports #158

ignaciocabeza opened this issue Jun 15, 2021 · 2 comments
Labels
backlog Backlog

Comments

@ignaciocabeza
Copy link

Hi @fescobar,

Thanks for creating this docker images and the API. It's really useful.

I had a requirement in my company about export past report with the "Export emailable report" feature. Is there some workaround to generate reports for previous reports?

If not, do you think it can be possible to add this option as a feature in the API? I'm open to contribute if you think is possible

@fescobar fescobar added the question Further information is requested label Jun 15, 2021
@fescobar
Copy link
Owner

Hi @ignaciocabeza
Currently, the report folder is hardcoded to latest.
https://github.com/fescobar/allure-docker-service/blob/master/allure-docker-api/app.py#L1139
I think you should create a new optional query parameter named report_id (by default latest) and get the specific report.
You don't need to check if a process is running for the past reports. The same when you export that report.
You can create a PR from my beta branch and once you finished I could review that. Thank you in advance.

@fescobar fescobar added the waiting for answer Waiting for user's answer label Jun 15, 2021
@ignaciocabeza
Copy link
Author

Hi @fescobar. Good!.

I will check beta branch. Thanks for the tips.

@fescobar fescobar added backlog Backlog and removed question Further information is requested waiting for answer Waiting for user's answer labels Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Backlog
Projects
None yet
Development

No branches or pull requests

2 participants