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

Don't break reports during 'project' report regeneration #129

Open
rcampbel3 opened this issue Dec 5, 2019 · 2 comments
Open

Don't break reports during 'project' report regeneration #129

rcampbel3 opened this issue Dec 5, 2019 · 2 comments

Comments

@rcampbel3
Copy link

Hi,

First off - I love exakat! Thank you!

Here's an issue I've noticed: I have a very large and complex code repository that takes a very long time for me to run:

php ./exakat project -p $REPO

I'm running this on a 4CPU, 31GB VM, so... I've got some horsepower behind this, and it's still taking a long time...

The problem I'm facing is that while I'm running exakat on a project, it makes that report generate a 404 until the processing is complete.

Is there any way that new report processing could move from one atomic state to another so that we can continue to view the old report while the new report data is being generated?

@exakat
Copy link
Owner

exakat commented Oct 24, 2020

Indeed, the 'project' command removes the report at once, while it could rely on the 'report' command to do this, when the report is almost ready to be published. That is a good idea.

As for keeping multiple reports, it is beyond exakat current set of command, as it would lead into managing report versions and storage. This is probably better as an external script, that steers exakat, and move the reports (with naming convention) into a good storage.

@rcampbel3
Copy link
Author

I wasn't thinking about keeping multiple reports -- more like building a new report in a new directory, and only deleting/moving/changing symlink and cleaning up after the report finishes successfully. That would ensure that the reports on the web are always accessible, and should exakat project fail, at least the old data remains visible. You're also right -- I could script around this too, but I do think this would be desirable. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants