Skip to content

Commit

Permalink
Initial conan support (#122)
Browse files Browse the repository at this point in the history
* Initial conan support

* Fixed documentation. We currently support only Conan 1.x
  • Loading branch information
ChGen authored Oct 2, 2023
1 parent ffd20ad commit dbbfdb5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/html/repository/create
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ function formSubmit() {
<option value="nuget">Nuget</option>
<option value="go">Go</option>
<option value="conda">Anaconda</option>
<option value="conan">Conan</option>
<option value="maven-proxy">Maven proxy (mirror)</option>
<option value="file-proxy">Binary proxy (mirror)</option>
<option value="npm-proxy">NPM proxy (mirror)</option>
Expand Down
13 changes: 13 additions & 0 deletions src/main/resources/info/conan.info.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
To install conan packages from Artipie, add repository URL to conan using command below.
Note that `False` is required to force disable SSL protocol.
Check <a href="https://docs.conan.io/en/1.61/uploading_packages.html">documentation for Conan 1.x</a> for more details):

<pre>
conan remote add conan-test http://artipie.artipie:9300 False
</pre>

When you upload or download package you can specify remote repository explicitly in conan client by `-r` option.
<pre>
conan upload -r conan-test ...
conan download -r conan-test ...
</pre>

0 comments on commit dbbfdb5

Please sign in to comment.