There is a formula on Ritchie that allows the user to create / update a formula repository on Github / Gitlab.
A formula has been created on the community repository to perform:
The initialization of a local repository on Git (if necessary),
The creation of the repository on Github / Gitlab,
The release generation of a new version of the repository,
The addition of the repository to Ritchie local repositories (
rit add repocommand).
rit publish repo
The user has to inform 5 different kinds of inputs:
provider (Github or Gitlab)
local repository path you wish to publish
release version to generate
To publish a formula manually, you need to push it on a Github / Gitlab repository, following these steps:
Have an exclusive repository for formulas on Github / Gitlab.
It can be created from the a local repository, or based on a cloned repository.
Add your formulas to the repository
rit create formula command, or copy / paste folders.
Commit and push the new code to the Github / Gitlab repository.
Generate a new release of the formulas repository.
On this section, you saw how to publish a formula on Ritchie. To keep configuring the formula:
👉 Check out how to share formulas.