Skip to content

Commit

Permalink
Add comment explaining how to update reqs file (#202)
Browse files Browse the repository at this point in the history
Also included is an accidental edit to the docsite instructions that
made sense.

b/322392437
  • Loading branch information
oxve authored Jul 11, 2024
1 parent 314adcd commit 321d5bf
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cobalt/site/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
3. Run it to regenerate the site.

```shell
$ docker run -it --mount type=bind,source=$(pwd),target=/code docsite
$ docker run -it --mount type=bind,source=${COBALT_SRC},target=/code docsite
```

4. (Optional) To preview the changes you must commit the generated files and
Expand Down
6 changes: 6 additions & 0 deletions docker/linux/linux-x64x11/requirements.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# IMPORTANT: Remember to also update requirements.txt when updating this file:
# $ docker run -it --mount type=bind,source=${COBALT_SRC},target=/code -w /code python:3.8 /bin/bash
# In the container:
# $ pip3 install pip-tools
# $ pip-compile --allow-unsafe --generate-hashes path/to/requirements.in

selenium==3.141.0
Brotli==1.0.9
6 changes: 6 additions & 0 deletions docker/linux/unittest/requirements.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# IMPORTANT: Remember to also update requirements.txt when updating this file:
# $ docker run -it --mount type=bind,source=${COBALT_SRC},target=/code -w /code python:3.8 /bin/bash
# In the container:
# $ pip3 install pip-tools
# $ pip-compile --allow-unsafe --generate-hashes path/to/requirements.in

selenium==3.141.0
Brotli==1.0.9
junitparser==2.8.0
6 changes: 6 additions & 0 deletions docker/precommit_hooks/requirements.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# IMPORTANT: Remember to also update requirements.txt when updating this file:
# $ docker run -it --mount type=bind,source=${COBALT_SRC},target=/code -w /code python:3.8 /bin/bash
# In the container:
# $ pip3 install pip-tools
# $ pip-compile --allow-unsafe --generate-hashes path/to/requirements.in

pre-commit<3
cpplint<2
yapf<1
Expand Down
6 changes: 6 additions & 0 deletions docker/pytest/requirements.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# IMPORTANT: Remember to also update requirements.txt when updating this file:
# $ docker run -it --mount type=bind,source=${COBALT_SRC},target=/code -w /code python:3.8 /bin/bash
# In the container:
# $ pip3 install pip-tools
# $ pip-compile --allow-unsafe --generate-hashes path/to/requirements.in

pytest>=7.2.0
coverage<7
requests>=2.31.0
Expand Down
6 changes: 6 additions & 0 deletions docker/windows/base/build/requirements.in
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# IMPORTANT: Remember to also update requirements.txt when updating this file:
# $ docker run -it --mount type=bind,source=${COBALT_SRC},target=/code -w /code python:3.8 /bin/bash
# In the container:
# $ pip3 install pip-tools
# $ pip-compile --allow-unsafe --generate-hashes path/to/requirements.in

six
6 changes: 6 additions & 0 deletions precommit_hooks/requirements.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# IMPORTANT: Remember to also update requirements.txt when updating this file:
# $ docker run -it --mount type=bind,source=${COBALT_SRC},target=/code -w /code python:3.8 /bin/bash
# In the container:
# $ pip3 install pip-tools
# $ pip-compile --allow-unsafe --generate-hashes path/to/requirements.in

pre-commit<3
cpplint<2
yapf<1
Expand Down

0 comments on commit 321d5bf

Please sign in to comment.