Commit 60e30ec
committed
Merge branch 'release-4.6.1'. Close #705.
**Description**
Version 4.6.1 of Copilot should be closed and published on Hackage.
**Type**
- Management: release and publication.
**Additional context**
None.
**Requester**
- Ivan Perez.
**Method to check presence of bug**
Not applicable (not a bug).
**Expected result**
- Cabal files indicate new version number, constraints are adjusted as
needed, commit is tagged with version number, and packages are
published on hackage.
The following docker image installs copilot enforcing the new version
via compiler constraints. Packages not currently listed under the
cabal.project file are also included, and some incompatibilities not
captured in the cabal files are captured via compiler constraints. It
prints the message "Success" at the end if all completes correctly, and
shows an error message otherwise.
```Dockerfile
FROM ubuntu:focal
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install --yes \
libz-dev \
git \
curl \
gcc \
g++ \
make \
libgmp3-dev \
pkg-config
RUN mkdir -p $HOME/.ghcup/bin
RUN curl https://downloads.haskell.org/~ghcup/0.1.50.2/x86_64-linux-ghcup-0.1.50.2 -o $HOME/.ghcup/bin/ghcup
RUN chmod a+x $HOME/.ghcup/bin/ghcup
ENV PATH=$PATH:/root/.ghcup/bin/
ENV PATH=$PATH:/root/.cabal/bin/
SHELL ["/bin/bash", "-c"]
RUN ghcup install ghc 9.6
RUN ghcup install cabal 3.14
RUN ghcup set ghc 9.6.7
RUN cabal update
SHELL ["/bin/bash", "-c"]
CMD git clone $REPO \
&& cd $NAME \
&& git checkout $COMMIT \
&& echo " copilot-verifier/copilot-verifier.cabal" >> cabal.project \
&& echo " copilot-visualizer/copilot-visualizer.cabal" >> cabal.project \
&& cabal install \
--package-env . \
--lib \
--constraint="aeson<2.2" \
--constraint="crucible-syntax<0.5.0.0" \
--constraint="crucible-debug<0.1.2.0" \
--constraint="copilot==4.6.1" \
--constraint="copilot-bluespec==4.6.1" \
--constraint="copilot-c99==4.6.1" \
--constraint="copilot-core==4.6.1" \
--constraint="copilot-prettyprinter==4.6.1" \
--constraint="copilot-interpreter==4.6.1" \
--constraint="copilot-language==4.6.1" \
--constraint="copilot-libraries==4.6.1" \
--constraint="copilot-theorem==4.6.1" \
--constraint="copilot-verifier==4.6.1" \
--constraint="copilot-visualizer==4.6.1" \
copilot**/ \
&& echo "Success"
```
Command (substitute variables based on new path after merge):
```
$ docker run -e "REPO=https://github.com/Copilot-Language/copilot" -e "NAME=copilot" -e "COMMIT=<HASH>" -it copilot-verify-705
```
**Solution implemented**
- Cabal files indicate new version number, constraints are adjusted as
needed, commit is tagged with version number, and packages are
published on hackage.
**Further notes**
None.22 files changed
Lines changed: 64 additions & 41 deletions
File tree
- copilot-bluespec
- copilot-c99
- copilot-core
- copilot-interpreter
- copilot-language
- copilot-libraries
- copilot-prettyprinter
- copilot-theorem
- copilot-verifier
- copilot-visualizer
- copilot
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
| 54 | + | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments