You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 13, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+9-15Lines changed: 9 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,10 @@
1
-
Codecov API
2
-
-----------
1
+
## Codecov API
3
2
4
3
> We believe that everyone should have access to quality software (like Sentry), that’s why we have always offered Codecov for free to open source maintainers.
5
4
>
6
5
> By making our code public, we’re not only joining the community that’s supported us from the start — but also want to make sure that every developer can contribute to and build on the Codecov experience.
7
6
8
-
A private Django REST Framework API intended to serve Codecov's front end.
7
+
A private Django REST Framework API intended to serve Codecov's front end.
9
8
10
9
## Getting Started
11
10
@@ -21,7 +20,7 @@ Note, you'll need to install Rust to build `ribs` which is a dependency of `shar
21
20
22
21
### Running Standalone
23
22
24
-
This project contains a `docker-compose.yml` file that is intended to run the api standalone. In this configuration it **does not** share codecov.io's development database; so don't expect parity there.
23
+
This project contains a `docker-compose.yml` file that is intended to run the api standalone. In this configuration it **does not** share codecov.io's development database; so don't expect parity there.
25
24
26
25
To start the service, do
27
26
@@ -33,7 +32,7 @@ Once running, the api will be available at `http://localhost:5100`
33
32
34
33
### Running with codecov.io
35
34
36
-
This service will startup when you run codecov.io normally. It is under that `api` block of codecov.io's `docker-compose.yml` file.
35
+
This service will startup when you run codecov.io normally. It is under that `api` block of codecov.io's `docker-compose.yml` file.
37
36
38
37
### Testing
39
38
@@ -48,7 +47,7 @@ If you would like to use pytest directly (Either through an IDE like PyCharm or
Make sure to have all the requirements from `requirements.txt` installed.
50
+
Make sure to have all the latest dependencies installed via `uv sync`.
52
51
53
52
### Deploying
54
53
@@ -69,23 +68,18 @@ Steps 2 and 3 are important to limit interaction between features not yet merged
69
68
This project should store no secrets or credentials in its source. If you need to add to / modify / setup secrets for this project, contact Eli and he'll get you started..
70
69
71
70
### Adding dependencies
72
-
This repository uses `pip-tools` to manage dependencies, so make sure you've installed it with `pip install pip-tools`. To add or update dependencies, change `requirements.in`, Then run
73
71
74
-
```
75
-
pip-compile requirements.in
76
-
```
77
-
78
-
Do not change `requirements.txt` directly.
72
+
This repository uses `uv` to manage dependencies, so make sure you've installed it with `pip install uv`. To add or update dependencies, simply run `uv add __package_name__` or `uv sync`.
79
73
80
74
### Formatting
81
75
82
-
This project uses `ruff` for formatting.
83
-
You can run the linter using the command `make lint`.
76
+
This project uses `ruff` for formatting.
77
+
You can run the linter using the command `make lint_local`.
84
78
85
79
### Migrations
86
80
87
81
We leverage Django's migration system to keep the state of our models in sync with the state of our database. You can read more about how we work with migrations at https://codecovio.atlassian.net/wiki/spaces/ENG/pages/1696530442/Migrations
88
82
89
83
## Contributing
90
84
91
-
This repository, like all of Codecov's repositories, strives to follow our general [Contributing guidlines](https://github.com/codecov/contributing). If you're considering making a contribution to this repository, we encourage review of our Contributing guidelines first.
85
+
This repository, like all of Codecov's repositories, strives to follow our general [Contributing guidlines](https://github.com/codecov/contributing). If you're considering making a contribution to this repository, we encourage review of our Contributing guidelines first.
0 commit comments