From 4e07a4c695961bd8eaced10f4ea020dc7f3374e8 Mon Sep 17 00:00:00 2001 From: George Steel Date: Thu, 21 Nov 2024 22:50:18 +0000 Subject: [PATCH 1/4] Prepare for archiving Signed-off-by: George Steel --- README.md | 34 ++++++++++++++++------------------ composer.json | 1 + mkdocs.yml | 4 ++-- 3 files changed, 19 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 25249f2..0f8da63 100644 --- a/README.md +++ b/README.md @@ -1,31 +1,29 @@ # laminas-dom +> [!CAUTION] +> This package is **abandoned** and will receive no further development. +> +> See the Technical Steering Committee [meeting minutes](url to the minutes). +> +> If you are looking for an actively maintained package alternative, we recommend: +> +> - [symfony/dom-crawler](https://symfony.com/doc/current/components/dom_crawler.html) + > ## πŸ‡·πŸ‡Ί Русским Π³Ρ€Π°ΠΆΠ΄Π°Π½Π°ΠΌ -> +> > ΠœΡ‹, участники Laminas, Ρ€ΠΎΠ΄ΠΈΠ»ΠΈΡΡŒ ΠΈ ΠΆΠΈΠ²Π΅ΠΌ Π² Ρ€Π°Π·Π½Ρ‹Ρ… странах. Π£ ΠΌΠ½ΠΎΠ³ΠΈΡ… ΠΈΠ· нас Π΅ΡΡ‚ΡŒ Π΄Ρ€ΡƒΠ·ΡŒΡ, родствСнники ΠΈ ΠΊΠΎΠ»Π»Π΅Π³ΠΈ ΠΊΠ°ΠΊ Π² России, Ρ‚Π°ΠΊ ΠΈ Π² Π£ΠΊΡ€Π°ΠΈΠ½Π΅. НСкоторыС ΠΈΠ· нас Ρ€ΠΎΠ΄ΠΈΠ»ΠΈΡΡŒ Π² России. НСкоторыС ΠΈΠ· нас ΠΆΠΈΠ²ΡƒΡ‚ Π² России. Π£ Π½Π΅ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Ρ… Π±Π°Π±ΡƒΡˆΠΊΠΈ ΠΈ Π΄Π΅Π΄ΡƒΡˆΠΊΠΈ ΡΡ€Π°ΠΆΠ°Π»ΠΈΡΡŒ с Ρ„Π°ΡˆΠΈΡΡ‚Π°ΠΌΠΈ Π²ΠΎ Π’Ρ‚ΠΎΡ€ΠΎΠΉ ΠΌΠΈΡ€ΠΎΠ²ΠΎΠΉ Π²ΠΎΠΉΠ½Π΅. Π—Π΄Π΅ΡΡŒ Π½ΠΈΠΊΡ‚ΠΎ Π½Π΅ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΈΠ²Π°Π΅Ρ‚ Ρ„Π°ΡˆΠΈΠ·ΠΌ. -> +> > Π£ ΠΎΠ΄Π½ΠΎΠ³ΠΎ ΠΈΠ· нас Π΅ΡΡ‚ΡŒ украинская родствСнница, которая спаслась ΠΈΠ· Π΄ΠΎΠΌΠ° вмСстС с сыном. ПоСзд задСрТался ΠΈΠ·-Π·Π° Π±ΠΎΠΌΠ±Π΅ΠΆΠΊΠΈ Π½Π° Π΄ΠΎΡ€ΠΎΠ³Π΅ Π²ΠΏΠ΅Ρ€Π΅Π΄ΠΈ. Π£ нас Π΅ΡΡ‚ΡŒ Π΄Ρ€ΡƒΠ·ΡŒΡ, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Π΅ прячутся Π² Π±ΠΎΠΌΠ±ΠΎΡƒΠ±Π΅ΠΆΠΈΡ‰Π°Ρ…. ΠœΡ‹ с Ρ‚Ρ€Π΅Π²ΠΎΠ³ΠΎΠΉ ΠΆΠ΄Π΅ΠΌ вСсточки ΠΎΡ‚ Π½ΠΈΡ… послС Π²ΠΎΠ·Π΄ΡƒΡˆΠ½Ρ‹Ρ… Π½Π°Π»Π΅Ρ‚ΠΎΠ², ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Π΅ бСспорядочно наносят ΡƒΠ΄Π°Ρ€Ρ‹ ΠΈ ΠΏΠΎΠΏΠ°Π΄Π°ΡŽΡ‚ ΠΏΠΎ Π±ΠΎΠ»ΡŒΠ½ΠΈΡ†Π°ΠΌ, школам, дСтским садам ΠΈ Π΄ΠΎΠΌΠ°ΠΌ. ΠœΡ‹ Π½Π΅ Π±Π΅Ρ€Π΅ΠΌ это ΠΈΠ· ΠΊΠ°ΠΊΠΈΡ…-Π»ΠΈΠ±ΠΎ БМИ. ΠœΡ‹ наблюдаСм это Π½Π°ΠΏΡ€ΡΠΌΡƒΡŽ. -> +> > Π’Ρ‹ довСряСтС Π½Π°ΠΌ достаточно, Ρ‡Ρ‚ΠΎΠ± ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚ΡŒ наши ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΡ‹, ΠΈ ΠΌΡ‹ просим вас Π΄ΠΎΠ²Π΅Ρ€ΠΈΡ‚ΡŒΡΡ Π½Π°ΠΌ вновь. ΠœΡ‹ нуТдаСмся Π² ΠΏΠΎΠΌΠΎΡ‰ΠΈ. Π’Ρ‹Ρ…ΠΎΠ΄ΠΈΡ‚Π΅ ΠΈ протСстуйтС ΠΏΡ€ΠΎΡ‚ΠΈΠ² этой бСсполСзной Π²ΠΎΠΉΠ½Ρ‹. ΠžΡΡ‚Π°Π½ΠΎΠ²ΠΈΡ‚Π΅ ΠΊΡ€ΠΎΠ²ΠΎΠΏΡ€ΠΎΠ»ΠΈΡ‚ΠΈΠ΅. Π‘ΠΊΠ°ΠΆΠΈΡ‚Π΅ "НСт Π²ΠΎΠΉΠ½Π΅!" -> +> > ## πŸ‡ΊπŸ‡Έ To Citizens of Russia -> +> > We at Laminas come from all over the world. Many of us have friends, family and colleagues in both Russia and Ukraine. Some of us were born in Russia. Some of us currently live in Russia. Some have grandparents who fought Nazis in World War II. Nobody here supports fascism. -> -> One team member has a Ukrainian relative who fled her home with her son. The train was delayed due to bombing on the road ahead. We have friends who are hiding in bomb shelters. We anxiously follow up on them after the air raids, which indiscriminately fire at hospitals, schools, kindergartens and houses. We're not taking this from any media. These are our actual experiences. -> -> You trust us enough to use our software. We ask that you trust us to say the truth on this. We need your help. Go out and protest this unnecessary war. Stop the bloodshed. Say "stop the war!" - - -> This package is considered feature-complete, and is now in **security-only** maintenance mode, following a [decision by the Technical Steering Committee](https://github.com/laminas/technical-steering-committee/blob/2b55453e172a1b8c9c4c212be7cf7e7a58b9352c/meetings/minutes/2020-08-03-TSC-Minutes.md#vote-on-components-to-mark-as-security-only). -> If you have a security issue, please [follow our security reporting guidelines](https://getlaminas.org/security/). -> If you wish to take on the role of maintainer, please [nominate yourself](https://github.com/laminas/technical-steering-committee/issues/new?assignees=&labels=Nomination&template=Maintainer_Nomination.md&title=%5BNOMINATION%5D%5BMAINTAINER%5D%3A+%7Bname+of+person+being+nominated%7D) > -> If you are looking for an actively maintained package alternative, we recommend: +> One team member has a Ukrainian relative who fled her home with her son. The train was delayed due to bombing on the road ahead. We have friends who are hiding in bomb shelters. We anxiously follow up on them after the air raids, which indiscriminately fire at hospitals, schools, kindergartens and houses. We're not taking this from any media. These are our actual experiences. > -> - [symfony/dom-crawler](https://symfony.com/doc/current/components/dom_crawler.html) - -[![Build Status](https://github.com/laminas/laminas-dom/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/laminas/laminas-dom/actions/workflows/continuous-integration.yml) +> You trust us enough to use our software. We ask that you trust us to say the truth on this. We need your help. Go out and protest this unnecessary war. Stop the bloodshed. Say "stop the war!" The `Laminas\Dom` component provides tools for working with DOM documents and structures. Currently, we offer `Laminas\Dom\Query`, which provides a unified diff --git a/composer.json b/composer.json index 7bdcdd5..fe7d80d 100644 --- a/composer.json +++ b/composer.json @@ -21,6 +21,7 @@ "dealerdirect/phpcodesniffer-composer-installer": true } }, + "abandoned": "symfony/dom-crawler", "extra": { "branch-alias": { "dev-master": "2.7.x-dev", diff --git a/mkdocs.yml b/mkdocs.yml index 2298979..27ba376 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -4,8 +4,8 @@ nav: - Home: index.md - Intro: intro.md - "Querying HTML and XML": query.md -site_name: laminas-dom -site_description: laminas-dom +site_name: laminas-dom (Abandoned) +site_description: laminas-dom (Abandoned) repo_url: 'https://github.com/laminas/laminas-dom' extra: project: Components From d2b837f5507a9f6cc5e2e8827e438baa8acd417f Mon Sep 17 00:00:00 2001 From: George Steel Date: Thu, 21 Nov 2024 22:54:42 +0000 Subject: [PATCH 2/4] Update docs workflow Signed-off-by: George Steel --- .github/workflows/docs-build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml index 2444742..4fbabba 100644 --- a/.github/workflows/docs-build.yml +++ b/.github/workflows/docs-build.yml @@ -3,8 +3,7 @@ name: docs-build on: release: types: [published] - repository_dispatch: - types: docs-build + workflow_dispatch: jobs: build-deploy: @@ -13,5 +12,4 @@ jobs: - name: Build Docs uses: laminas/documentation-theme/github-actions/docs@master env: - "DOCS_DEPLOY_KEY": ${{ secrets.DOCS_DEPLOY_KEY }} - "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} + DEPLOY_TOKEN: ${{ secrets.GITHUB_TOKEN }} From a35576106fb6e0a6f5df80e1c04dde244b8572ea Mon Sep 17 00:00:00 2001 From: George Steel Date: Thu, 21 Nov 2024 22:55:40 +0000 Subject: [PATCH 3/4] Add link to the meeting minutes Signed-off-by: George Steel --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0f8da63..d676df9 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ > [!CAUTION] > This package is **abandoned** and will receive no further development. > -> See the Technical Steering Committee [meeting minutes](url to the minutes). +> See the Technical Steering Committee [meeting minutes](https://github.com/laminas/technical-steering-committee/blob/main/meetings/minutes/2024-11-04-TSC-Minutes.md#archive--abandon-various-legacy-libraries). > > If you are looking for an actively maintained package alternative, we recommend: > From 3b529fa034fdb86882f5f9077c2008d94524413d Mon Sep 17 00:00:00 2001 From: George Steel Date: Thu, 5 Dec 2024 15:10:37 +0000 Subject: [PATCH 4/4] Archive and abandon `laminas-dom` Signed-off-by: George Steel --- .github/workflows/auto-close.yml | 28 ---------------------------- README.md | 1 - mkdocs.yml | 2 +- 3 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 .github/workflows/auto-close.yml diff --git a/.github/workflows/auto-close.yml b/.github/workflows/auto-close.yml deleted file mode 100644 index 7ff14b3..0000000 --- a/.github/workflows/auto-close.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Autocloser -on: [issues, pull_request] -jobs: - autoclose: - runs-on: ubuntu-latest - steps: - - name: Autoclose new issues and PRs - uses: roots/issue-closer@v1.1 - with: - repo-token: ${{ secrets.ORGANIZATION_ADMIN_TOKEN }} - issue-pattern: "^exact-string-will-never-match$" - pr-pattern: "^exact-string-will-never-match$" - issue-close-message: | - This package is considered feature-complete, and is now in **security-only** maintenance mode, following a [decision by the Technical Steering Committee](https://github.com/laminas/technical-steering-committee/blob/2b55453e172a1b8c9c4c212be7cf7e7a58b9352c/meetings/minutes/2020-08-03-TSC-Minutes.md#vote-on-components-to-mark-as-security-only). - If you have a security issue, please [follow our security reporting guidelines](https://getlaminas.org/security/). - If you wish to take on the role of maintainer, please [nominate yourself](https://github.com/laminas/technical-steering-committee/issues/new?assignees=&labels=Nomination&template=Maintainer_Nomination.md&title=%5BNOMINATION%5D%5BMAINTAINER%5D%3A+%7Bname+of+person+being+nominated%7D) - - If you are looking for an actively maintained package alternative, we recommend: - - - [symfony/dom-crawler](https://symfony.com/doc/current/components/dom_crawler.html) - pr-close-message: | - This package is considered feature-complete, and is now in **security-only** maintenance mode, following a [decision by the Technical Steering Committee](https://github.com/laminas/technical-steering-committee/blob/2b55453e172a1b8c9c4c212be7cf7e7a58b9352c/meetings/minutes/2020-08-03-TSC-Minutes.md#vote-on-components-to-mark-as-security-only). - If you have a security issue, please [follow our security reporting guidelines](https://getlaminas.org/security/). - If you wish to take on the role of maintainer, please [nominate yourself](https://github.com/laminas/technical-steering-committee/issues/new?assignees=&labels=Nomination&template=Maintainer_Nomination.md&title=%5BNOMINATION%5D%5BMAINTAINER%5D%3A+%7Bname+of+person+being+nominated%7D) - - If you are looking for an actively maintained package alternative, we recommend: - - - [symfony/dom-crawler](https://symfony.com/doc/current/components/dom_crawler.html) diff --git a/README.md b/README.md index d676df9..2d89497 100644 --- a/README.md +++ b/README.md @@ -29,5 +29,4 @@ The `Laminas\Dom` component provides tools for working with DOM documents and structures. Currently, we offer `Laminas\Dom\Query`, which provides a unified interface for querying DOM documents utilizing both XPath and CSS selectors. -- File issues at https://github.com/laminas/laminas-dom/issues - Documentation is at https://docs.laminas.dev/laminas-dom diff --git a/mkdocs.yml b/mkdocs.yml index 27ba376..59f5db3 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -5,7 +5,7 @@ nav: - Intro: intro.md - "Querying HTML and XML": query.md site_name: laminas-dom (Abandoned) -site_description: laminas-dom (Abandoned) +site_description: Provides tools for working with DOM documents and structures repo_url: 'https://github.com/laminas/laminas-dom' extra: project: Components