You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-14Lines changed: 17 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,22 +8,25 @@ This repository
8
8
9
9
If you have questions or need help, please check out our documentation for a [list of ways to interact with us](https://conda-forge.org/docs/user/how_to_get_help.html).
10
10
11
-
## Building the docs
12
-
13
-
The docs are built on GitHub Actions and run the `.ci_scripts/update_docs` script.
14
-
To build the docs locally, you should do the following:
We are constantly improving our documentation and are very grateful for feedback and contributions. If you would like to help, please be aware that the html documentation in the `docs` folder is automatically generated from the source files in the `src` folder. Therefore please always edit the files in `src` and never in `docs`.
13
+
- You can help to improve the documentation! It is version-controlled in the [conda-forge.github.io repository on GitHub](https://github.com/conda-forge/conda-forge.github.io). The source text is stored in the src/ subdirectory and is formatted using Python’s [reStructuredText system](https://docutils.sourceforge.io/rst.html).
14
+
15
+
- The docs are built on GitHub Actions and run the `.ci_scripts/update_docs` script.
16
+
We are glad to know that you would like to contribute. To build the docs locally, follow the steps mentioned below:
17
+
1.[Fork](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo) the [conda-forge.github.io](https://github.com/conda-forge/conda-forge.github.io) repository to your own GitHub user account.
18
+
2.[Clone](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository) this fork onto your computer.
5. Submit a [pull request](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests) to the main repository proposing your changes.
28
+
29
+
**Note: "All changes must be made in the `/src` folder and NOT in the `/docs` folder. Html files in the ./docs folder are auto generated "**
Copy file name to clipboardExpand all lines: src/maintainer/adding_pkgs.rst
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,20 +16,20 @@ Getting Started
16
16
17
17
There are multiple ways to get started:
18
18
19
-
#. Look at `the example recipe <https://github.com/conda-forge/staged-recipes/tree/master/recipes/example>`_ in the staged-recipes repository and modify it as necessary.
20
-
#. If it is an R package from `CRAN <https://cran.r-project.org/>`_, please
21
-
instead start by using the `conda-forge helper script for R recipes <https://github.com/bgruening/conda_r_skeleton_helper>`_.
22
-
Then if necessary you can make manual edits to the recipe.
19
+
#. Look at `the example recipe <https://github.com/conda-forge/staged-recipes/tree/master/recipes/example>`_ in the `staged-recipes repository<https://github.com/conda-forge/staged-recipes>`_ and modify it as necessary.
20
+
#. If it is an R package from `CRAN <https://cran.r-project.org/>`_, kindly
21
+
start by using the `conda-forge helper script for R recipes <https://github.com/bgruening/conda_r_skeleton_helper>`_ instead.
22
+
Then if necessary, you can make manual edits to the recipe.
23
23
#. If it is a python package, you can generate the recipe as a starting point with
24
-
``grayskull pypi your_package_name``. To install it you can use `conda install -c conda-forge grayskull`. You do *not* have to use grayskull, and the
25
-
recipes produced by grayskull will need to be reviewed and edited.
24
+
``grayskull pypi your_package_name``. To install it you can use ``conda install -c conda-forge grayskull``. You do *not* have to use ``grayskull``, and the
25
+
recipes produced by ``grayskull`` will need to be reviewed and edited.
26
26
In particular, you'll at least need to check the build line to :ref:`use pip <use-pip>`,
27
27
add yourself as a maintainer,
28
28
and specify a ``license_file``.
29
29
30
30
Your final recipe should have no comments (unless they're actually relevant to the recipe, and not generic instruction comments), and follow the order in the example.
31
31
32
-
*If there are details you are not sure about please open a pull request. The conda-forge team will be happy to answer your questions.*
32
+
*If there are any details you are not sure about please open a pull request. The conda-forge team will be happy to answer your questions.*
33
33
34
34
In case you are building your first recipe using conda-forge, a step-by-step instruction and checklist that might help you with a successful build is provided in the following.
35
35
@@ -82,11 +82,11 @@ Checklist
82
82
Feedback and revision
83
83
---------------------
84
84
85
-
Once you finished your PR, all you have to do is waiting for feedback from our reviewer team.
85
+
Once you finished your PR, all you have to do is wait for feedback from our review team.
86
86
87
-
The reviewer team will assist you by pointing out improvements and answering questions. Once the package is ready, the reviewers will approve and merge your pull request.
87
+
The review team will assist you by pointing out improvements and answering questions. Once the package is ready, the reviewers will approve and merge your pull request.
88
88
89
-
After merging the :term:`PR`, our infrastructure will build the package and make it available in the conda-channel.
89
+
After merging the :term:`PR`, our :term:`CI` infrastructure will build the package and make it available in the conda-channel.
90
90
91
91
.. note::
92
92
@@ -157,7 +157,7 @@ staged-recipes directory.
157
157
158
158
git checkout master
159
159
160
-
#. Define the conda-forge/staged-recipes repository as “upstream” (if you have not already done so).::
160
+
#. Define the conda-forge/staged-recipes repository as ``upstream`` (if you have not already done so).::
@@ -231,7 +231,7 @@ You may need the openssl package, available on conda-forge
231
231
Downloading extra sources and data files
232
232
........................................
233
233
234
-
``conda-build 3`` supports multiple sources per recipe. Examples are available `in the conda-build docs <https://conda.io/projects/conda-build/en/latest/source/define-metadata.html#source-from-multiple-sources>`_.
234
+
``conda-build 3`` supports multiple sources per recipe. Examples are available `in the conda-build docs <https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#source-from-multiple-sources>`_.
235
235
236
236
237
237
Build
@@ -312,7 +312,7 @@ Build, host and run
312
312
313
313
Conda-build distinguishes three different kinds of dependencies.
314
314
In the following paragraphs, we give a very short overview what packages go where.
315
-
For a detailed explanation please refer to the `conda-build documentation <https://docs.conda.io/projects/conda-build/en/latest/source/resources/define-metadata.html#requirements-section>`__.
315
+
For a detailed explanation please refer to the `conda-build documentation <https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#requirements-section>`__.
Copy file name to clipboardExpand all lines: src/maintainer/conda_forge_yml.rst
+74-28Lines changed: 74 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,34 +21,35 @@ upload packages to anaconda.org, which can be useful for testing. For example:
21
21
Top-level fields
22
22
================
23
23
24
-
* appveyor
25
-
* azure
26
-
* self-hosted azure
27
-
* build_platform
28
-
* bot
29
-
* channel_priority
30
-
* channels
31
-
* choco
32
-
* circle
33
-
* conda_forge_output_validation
34
-
* docker
35
-
* github
36
-
* idle_timeout_minutes
37
-
* linux
38
-
* linux_aarch64
39
-
* linux_ppc64le
40
-
* os_version
41
-
* osx
42
-
* provider
43
-
* recipe_dir
44
-
* remote_ci_setup
45
-
* skip_render
46
-
* templates
47
-
* test_on_native_only
48
-
* travis
49
-
* upload_on_branch
50
-
* win
51
-
24
+
* :ref:`appveyor`
25
+
* :ref:`azure-config`
26
+
* :ref:`self-hosted_azure-config`
27
+
* :ref:`build_platform`
28
+
* :ref:`bot`
29
+
* :ref:`channel_priority`
30
+
* :ref:`channels`
31
+
* :ref:`choco`
32
+
* :ref:`circle`
33
+
* :ref:`conda_forge_output_validation`
34
+
* :ref:`docker`
35
+
* :ref:`github`
36
+
* :ref:`idle_timeout_minutes`
37
+
* :ref:`linux`
38
+
* :ref:`linux_aarch64`
39
+
* :ref:`linux_ppc64le`
40
+
* :ref:`os_version`
41
+
* :ref:`osx`
42
+
* :ref:`provider`
43
+
* :ref:`recipe_dir`
44
+
* :ref:`remote_ci_setup`
45
+
* :ref:`skip_render`
46
+
* :ref:`templates`
47
+
* :ref:`test_on_native_only`
48
+
* :ref:`travis`
49
+
* :ref:`upload_on_branch`
50
+
* :ref:`win`
51
+
52
+
.. _appveyor:
52
53
53
54
appveyor
54
55
--------
@@ -79,6 +80,8 @@ mapping for Azure-specific configuration options. For example:
79
80
# built packages) as an Azure pipeline artifact that can be downloaded
80
81
store_build_artifacts: False
81
82
83
+
.. _self-hosted_azure-config:
84
+
82
85
self-hosted azure
83
86
-----------------
84
87
Conda-Smithy is capable of doing things beyond CF's purposes, it also allows setting up
@@ -105,6 +108,8 @@ self-hosted agents for non-CF infrastructures. Here is an example demonstrating
105
108
You can also use `Azure virtual machine scale set agents <https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/scale-set-agents?view=azure-devops>`_
106
109
for autoscaling agents as they are cheaper to run than permanently active agents.
107
110
111
+
.. _bot:
112
+
108
113
bot
109
114
---
110
115
This field controls the behavior of the ``auto-tick`` bot which issues
@@ -128,6 +133,8 @@ automatic version updates/migrations for feedstocks. The current options are
128
133
abi_migration_branches:
129
134
- v1.10.x
130
135
136
+
.. _build_platform:
137
+
131
138
build_platform
132
139
--------------
133
140
This is a mapping from the build platform to the host platform of the package
@@ -139,13 +146,17 @@ build platform using cross-compiling.
139
146
build_platform:
140
147
osx_64: linux_64
141
148
149
+
.. _channel_priority:
150
+
142
151
channel_priority
143
152
----------------
144
153
145
154
This value sets the ``conda`` solver channel priority for feedstock builds.
146
155
The default is ``strict``. Any valid value for the same setting in the ``.condarc`` is
147
156
allowed here.
148
157
158
+
.. _channels:
159
+
149
160
channels
150
161
--------
151
162
This represents the channels to grab packages from during builds and
@@ -165,6 +176,7 @@ has been built. The ``channels`` variable is a mapping with
165
176
targets:
166
177
- ["conda-forge", "main"]
167
178
179
+
.. _choco:
168
180
169
181
choco
170
182
-----
@@ -185,6 +197,8 @@ This is currently only implemented for Azure Pipelines. The command that is run
185
197
``choco install {entry} -fdv -y --debug``. That is, ``choco install`` is executed
186
198
with a standard set of additional flags that are useful on CI.
187
199
200
+
.. _circle:
201
+
188
202
circle
189
203
--------
190
204
The top-level ``circle`` key specifies configurations for the Circle
@@ -198,13 +212,17 @@ modified. Tools like conda-smithy may modify this, as need. It has a single
198
212
secure:
199
213
BINSTAR_TOKEN: <some big hash>
200
214
215
+
.. _conda_forge_output_validation:
216
+
201
217
conda_forge_output_validation
202
218
-----------------------------
203
219
204
220
This field must be set to ``True`` for feedstocks in the ``conda-forge`` GitHub
205
221
organization. It enables the required feedstock artifact validation as described
206
222
in :ref:`output_validation`.
207
223
224
+
.. _docker:
225
+
208
226
docker
209
227
------
210
228
This is a mapping to docker configuration options. These are relatively
@@ -218,6 +236,8 @@ self-explanatory. The defaults are as follows:
218
236
command: "bash"
219
237
interactive: True
220
238
239
+
.. _github:
240
+
221
241
github
222
242
------
223
243
This is mapping of configuration variables for GitHub. The
@@ -233,6 +253,7 @@ defaults are as follows:
233
253
# branch name to execute on
234
254
branch_name: master
235
255
256
+
.. _idle_timeout_minutes:
236
257
237
258
idle_timeout_minutes
238
259
--------------------
@@ -243,6 +264,7 @@ don't have chatty enough builds. Currently only implemented in Travis and Circle
243
264
244
265
idle_timeout_minutes: 60
245
266
267
+
.. _linux:
246
268
247
269
linux
248
270
-----
@@ -254,6 +276,7 @@ Currently only:
254
276
linux:
255
277
enabled: False
256
278
279
+
.. _linux_aarch64:
257
280
258
281
linux_aarch64
259
282
-------------
@@ -265,6 +288,7 @@ Currently only:
265
288
linux_aarch64:
266
289
enabled: False
267
290
291
+
.. _linux_ppc64le:
268
292
269
293
linux_ppc64le
270
294
-------------
@@ -276,6 +300,8 @@ Currently only:
276
300
linux_ppc64le:
277
301
enabled: False
278
302
303
+
.. _os_version:
304
+
279
305
os_version
280
306
----------
281
307
This key is used to set the OS versions for ``linux_*`` platforms. Valid entries map a linux platform and arch to either ``cos6``
@@ -286,6 +312,8 @@ or ``cos7``. Currently ``cos6`` is the default for ``linux-64``. All other linux
286
312
os_version:
287
313
linux_64: cos7
288
314
315
+
.. _osx:
316
+
289
317
osx
290
318
---
291
319
The macOSX-specific configuration options. This is largely an internal setting.
@@ -296,6 +324,8 @@ Currently only:
296
324
osx:
297
325
enabled: False
298
326
327
+
.. _provider:
328
+
299
329
provider
300
330
--------
301
331
The ``provider`` field is a mapping from arch (operating system) to CI service.
@@ -346,6 +376,8 @@ To enable ``linux_ppc64le`` and ``linux_aarch64`` and the following:
346
376
linux_ppc64le: default
347
377
linux_aarch64: default
348
378
379
+
.. _recipe_dir:
380
+
349
381
recipe_dir
350
382
----------
351
383
The relative path to the recipe directory. The default is:
@@ -354,6 +386,8 @@ The relative path to the recipe directory. The default is:
354
386
355
387
recipe_dir: recipe
356
388
389
+
.. _remote_ci_setup:
390
+
357
391
remote_ci_setup
358
392
---------------
359
393
This option can be used to override the default ``conda-forge-ci-setup`` package.
@@ -364,6 +398,8 @@ channel_alias if no prefix given.
364
398
365
399
remote_ci_setup: "conda-forge-ci-setup=3"
366
400
401
+
.. _skip_render:
402
+
367
403
skip_render
368
404
-----------
369
405
This option specifies a list of files which conda smithy will skip rendering.
@@ -377,11 +413,15 @@ For example, if you want to customize .gitignore and LICENSE.txt file by your ow
377
413
- .gitignore
378
414
- LICENSE.txt
379
415
416
+
.. _templates:
417
+
380
418
templates
381
419
---------
382
420
This is mostly an internal field for specifying where templates files live.
383
421
You shouldn't need it.
384
422
423
+
.. _test_on_native_only:
424
+
385
425
test_on_native_only
386
426
-------------------
387
427
This is used for disabling testing for cross compiling. Default is ``false``
@@ -390,6 +430,8 @@ This is used for disabling testing for cross compiling. Default is ``false``
390
430
391
431
test_on_native_only: True
392
432
433
+
.. _travis:
434
+
393
435
travis
394
436
------
395
437
The top-level ``travis`` key specifies configurations for the Travis
@@ -403,6 +445,8 @@ modified. Tools like conda-smithy may modify this, as need. It has a single
403
445
secure:
404
446
BINSTAR_TOKEN: <some big hash>
405
447
448
+
.. _upload_on_branch:
449
+
406
450
upload_on_branch
407
451
----------------
408
452
This parameter restricts uploading access on work from certain branches of the
@@ -415,6 +459,8 @@ master branch:
415
459
416
460
upload_on_branch: master
417
461
462
+
.. _win:
463
+
418
464
win
419
465
---
420
466
The Windows-specific configuration options. This is largely an internal setting.
0 commit comments