-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from OCamlPro/z-2020-08-01-use-patches-only
version 0.8.1
- Loading branch information
Showing
35 changed files
with
12,465 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: b05dd1d657c11a530627f584a9eff892 | ||
config: 52c7d40600543a95223541956d3643be | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
|
||
Frequently Asked Questions | ||
========================== | ||
|
||
This section will grow over time, and should gather replies to | ||
Frequently Asked Questions. | ||
|
||
The patch didn't apply correctly. What shall I do ? | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Most of the time, we didn't have time to test a patch that we made for | ||
a version on other versions of the same package. It's often the case | ||
that they will work without modification. | ||
|
||
For a given version of a package, :code:`opam-bin` selects the patch | ||
with the higest version less or equal to the package being installed. | ||
Sometimes, it would be better to use the patch for the version just | ||
higher. This is a good way to solve your problem. | ||
|
||
For that, you will have to use a local version of the | ||
:code:`relocation-patches` directory:: | ||
|
||
git clone git@github.com:OCamlPro/relocation-patches | ||
opam bin config --patches-url file://$(pwd)/relocation-patches | ||
cd relocation-patches/patches/$NAME/ | ||
cp $NEXT_VERSION.patch $VERSION.patch | ||
|
||
Why not upstream patches to opam-repository ? | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Patches in the :code:`relocation-patches` repository should be | ||
upstreamed to :code:`opam-repository` over time, but the problem is | ||
that they should be applied to many versions of the same packages. For | ||
example, the :code:`ocaml-variants` package contains tens of packages | ||
for every version of OCaml. So, it would take a lot of work. Instead, | ||
:code:`opam-bin` is able to automatically patch a range of versions | ||
using a single patch. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.