Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we fully automate packages' new releases? #25591

Open
Linchin opened this issue Feb 29, 2024 · 3 comments
Open

Can we fully automate packages' new releases? #25591

Linchin opened this issue Feb 29, 2024 · 3 comments
Labels

Comments

@Linchin
Copy link

Linchin commented Feb 29, 2024

General comment:

@conda-forge/staged-recipes
@conda-forge/help-python

I'm exploring ways to automate the conda-forge releases of my packages. I see that there's a bot, but it looks like it may not work if the dependency changes. Is it impossible to avoid manual effort entirely here?

In the process of looking for references I see that pandas uses a different bot to update the package (not sure how to do that), but still requires manual approval, and in some cases, manual changes (example). I suppose if automation is possible, pandas would have done it, but maybe I'm missing something.

If this isn't the right forum to ask this question, please let me know who is the right point of contact. Thanks for your help!

@cameronraysmith
Copy link
Member

cameronraysmith commented Mar 1, 2024

You may like to review the configuration options here: https://conda-forge.org/docs/maintainer/conda_forge_yml/#bot .

For example, you may consider editing conda-forge.yml in the feedstock to contain

bot:
  automerge: true
  inspection: update-grayskull

If you look at the results of this search, you will see, for example, that this is done in the great-expectations feedstock

https://github.com/conda-forge/great-expectations-feedstock/blob/72c492232ce5b70aec360674908dbb71e273bc97/conda-forge.yml#L4-L6

It may also be helpful to review

https://conda-forge.org/docs/maintainer/infrastructure/#automerge
https://conda-forge.org/docs/maintainer/infrastructure/#conda-forge-admin-please-add-bot-automerge

@Linchin
Copy link
Author

Linchin commented Mar 6, 2024

Thank you @cameronraysmith, so there are two ways to add automerge:

  1. set bot.automerge: true in conda-forge.yml
  2. ping conda-forge-admin as in this instruction

What's the relationship between them? Are they the same thing, or both need to be done before automerge is enabled? Is there any case when automerge wouldn't go through?

@cameronraysmith
Copy link
Member

cameronraysmith commented Mar 7, 2024

two ways to add automerge:

  1. set bot.automerge: true in conda-forge.yml
  2. ping conda-forge-admin as in this instruction

https://conda-forge.org/docs/maintainer/conda_forge_yml/#bot is the best reference I am aware of regarding the topic of your OP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants