From a36447e8d8a91287b4de745d8fc98a50f2bf7be3 Mon Sep 17 00:00:00 2001 From: Bincheng Wu Date: Fri, 30 Apr 2021 10:36:33 -0400 Subject: [PATCH] Add guide on how to update the conda-forge package --- CONTRIBUTING.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3f92fe9d..e7c59aed 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -33,3 +33,20 @@ a release will be created and published to the repository > **NOTE**: Pre-releases versions must comply with [PIP 440](https://www.python.org/dev/peps/pep-0440/) in order for > PIPY to appropriately mark them as pre-releases. + +## Updating rsconnect-python on conda-forge + +rsconnect-python exists on conda-forge as its own [feedstock](https://github.com/conda-forge/rsconnect-python-feedstock) + +Updating the package requires a fork of the repository and a [push request](https://github.com/conda-forge/rsconnect-python-feedstock#updating-rsconnect-python-feedstock). + +- For new version/release, update the [meta.yaml](https://github.com/conda-forge/rsconnect-python-feedstock/blob/master/recipe/meta.yaml) file with the new version number, source url, and corresponding checksum. + +- For a rebuild of the same version, increase "number" under "build" by one in the [meta.yaml](https://github.com/conda-forge/rsconnect-python-feedstock/blob/master/recipe/meta.yaml) file. + +Once the proposed change is pushed, follow the checklist. +- [example PR with check list](https://github.com/conda-forge/rsconnect-python-feedstock/pull/1) + +### Adding yourself as a rsconnect-python conda-forge maintainer + +Add your github username under recipe-maintainers in the [meta.yaml](https://github.com/conda-forge/rsconnect-python-feedstock/blob/master/recipe/meta.yaml) file.