-
Notifications
You must be signed in to change notification settings - Fork 29
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
2024 refactor part 3/3: cleanup #801
Conversation
872ec30
to
db91e6d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am mostly okay with all these changes; I asked questions when unsure!
app.extensions["limiter"] = self | ||
|
||
def get_lowest_daily_quotas_summary(self, n=20) -> List[Tuple[int, float]]: | ||
return self._limiter.get_lowest_daily_quotas_summary(n) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file was a duplicate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
@@ -1,2 +0,0 @@ | |||
lz4cat meta-closure.sql.lz4 | psql -U postgres -h localhost -p 5433 measurements -f sample-dump.sql | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does refresh this script?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand the question.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neither do I, it was phrased incorrectly. I mean to ask:
What does replace this script?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No idea, probably nothing.
This commit should be reverted prior to merge (see 🔄 emoji 🙃)
Co-authored-by: Simone Basso <bassosimone@gmail.com>
0cdde89
to
145e088
Compare
Co-authored-by: Simone Basso <bassosimone@gmail.com>
…2024-refactor_cleanup * '2024-refactor_cleanup' of github.com:ooni/backend: Update README.md
Part 3/3
As part of this PR, everything that is dead code, is removed from the source tree.
This includes:
af/
-> this was the old airflow postgresql related codeold_backend/
-> this was the super old pre-2016 twisted based backenddocs/
-> contained documentation about the ~2016 data pipelineReadme.md
-> Still talks about some super old stuffrate_limit_quotas.py
-> duplicate of file inside ooniapi/rate_limit_quotas.pyooniapi/scripts
-> these scripts expect a postgresql database, which doesn't exist anymoreapi/refresh_deps
-> non-existent files are referenced in itmarkdown/*
-> these docs are not used anywhere and are superseeded by the swagger based docsSuperseeds:
#797
#798
#791