Skip to content

Conversation

@ankitkhushwaha
Copy link
Contributor

PR Description

see #8061

@ankitkhushwaha
Copy link
Contributor Author

ankitkhushwaha commented Feb 8, 2025

["sunpy", "package-template", ".github", "sunpy-contribution-statistics", "sunkit-spex", "sunkit-instruments", "drms", "sunkit-magex", "sunpy.org", "sunpy-sphinx-theme", "ndcube", "sunraster", "streamtracer", "sunkit-image", "sunpy-soar", "sunkit-pyvista", "mpl-animators", "github-actions-workflows", "sunpy-figure-tests", "radiospectra", "sunkit-dem", "sunpy-SEP", "pyflct", "ablog", "data", "survey", "cruft", "sunpy-1.0-paper"]

Hey, should this template rolled every sunpy packages
i think there are some packages like data where this should not need to rolled out

secrets:
pypi_token: {{ '${{ secrets.pypi_token }}' }}
{%- if cookiecutter.github_repo in cookiecutter.all_repos %}
release:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the release workflow will now be updated in particular packages.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the needed repos are taken from this

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the reason for this?

Copy link
Contributor Author

@ankitkhushwaha ankitkhushwaha Feb 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the release is published in these packages. (Seen a list of repos in package-template/tools/batchpr_manual_cruft_update.py)

"all_repos": ["sunpy/sunpy", "sunpy/ndcube", "sunpy/sunkit-magex", "sunpy/streamtracer", "sunpy/sunkit-dem",  
              "sunpy/mpl-animators", "sunpy/sunkit-image", "sunpy/sunkit-pyvista", "sunpy/sunpy-soar", "sunpy/sunkit-   "sunpy/drms", "sunpy/sunraster", "sunpy/sunkit-spex", "sunpy/radiospectra"]

thats' why i thought only to sync release workflow code in these packages only.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But why does it need to be synced to those packages? What happens if we add more?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are some packages like data, sunpy-1.0-paper, github-actions-workflows, where i think there is no need to add the release workflow code in these repo.

Should i remove this line ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are those repositories tempted? Do they ever get a release?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sunpy-paper has release but it is archived now.

data doesn't have release

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants