Skip to content

Commit

Permalink
social: migrate from x to bluesky
Browse files Browse the repository at this point in the history
  • Loading branch information
bjlittle committed Nov 23, 2024
1 parent 354aac1 commit 0677b53
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
| | |
|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ⚙️ CI | [![ci-manifest](https://github.com/SciTools/iris/actions/workflows/ci-manifest.yml/badge.svg)](https://github.com/SciTools/iris/actions/workflows/ci-manifest.yml) [![ci-tests](https://github.com/SciTools/iris/actions/workflows/ci-tests.yml/badge.svg)](https://github.com/SciTools/iris/actions/workflows/ci-tests.yml) [![ci-wheels](https://github.com/SciTools/iris/actions/workflows/ci-wheels.yml/badge.svg)](https://github.com/SciTools/iris/actions/workflows/ci-wheels.yml) [![pre-commit](https://results.pre-commit.ci/badge/github/SciTools/iris/main.svg)](https://results.pre-commit.ci/latest/github/SciTools/iris/main) |
| 💬 Community | [![Contributor Covenant](https://img.shields.io/badge/contributor%20covenant-2.1-4baaaa.svg)](https://www.contributor-covenant.org/version/2/1/code_of_conduct/) [![GH Discussions](https://img.shields.io/badge/github-discussions%20%F0%9F%92%AC-yellow?logo=github&logoColor=lightgrey)](https://github.com/SciTools/iris/discussions) [![twitter](https://img.shields.io/twitter/follow/scitools_iris?color=yellow&label=twitter%7Cscitools_iris&logo=twitter&style=plastic)](https://twitter.com/scitools_iris) |
| 💬 Community | [![Contributor Covenant](https://img.shields.io/badge/contributor%20covenant-2.1-4baaaa.svg)](https://www.contributor-covenant.org/version/2/1/code_of_conduct/) [![GH Discussions](https://img.shields.io/badge/github-discussions%20%F0%9F%92%AC-yellow?logo=github&logoColor=lightgrey)](https://github.com/SciTools/iris/discussions) [![bluesky](https://img.shields.io/badge/scitools-0285FF?label=bluesky&logo=bluesky&logoColor=0285FF)](https://bsky.app/profile/scitools.bsky.social) |
| 📖 Documentation | [![rtd](https://readthedocs.org/projects/scitools-iris/badge/?version=latest)](https://scitools-iris.readthedocs.io/en/latest/?badge=latest) |
| 📈 Health | [![codecov](https://codecov.io/gh/SciTools/iris/branch/main/graph/badge.svg?token=0GeICSIF3g)](https://codecov.io/gh/SciTools/iris) |
| ✨ Meta | [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![NEP29](https://raster.shields.io/badge/follows-NEP29-orange.png)](https://numpy.org/neps/nep-0029-deprecation_policy.html) [![license - bds-3-clause](https://img.shields.io/github/license/SciTools/iris)](https://github.com/SciTools/iris/blob/main/LICENSE) [![conda platform](https://img.shields.io/conda/pn/conda-forge/iris.svg)](https://anaconda.org/conda-forge/iris) |
Expand Down
2 changes: 1 addition & 1 deletion docs/src/community/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Quick Links

* `GitHub Discussions`_
* :ref:`Getting involved<development_where_to_start>`
* `Twitter <https://twitter.com/scitools_iris>`_
* `Bluesky <https://bsky.app/profile/scitools.bsky.social>`_

Interoperability
----------------
Expand Down
6 changes: 5 additions & 1 deletion docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,13 @@ def _dotv(version):
# TODO: review if 6 links is too crowded.
"header_links_before_dropdown": 6,
"github_url": "https://github.com/SciTools/iris",
"twitter_url": "https://twitter.com/scitools_iris",
# icons available: https://fontawesome.com/v5.15/icons?d=gallery&m=free
"icon_links": [
{
"name": "Bluesky",
"url": "https://bsky.app/profile/scitools.bsky.social",
"icon": "fa-brands fa-bluesky",
},
{
"name": "GitHub Discussions",
"url": "https://github.com/SciTools/iris/discussions",
Expand Down
4 changes: 2 additions & 2 deletions docs/src/developers_guide/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ conda package on the `conda-forge Anaconda channel`_.
Announcement
~~~~~~~~~~~~

Iris uses Twitter (`@scitools_iris`_) to announce new releases, as well as any
Iris uses Bluesky (`@scitools.bsky.social`_) to announce new releases, as well as any
internal message boards that are accessible (e.g. at the UK Met Office).
Announcements usually include a highlighted feature to hook readers' attention.

Expand Down Expand Up @@ -284,6 +284,6 @@ For further details on how to test Iris, see :ref:`developer_running_tests`.
.. _setuptools-scm: https://github.com/pypa/setuptools_scm
.. _Semantic Versioning: https://semver.org/
.. _PEP 440: https://peps.python.org/pep-0440/
.. _@scitools_iris: https://twitter.com/scitools_iris
.. _@scitools.bsky.social: https://bsky.app/profile/scitools.bsky.social
.. _GitHub Projects: https://github.com/SciTools/iris/projects
.. _Zenodo DOI: https://doi.org/10.5281/zenodo.595182
8 changes: 4 additions & 4 deletions tools/release_do_nothing.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def get_steps(cls) -> list[typing.Callable[..., None]]:
cls.check_pypi,
cls.update_conda_forge,
cls.update_links,
cls.twitter_announce,
cls.bluesky_announce,
cls.merge_back,
]

Expand Down Expand Up @@ -845,13 +845,13 @@ def update_links(self):
)
self.wait_for_done(message)

def twitter_announce(self):
def bluesky_announce(self):
message = (
"Announce the release via https://twitter.com/scitools_iris, "
"Announce the release via https://bsky.app/profile/scitools.bsky.social, "
"and any "
"other appropriate message boards (e.g. Viva Engage).\n"
"Any content used for the announcement should be stored in the "
"SciTools/twitter-scitools-iris GitHub repo.\n"
"SciTools/bluesky-scitools GitHub repo.\n"
)
if not self.first_in_series:
message += (
Expand Down

0 comments on commit 0677b53

Please sign in to comment.