From 853f747bad42718f58aa0c1760f4d2536a165d3d Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Wed, 30 Apr 2025 04:43:06 +0400 Subject: [PATCH 1/8] Init changelog & version 0.5.0p82 --- CHANGES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 56b0369..1787c27 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,5 @@ +## Release 0.5.0p82 du 30/04/2025-04:43 + ## Release 0.5.0p74 du 30/04/2025-04:39 * `6c1c85b` remplacer nur_func par func From 242abe737b6cfe186c6d376e904a45a3d3f6f8cd Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Wed, 30 Apr 2025 05:46:39 +0400 Subject: [PATCH 2/8] maj doc --- README.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..d064174 --- /dev/null +++ b/README.md @@ -0,0 +1,46 @@ +# nulib-spout + + +## Release + +Exemple: release de la version 0.6.0 + +Avant de faire une release majeure sur nulib/spout, faire d'abord la release +majeure correspondante sur +* nulib/php + +~~~sh +version=0.6.0 + +major="${version%.*}.0" + +## branche dev74 +git checkout dev74 + +sed -ri "\ +/nulib\/.*:/s/[0-9]+.[0-9]+.0p74/${major}p74/ +" .composer.pman.yml +pci "maj projet" + +prel -v$version + +# en cas de conflit, sélectionner HEAD +_merge82 + +## branche dev82 +git checkout dev82 + +sed -ri "\ +/nulib\/.*:/s/[0-9]+.[0-9]+.0p82/${major}p82/ +" .composer.pman.yml +pci "maj projet" + +prel -C + +commit="$(git log --grep="Init changelog . version ${version}p82" --format=%H)" +git checkout dev74 +git cherry-pick "$commit" +pp -a +~~~ + +-*- coding: utf-8 mode: markdown -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8:noeol:binary \ No newline at end of file From 34475ca73ec4d0fec50e24616560a7c59023a589 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Mon, 12 May 2025 15:41:37 +0400 Subject: [PATCH 3/8] modifs.mineures sans commentaires --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d064174..7026d0c 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,11 @@ pci "maj projet" prel -C -commit="$(git log --grep="Init changelog . version ${version}p82" --format=%H)" +commit="$(git log --grep="Init changelog . version ${version}p82" --format=%H)" && +echo "commit=$commit" + git checkout dev74 + git cherry-pick "$commit" pp -a ~~~ From fe9a47ea908de07152cc48716659feb346e1db0f Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Fri, 30 May 2025 22:46:47 +0400 Subject: [PATCH 4/8] maj deps --- .composer.pman.yml | 4 +-- README.md | 2 +- composer.json | 4 +-- composer.lock | 90 ++++++++++++++++++++++++++-------------------- 4 files changed, 56 insertions(+), 44 deletions(-) diff --git a/.composer.pman.yml b/.composer.pman.yml index 6c9491f..0efd7c5 100644 --- a/.composer.pman.yml +++ b/.composer.pman.yml @@ -5,8 +5,8 @@ composer: dev: link: true require: - nulib/php: ^7.4-dev + nulib/base: ^7.4-dev dist: link: false require: - nulib/php: ^0.5.0p74 + nulib/base: ^0.5.0p74 diff --git a/README.md b/README.md index 7026d0c..ac24141 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Exemple: release de la version 0.6.0 Avant de faire une release majeure sur nulib/spout, faire d'abord la release majeure correspondante sur -* nulib/php +* nulib/base ~~~sh version=0.6.0 diff --git a/composer.json b/composer.json index 329e133..91acbc3 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "repositories": [ { "type": "path", - "url": "../nulib" + "url": "../nulib-base" }, { "type": "composer", @@ -22,7 +22,7 @@ "openspout/openspout": "v3.7.4" }, "require": { - "nulib/php": "^7.4-dev", + "nulib/base": "^7.4-dev", "ext-dom": "*", "ext-filter": "*", "ext-libxml": "*", diff --git a/composer.lock b/composer.lock index d0b195c..1e5f713 100644 --- a/composer.lock +++ b/composer.lock @@ -4,21 +4,24 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1096948ae214037700effae248ef800b", + "content-hash": "4b1bf3aaf4bdf244af9886995daa16f5", "packages": [ { - "name": "nulib/php", + "name": "nulib/base", "version": "dev-dev74", "dist": { "type": "path", - "url": "../nulib", - "reference": "1671354fd8eed5044d3f7593f3db9185f4c16bc6" + "url": "../nulib-base", + "reference": "a319baec05c4022edc07f738a9f4cbad3e486b82" }, "require": { "ext-json": "*", "php": "^7.4", "symfony/yaml": "^5.0" }, + "replace": { + "nulib/php": "<0.6.0" + }, "require-dev": { "ext-curl": "*", "ext-pcntl": "*", @@ -125,7 +128,7 @@ }, { "name": "symfony/polyfill-ctype", - "version": "v1.31.0", + "version": "v1.32.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", @@ -184,7 +187,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.32.0" }, "funding": [ { @@ -1127,16 +1130,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.12.25", + "version": "1.12.27", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "e310849a19e02b8bfcbb63147f495d8f872dd96f" + "reference": "3a6e423c076ab39dfedc307e2ac627ef579db162" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e310849a19e02b8bfcbb63147f495d8f872dd96f", - "reference": "e310849a19e02b8bfcbb63147f495d8f872dd96f", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/3a6e423c076ab39dfedc307e2ac627ef579db162", + "reference": "3a6e423c076ab39dfedc307e2ac627ef579db162", "shasum": "" }, "require": { @@ -1181,7 +1184,7 @@ "type": "github" } ], - "time": "2025-04-27T12:20:45+00:00" + "time": "2025-05-21T20:51:45+00:00" }, { "name": "phpstan/phpstan-phpunit", @@ -1556,16 +1559,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.6.22", + "version": "9.6.23", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "f80235cb4d3caa59ae09be3adf1ded27521d1a9c" + "reference": "43d2cb18d0675c38bd44982a5d1d88f6d53d8d95" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f80235cb4d3caa59ae09be3adf1ded27521d1a9c", - "reference": "f80235cb4d3caa59ae09be3adf1ded27521d1a9c", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/43d2cb18d0675c38bd44982a5d1d88f6d53d8d95", + "reference": "43d2cb18d0675c38bd44982a5d1d88f6d53d8d95", "shasum": "" }, "require": { @@ -1576,7 +1579,7 @@ "ext-mbstring": "*", "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.12.1", + "myclabs/deep-copy": "^1.13.1", "phar-io/manifest": "^2.0.4", "phar-io/version": "^3.2.1", "php": ">=7.3", @@ -1639,7 +1642,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.22" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.23" }, "funding": [ { @@ -1650,12 +1653,20 @@ "url": "https://github.com/sebastianbergmann", "type": "github" }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, { "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", "type": "tidelift" } ], - "time": "2024-12-05T13:48:26+00:00" + "time": "2025-05-02T06:40:34+00:00" }, { "name": "psr/container", @@ -3758,7 +3769,7 @@ }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.31.0", + "version": "v1.32.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", @@ -3816,7 +3827,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.32.0" }, "funding": [ { @@ -3836,7 +3847,7 @@ }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.31.0", + "version": "v1.32.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", @@ -3897,7 +3908,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.32.0" }, "funding": [ { @@ -3917,19 +3928,20 @@ }, { "name": "symfony/polyfill-mbstring", - "version": "v1.31.0", + "version": "v1.32.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341" + "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341", - "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", + "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", "shasum": "" }, "require": { + "ext-iconv": "*", "php": ">=7.2" }, "provide": { @@ -3977,7 +3989,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.32.0" }, "funding": [ { @@ -3993,11 +4005,11 @@ "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2024-12-23T08:48:59+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.31.0", + "version": "v1.32.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", @@ -4053,7 +4065,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.32.0" }, "funding": [ { @@ -4073,16 +4085,16 @@ }, { "name": "symfony/polyfill-php80", - "version": "v1.31.0", + "version": "v1.32.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8" + "reference": "0cc9dd0f17f61d8131e7df6b84bd344899fe2608" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", - "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/0cc9dd0f17f61d8131e7df6b84bd344899fe2608", + "reference": "0cc9dd0f17f61d8131e7df6b84bd344899fe2608", "shasum": "" }, "require": { @@ -4133,7 +4145,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.32.0" }, "funding": [ { @@ -4149,11 +4161,11 @@ "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2025-01-02T08:10:11+00:00" }, { "name": "symfony/polyfill-php81", - "version": "v1.31.0", + "version": "v1.32.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php81.git", @@ -4209,7 +4221,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.32.0" }, "funding": [ { @@ -4574,7 +4586,7 @@ "aliases": [], "minimum-stability": "stable", "stability-flags": { - "nulib/php": 20 + "nulib/base": 20 }, "prefer-stable": false, "prefer-lowest": false, From 46fd5e7fe76602b4c7d11ded0ca37a590ddfe3c2 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Fri, 30 May 2025 22:47:40 +0400 Subject: [PATCH 5/8] maj projet --- .composer.pman.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.composer.pman.yml b/.composer.pman.yml index 0efd7c5..7317391 100644 --- a/.composer.pman.yml +++ b/.composer.pman.yml @@ -9,4 +9,4 @@ composer: dist: link: false require: - nulib/base: ^0.5.0p74 + nulib/base: ^0.6.0p74 From 4f4079743d329a3379da274da1a6c6c1a4383a5d Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Fri, 30 May 2025 22:54:03 +0400 Subject: [PATCH 6/8] Init changelog & version 0.6.0p74 --- CHANGES.md | 4 ++++ VERSION.txt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 1787c27..b96928d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,7 @@ +## Release 0.6.0p74 du 30/05/2025-22:53 + +migrer de nulib/php à nulib/base + ## Release 0.5.0p82 du 30/04/2025-04:43 ## Release 0.5.0p74 du 30/04/2025-04:39 diff --git a/VERSION.txt b/VERSION.txt index 8f0916f..a918a2a 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -0.5.0 +0.6.0 From 7cf2e9c8f2d8e5e8b6e2decaa3be7fe716637fe1 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Fri, 30 May 2025 22:54:07 +0400 Subject: [PATCH 7/8] deps de dist --- composer.json | 6 +----- composer.lock | 20 ++++++++------------ 2 files changed, 9 insertions(+), 17 deletions(-) diff --git a/composer.json b/composer.json index 91acbc3..da009b6 100644 --- a/composer.json +++ b/composer.json @@ -3,10 +3,6 @@ "type": "library", "description": "wrapper pour openspout/openspout", "repositories": [ - { - "type": "path", - "url": "../nulib-base" - }, { "type": "composer", "url": "https://repos.univ-reunion.fr/composer" @@ -22,7 +18,7 @@ "openspout/openspout": "v3.7.4" }, "require": { - "nulib/base": "^7.4-dev", + "nulib/base": "^0.6.0p74", "ext-dom": "*", "ext-filter": "*", "ext-libxml": "*", diff --git a/composer.lock b/composer.lock index 1e5f713..2665608 100644 --- a/composer.lock +++ b/composer.lock @@ -4,15 +4,15 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "4b1bf3aaf4bdf244af9886995daa16f5", + "content-hash": "71dbe9a145b7492fe78927fc688f65e6", "packages": [ { "name": "nulib/base", - "version": "dev-dev74", - "dist": { - "type": "path", - "url": "../nulib-base", - "reference": "a319baec05c4022edc07f738a9f4cbad3e486b82" + "version": "0.6.0p74", + "source": { + "type": "git", + "url": "https://git.univ-reunion.fr/sda-php/nulib-base.git", + "reference": "ea531c41bcb054250b0efc334c6aaa6f77543070" }, "require": { "ext-json": "*", @@ -55,9 +55,7 @@ } ], "description": "fonctions et classes essentielles", - "transport-options": { - "relative": true - } + "time": "2025-05-30T18:35:54+00:00" }, { "name": "symfony/deprecation-contracts", @@ -4585,9 +4583,7 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": { - "nulib/base": 20 - }, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": { From 6db8e6d424b69a18e8af888866ed7001436edb50 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Fri, 30 May 2025 22:54:11 +0400 Subject: [PATCH 8/8] deps de dev --- composer.json | 6 +++++- composer.lock | 20 ++++++++++++-------- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index da009b6..91acbc3 100644 --- a/composer.json +++ b/composer.json @@ -3,6 +3,10 @@ "type": "library", "description": "wrapper pour openspout/openspout", "repositories": [ + { + "type": "path", + "url": "../nulib-base" + }, { "type": "composer", "url": "https://repos.univ-reunion.fr/composer" @@ -18,7 +22,7 @@ "openspout/openspout": "v3.7.4" }, "require": { - "nulib/base": "^0.6.0p74", + "nulib/base": "^7.4-dev", "ext-dom": "*", "ext-filter": "*", "ext-libxml": "*", diff --git a/composer.lock b/composer.lock index 2665608..1e5f713 100644 --- a/composer.lock +++ b/composer.lock @@ -4,15 +4,15 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "71dbe9a145b7492fe78927fc688f65e6", + "content-hash": "4b1bf3aaf4bdf244af9886995daa16f5", "packages": [ { "name": "nulib/base", - "version": "0.6.0p74", - "source": { - "type": "git", - "url": "https://git.univ-reunion.fr/sda-php/nulib-base.git", - "reference": "ea531c41bcb054250b0efc334c6aaa6f77543070" + "version": "dev-dev74", + "dist": { + "type": "path", + "url": "../nulib-base", + "reference": "a319baec05c4022edc07f738a9f4cbad3e486b82" }, "require": { "ext-json": "*", @@ -55,7 +55,9 @@ } ], "description": "fonctions et classes essentielles", - "time": "2025-05-30T18:35:54+00:00" + "transport-options": { + "relative": true + } }, { "name": "symfony/deprecation-contracts", @@ -4583,7 +4585,9 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": { + "nulib/base": 20 + }, "prefer-stable": false, "prefer-lowest": false, "platform": {