From c256b2103b1605396731ef5aaac43ff4b7be6580 Mon Sep 17 00:00:00 2001 From: Bill Little Date: Sat, 23 Nov 2024 23:56:29 +0000 Subject: [PATCH 1/2] social: migrate from x to bluesky --- README.md | 4 ++-- docs/src/community/index.rst | 2 +- docs/src/conf.py | 6 +++++- docs/src/developers_guide/release.rst | 4 ++-- tools/release_do_nothing.py | 8 ++++---- 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 56a4e954af..19e0fbbdae 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ | | | |------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ⚙️ 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) | -| 📖 Documentation | [![rtd](https://readthedocs.org/projects/scitools-iris/badge/?version=latest)](https://scitools-iris.readthedocs.io/en/latest/?badge=latest) [![Check Links](https://github.com/SciTools/iris/actions/workflows/ci-linkchecks.yml/badge.svg)](https://github.com/SciTools/iris/actions/workflows/ci-linkchecks.yml) | +| 💬 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) [![Check Links](https://github.com/SciTools/iris/actions/workflows/ci-linkchecks.yml/badge.svg)](https://github.com/SciTools/iris/actions/workflows/ci-linkchecks.yml) | | 📈 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) | | 📦 Package | [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.595182.svg)](https://doi.org/10.5281/zenodo.595182) [![conda-forge](https://img.shields.io/conda/vn/conda-forge/iris?color=orange&label=conda-forge&logo=conda-forge&logoColor=white)](https://anaconda.org/conda-forge/iris) [![pypi](https://img.shields.io/pypi/v/scitools-iris?color=orange&label=pypi&logo=python&logoColor=white)](https://pypi.org/project/scitools-iris/) [![pypi - python version](https://img.shields.io/pypi/pyversions/scitools-iris.svg?color=orange&logo=python&label=python&logoColor=white)](https://pypi.org/project/scitools-iris/) | diff --git a/docs/src/community/index.rst b/docs/src/community/index.rst index ee227513b3..1462f881a8 100644 --- a/docs/src/community/index.rst +++ b/docs/src/community/index.rst @@ -25,7 +25,7 @@ Quick Links * `GitHub Discussions`_ * :ref:`Getting involved` -* `Twitter `_ +* `Bluesky `_ Interoperability ---------------- diff --git a/docs/src/conf.py b/docs/src/conf.py index 686427b855..55dd986bfd 100644 --- a/docs/src/conf.py +++ b/docs/src/conf.py @@ -317,9 +317,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", diff --git a/docs/src/developers_guide/release.rst b/docs/src/developers_guide/release.rst index df6b2a44df..2dcbd03ea1 100644 --- a/docs/src/developers_guide/release.rst +++ b/docs/src/developers_guide/release.rst @@ -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. @@ -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 diff --git a/tools/release_do_nothing.py b/tools/release_do_nothing.py index 624e3372b1..b370b788f9 100755 --- a/tools/release_do_nothing.py +++ b/tools/release_do_nothing.py @@ -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, ] @@ -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 += ( From 971f548441c43f333798e543014a95c69d2f01ee Mon Sep 17 00:00:00 2001 From: Bill Little Date: Mon, 12 May 2025 22:55:16 +0100 Subject: [PATCH 2/2] added whatsnew --- docs/src/whatsnew/latest.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/src/whatsnew/latest.rst b/docs/src/whatsnew/latest.rst index fcbf84364d..00131411c7 100644 --- a/docs/src/whatsnew/latest.rst +++ b/docs/src/whatsnew/latest.rst @@ -24,7 +24,8 @@ This document explains the changes made to Iris for this release 📢 Announcements ================ -#. N/A +#. `@bjlittle`_ migrated the ``SciTools`` social community from ``X`` (formally ``Twitter``) + to `Bluesky `__ 🦋. (:pull:`6237`) ✨ Features