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
Version 3.10 of Copilot is ready and 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.
Desired result
Cabal files indicate new version number, constraints are adjusted as needed, commit is tagged with version number, and packages are published on hackage.
Proposed solution
Cabal files indicate new version number, constraints are adjusted as needed, commit is tagged with version number, and packages are published on hackage.
The solution proposed addresses the necessary modification to cabal packages. The following docker image installs copilot enforcing the new version via compiler constraints. It prints the message "Success" at the end if all completes correctly, and shows an error message otherwise.
FROM ubuntu:focal
RUN apt-get update
RUN apt-get install --yes libz-dev
RUN apt-get install --yes git
RUN apt-get install --yes wget
RUN mkdir -p $HOME/.ghcup/bin
RUN wget https://downloads.haskell.org/~ghcup/0.1.17.7/x86_64-linux-ghcup-0.1.17.7 -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/
RUN apt-get install --yes curl
RUN apt-get install --yes gcc make libgmp3-dev
RUN ghcup install ghc 9.0
RUN ghcup install cabal 3.4
RUN ghcup set ghc 9.0.2
RUN cabal update
SHELL ["/bin/bash", "-c"]
CMD git clone $REPO \
&& cd $NAME \
&& git checkout $COMMIT \
&& cabal install --lib copilot**/ \
--constraint="copilot==3.10" \
--constraint="copilot-c99==3.10" \
--constraint="copilot-core==3.10" \
--constraint="copilot-language==3.10" \
--constraint="copilot-libraries==3.10" \
--constraint="copilot-theorem==3.10" \
&& echo Success
Command (substitute variables based on new path after merge):
Activity
ivanperez-keera commentedon Jul 7, 2022
Change Manager: Confirmed version is ready to be released.
ivanperez-keera commentedon Jul 7, 2022
Technical Lead: Confirmed that the issue should be addressed.
ivanperez-keera commentedon Jul 7, 2022
Technical Lead: Issue scheduled for Copilot 3.10.
Fix assigned to: @ivanperez-keera.
Bump versions and constraints (3.10). Refs Copilot-Language#356.
Document changes in CHANGELOG. Refs Copilot-Language#356.
ivanperez-keera commentedon Jul 7, 2022
Implementor: solution implemented, review requested.
ivanperez-keera commentedon Jul 7, 2022
Change Manager: Verified that:
Build log: https://app.travis-ci.com/github/Copilot-Language/copilot/builds/252946079
No changes to the documentation needed (change to fields in cabal).
No examples affected.
No bump needed (but implemented by the change).
ivanperez-keera commentedon Jul 7, 2022
Change Manager: Implementation ready to be merged.