Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kshpytsya/conan-client-remote-s3
Serverless Conan remote storing packages in S3 bucket
https://github.com/kshpytsya/conan-client-remote-s3
conan s3
Last synced: 3 months ago
JSON representation
Serverless Conan remote storing packages in S3 bucket
- Host: GitHub
- URL: https://github.com/kshpytsya/conan-client-remote-s3
- Owner: kshpytsya
- License: mit
- Created: 2020-06-05T14:09:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-15T17:05:03.000Z (over 3 years ago)
- Last Synced: 2024-09-27T06:42:41.485Z (3 months ago)
- Topics: conan, s3
- Language: Python
- Size: 11.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# conan-client-remote-s3
A bare-bones serverless Conan remote storing packages in S3 bucket.
This grew out of [this](https://github.com/conan-io/conan/issues/7115) discussion.
This package relies on [requests-adapter-injector](https://github.com/kshpytsya/requests-adapter-injector)
which does some global injection trickery, so it is recomended, if you do not do so already,
to install Conan in a dedicated venv. You may want to try [pipx](https://pypi.org/project/pipx/) tool
to manage venvs for Python-based tools.If using `pipx`, you can install this as `pipx install conan && pipx inject conan conan-client-remote-s3`,
or just `pipx inject conan conan-client-remote-s3` if you already have Conan installed via `pipx`.Otherwise, doing it manually:
```
$ python -mvenv venv
$ venv/bin/pip install conan conan-client-remote-s3
```To add a remote do
```
$ conan remote add conan-s3://
```Note that this remote does not support revisions, and most probably will not, as doing so would require
some distributed locking. [This](https://pypi.org/project/python-dynamodb-lock/) library implements
locking using AWS DynamoDB, however this would increase operational complexity.Note: search functionality is yet to be implemented.