Skip to content
Snippets Groups Projects
Commit b5624594 authored by Andre Maroneze's avatar Andre Maroneze
Browse files

[doc/release] clarification about local usage of opam repository

parent 7351b4b6
No related branches found
No related tags found
Loading
...@@ -154,8 +154,8 @@ You'll need a GitHub account to create a pull request on the official opam repos ...@@ -154,8 +154,8 @@ You'll need a GitHub account to create a pull request on the official opam repos
\item Create a new directory: \\ \item Create a new directory: \\
\texttt{packages/frama-c/frama-c.<version>} \\ \texttt{packages/frama-c/frama-c.<version>} \\
\item Copy the file \texttt{opam/opam} from the release \item Copy the file \texttt{opam/opam} from the release
to the opam repository clone in to the opam repository clone in: \\
\texttt{packages/frama-c/frama-c.<version>/opam}. \texttt{packages/frama-c/frama-c.<version>/opam}
\item Compute the MD5sum of the .tar.gz file and update the \texttt{opam} file \item Compute the MD5sum of the .tar.gz file and update the \texttt{opam} file
with the following entry: with the following entry:
\begin{verbatim} \begin{verbatim}
...@@ -175,6 +175,11 @@ opam install frama-c ...@@ -175,6 +175,11 @@ opam install frama-c
\end{verbatim} \end{verbatim}
(of course, if you already create a local switch before and it uses your (of course, if you already create a local switch before and it uses your
local version of the repository, you just have to switch to it). local version of the repository, you just have to switch to it).
\textbf{Note:} uncommitted changes are ignored by \texttt{opam repository};
you have to locally commit them before \texttt{opam update} will take them into
account.
\item Create a branch with any name you want (e.g. frama-c.<version>) and push it to your remote Github \item Create a branch with any name you want (e.g. frama-c.<version>) and push it to your remote Github
\item Create a pull request to opam-repository. If all tests pass, \item Create a pull request to opam-repository. If all tests pass,
someone from opam should merge it for you. someone from opam should merge it for you.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment