Skip to content

Commit 25a0db2

Browse files
authored
chore: advance opam pin to use newer dependencies (#3131)
1 parent 8116bd6 commit 25a0db2

File tree

11 files changed

+16
-11
lines changed

11 files changed

+16
-11
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM ocaml/opam:debian-ocaml-5.2
22

33
# Branch freeze was opam-repo HEAD at the time of commit
4-
RUN cd ~/opam-repository && git checkout -b freeze c45f5bab71d3589f41f9603daca5acad14df0ab0 && opam update
4+
RUN cd ~/opam-repository && git checkout -b freeze 584630e7a7e27e3cf56158696a3fe94623a0cf4f && opam update
55

66
# Dev tools
77
RUN opam install -y dune-release merlin ocamlformat=0.26.2 utop ocaml-lsp-server

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
ocaml-compiler: ${{ matrix.ocaml-compiler }}
3636
dune-cache: ${{ matrix.os != 'macos-latest' }}
3737
opam-repositories: |
38-
pin: git+https://github.com/ocaml/opam-repository#c45f5bab71d3589f41f9603daca5acad14df0ab0
38+
pin: git+https://github.com/ocaml/opam-repository#584630e7a7e27e3cf56158696a3fe94623a0cf4f
3939
opam-disable-sandboxing: true
4040

4141
- name: Install system dependencies (Linux)

.github/workflows/debug-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
ocaml-compiler: ${{ matrix.ocaml-compiler }}
2929
dune-cache: ${{ matrix.os != 'macos-latest' }}
3030
opam-repositories: |
31-
pin: git+https://github.com/ocaml/opam-repository#c45f5bab71d3589f41f9603daca5acad14df0ab0
31+
pin: git+https://github.com/ocaml/opam-repository#584630e7a7e27e3cf56158696a3fe94623a0cf4f
3232
opam-disable-sandboxing: true
3333

3434
- name: Install system dependencies (Linux)

.github/workflows/linkcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
ocaml-compiler: ${{ matrix.ocaml-compiler }}
3434
dune-cache: ${{ matrix.os != 'macos-latest' }}
3535
opam-repositories: |
36-
pin: git+https://github.com/ocaml/opam-repository#c45f5bab71d3589f41f9603daca5acad14df0ab0
36+
pin: git+https://github.com/ocaml/opam-repository#584630e7a7e27e3cf56158696a3fe94623a0cf4f
3737
opam-disable-sandboxing: true
3838

3939
- name: Install olinkcheck

.github/workflows/scrape.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
ocaml-compiler: ${{ matrix.ocaml-compiler }}
3131
dune-cache: ${{ matrix.os != 'macos-latest' }}
3232
opam-repositories: |
33-
pin: git+https://github.com/ocaml/opam-repository#c45f5bab71d3589f41f9603daca5acad14df0ab0
33+
pin: git+https://github.com/ocaml/opam-repository#584630e7a7e27e3cf56158696a3fe94623a0cf4f
3434
opam-disable-sandboxing: true
3535

3636
- name: Install system dependencies

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN sudo apk -U upgrade --no-cache && sudo apk add --no-cache \
1111
openssl-dev
1212

1313
# Branch freeze was opam-repo HEAD at the time of commit
14-
RUN cd ~/opam-repository && git reset --hard c45f5bab71d3589f41f9603daca5acad14df0ab0 && opam update
14+
RUN cd ~/opam-repository && git reset --hard 584630e7a7e27e3cf56158696a3fe94623a0cf4f && opam update
1515

1616
WORKDIR /home/opam
1717

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ deps: create_switch ## Install development dependencies
1111

1212
.PHONY: create_switch
1313
create_switch: ## Create switch and pinned opam repo
14-
opam switch create . 5.2.0 --no-install --repos pin=git+https://github.com/ocaml/opam-repository#c45f5bab71d3589f41f9603daca5acad14df0ab0
14+
opam switch create . 5.2.0 --no-install --repos pin=git+https://github.com/ocaml/opam-repository#584630e7a7e27e3cf56158696a3fe94623a0cf4f
1515

1616
.PHONY: switch
1717
switch: deps ## Create an opam switch and install development dependencies

dune-project

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
"This repository contains the server that serves the official OCaml website at https://ocaml.org.")
3535
(depends
3636
(ocaml
37-
(>= 4.14.0))
38-
dune
37+
(>= 5.2.0))
3938
ppx_deriving
4039
cohttp
4140
cohttp-lwt-unix

dune-workspace

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
(lang dune 3.19)
2+
3+
(repository (name pinned_opam_repository) (url git+https://github.com/ocaml/opam-repository#584630e7a7e27e3cf56158696a3fe94623a0cf4f))
4+
5+
(lock_dir
6+
(repositories pinned_opam_repository))

ocamlorg.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ homepage: "https://github.com/ocaml/ocaml.org"
1818
doc: "https://ocaml.github.io/ocaml.org/"
1919
bug-reports: "https://github.com/ocaml/ocaml.org/issues"
2020
depends: [
21-
"ocaml" {>= "4.14.0"}
2221
"dune" {>= "3.15"}
22+
"ocaml" {>= "5.2.0"}
2323
"ppx_deriving"
2424
"cohttp"
2525
"cohttp-lwt-unix"

0 commit comments

Comments
 (0)