Skip to content

Commit 77014b9

Browse files
authored
Merge pull request #1793 from ssurbhi560/update-docs-on-tokens
Update documentation on handling feedstock tokens.
2 parents 19735ee + ad302d8 commit 77014b9

File tree

2 files changed

+12
-24
lines changed

2 files changed

+12
-24
lines changed

src/maintainer/conda_forge_yml.rst

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,7 @@ appveyor
5757
--------
5858
The top-level ``appveyor`` key specifies configurations for the Appveyor
5959
CI service. This is usually **read-only** and should not normally be manually
60-
modified. Tools like conda-smithy may modify this, as need. It has a single
61-
``secure`` field which contains the binstar token. For example:
62-
63-
.. code-block:: yaml
64-
65-
appveyor:
66-
secure:
67-
BINSTAR_TOKEN: <some big hash>
60+
modified. Tools like conda-smithy may modify this, as needed.
6861

6962
.. _azure-config:
7063

@@ -221,14 +214,7 @@ circle
221214
--------
222215
The top-level ``circle`` key specifies configurations for the Circle
223216
CI service. This is usually **read-only** and should not normally be manually
224-
modified. Tools like conda-smithy may modify this, as needed. It has a single
225-
``secure`` field which contains the binstar token. For example:
226-
227-
.. code-block:: yaml
228-
229-
appveyor:
230-
secure:
231-
BINSTAR_TOKEN: <some big hash>
217+
modified. Tools like conda-smithy may modify this, as needed.
232218

233219
.. _conda_forge_output_validation:
234220

@@ -503,14 +489,7 @@ travis
503489
------
504490
The top-level ``travis`` key specifies configurations for the Travis
505491
CI service. This is usually **read-only** and should not normally be manually
506-
modified. Tools like conda-smithy may modify this, as needed. It has a single
507-
``secure`` field which contains the binstar token. For example:
508-
509-
.. code-block:: yaml
510-
511-
travis:
512-
secure:
513-
BINSTAR_TOKEN: <some big hash>
492+
modified. Tools like conda-smithy may modify this, as needed.
514493

515494
.. _upload_on_branch:
516495

src/maintainer/knowledge_base.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1520,6 +1520,15 @@ So make sure that you **tag** your package in such a way that the package name
15201520
that conda-build spits out will sort the package uploaded with an ``rc`` label
15211521
higher than the package uploaded with the ``dev`` label.
15221522
1523+
How to update your feedstock token?
1524+
====================================
1525+
To reset your feedstock token and fix issues with uploads, follow these steps:
1526+
1527+
1. Create a new text file in the ``token_reset`` directory of the ``conda-forge/admin-requests`` repo.
1528+
2. Add the name of your feedstock in the text file. While adding the name, don't add "-feedstock" to the end of it. For example: for ``python-feedstock``, just add ``python``.
1529+
1530+
See `token_reset/example.txt <https://github.com/conda-forge/admin-requests/blob/main/token_reset/example.txt>`__ for an example.
1531+
15231532
.. _using_arch_rebuild:
15241533
15251534
Using ``arch_rebuild.txt``

0 commit comments

Comments
 (0)