Skip to content

Commit feff708

Browse files
committed
feat: move timeseries ORM related code to shared
I want to move the models to shared because I want to be able to use the Django models in the worker.
1 parent ca253c1 commit feff708

24 files changed

+11
-1074
lines changed

codecov/settings_base.py

+1
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@
443443
"profiling": "shared.django_apps.profiling.migrations",
444444
"reports": "shared.django_apps.reports.migrations",
445445
"staticanalysis": "shared.django_apps.staticanalysis.migrations",
446+
"timeseries": "shared.django_apps.timeseries.migrations",
446447
}
447448

448449
# to aid in debugging, print out this info on startup. If no license, prints nothing

requirements.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ freezegun
2525
google-cloud-pubsub
2626
gunicorn>=22.0.0
2727
https://github.com/codecov/opentelem-python/archive/refs/tags/v0.0.4a1.tar.gz#egg=codecovopentelem
28-
https://github.com/codecov/shared/archive/7ba099fa0552244c77a8cc3a4b772216613c09c8.tar.gz#egg=shared
28+
https://github.com/codecov/shared/archive/40301649b4af20a74b39d970a12de29b20996e5c.tar.gz#egg=shared
2929
https://github.com/photocrowd/django-cursor-pagination/archive/f560902696b0c8509e4d95c10ba0d62700181d84.tar.gz
3030
idna>=3.7
3131
minio
@@ -58,4 +58,4 @@ starlette==0.40.0
5858
stripe>=11.4.1
5959
urllib3>=1.26.19
6060
vcrpy
61-
whitenoise
61+
whitenoise

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ sentry-sdk[celery]==2.13.0
416416
# shared
417417
setproctitle==1.1.10
418418
# via -r requirements.in
419-
shared @ https://github.com/codecov/shared/archive/7ba099fa0552244c77a8cc3a4b772216613c09c8.tar.gz
419+
shared @ https://github.com/codecov/shared/archive/40301649b4af20a74b39d970a12de29b20996e5c.tar.gz
420420
# via -r requirements.in
421421
simplejson==3.17.2
422422
# via -r requirements.in

timeseries/migrations/0001_initial.py

-47
This file was deleted.

timeseries/migrations/0002_continuous_aggregates.py

-37
This file was deleted.

timeseries/migrations/0003_cagg_policies.py

-24
This file was deleted.

timeseries/migrations/0004_measurement_summaries.py

-84
This file was deleted.

timeseries/migrations/0005_uniqueness_constraints.py

-35
This file was deleted.

timeseries/migrations/0006_auto_20220718_1311.py

-41
This file was deleted.

timeseries/migrations/0007_auto_20220727_2011.py

-45
This file was deleted.

timeseries/migrations/0008_auto_20220802_1838.py

-24
This file was deleted.

0 commit comments

Comments
 (0)