Conan Package Registry
Publish Conan packages for your user or organization.
Requirements
To work with the Conan package registry, you need to use the conan command line tool to consume and publish packages.
Configuring the package registry
To register the package registry you need to configure a new Conan remote:
Parameter | Description |
---|---|
remote | The remote name. |
username | Your Forgejo username. |
password | Your Forgejo password. If you are using 2FA or OAuth use a personal access token instead of the password. |
owner | The owner of the package. |
For example:
Publish a package
Publish a Conan package by running the following command:
Parameter | Description |
---|---|
remote | The remote name. |
recipe | The recipe to upload. |
For example:
The Forgejo Conan package registry has full revision support.
Install a package
To install a Conan package from the package registry, execute the following command:
Parameter | Description |
---|---|
remote | The remote name. |
recipe | The recipe to download. |
For example: