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

Continuous parser #294

Open
filipsch opened this issue Feb 1, 2017 · 1 comment
Open

Continuous parser #294

filipsch opened this issue Feb 1, 2017 · 1 comment

Comments

@filipsch
Copy link
Contributor

filipsch commented Feb 1, 2017

Currently, the parser is incremental: it parses new packages, and stores the doc files in the database. Old packages that were parsed before, are not being re-parsed.
If we update the parsing logic, we want all pages and docs to benefit from these changes.
Proposal: put a system in place that reparses everything e.g. every month.

@filipsch
Copy link
Contributor Author

To make sure that it doesn't start processing huge batches as soon as we start it up, we can do two checks in the first months:

  • was the package update more than 27 days ago?
  • Was the last package release on the same day of the month as we are now?
    That way, the jobs are going to be spread out more evenly until the updates have happened for all packages.

@ludov04 ludov04 marked this as a duplicate of #367 Jul 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant