Compare commits
	
		
			No commits in common. "27567166aa1733bea84261e212c4a9a6416c56ec" and "2dab39a35cc2ecc10ea33fbf88f5ca54f5879f8f" have entirely different histories.
		
	
	
		
			27567166aa
			...
			2dab39a35c
		
	
		
@ -1,9 +1,3 @@
 | 
				
			|||||||
## Release 0.3.3p74 du 01/03/2025-06:14
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
* `2163ea9` script post release/merge
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
## Release 0.3.2p82 du 28/02/2025-20:30
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
## Release 0.3.2p74 du 28/02/2025-20:28
 | 
					## Release 0.3.2p74 du 28/02/2025-20:28
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(tech) Migration vers pman
 | 
					(tech) Migration vers pman
 | 
				
			||||||
 | 
				
			|||||||
@ -1 +1 @@
 | 
				
			|||||||
0.3.3
 | 
					0.3.2
 | 
				
			||||||
 | 
				
			|||||||
@ -45,7 +45,7 @@ $0 !~ /<pman>/ { print }
 | 
				
			|||||||
function _filter_changes() {
 | 
					function _filter_changes() {
 | 
				
			||||||
    # enlever les commits "inutiles" pour générer le fichier CHANGES.md
 | 
					    # enlever les commits "inutiles" pour générer le fichier CHANGES.md
 | 
				
			||||||
    grep -vE '^([+|] )?[0-9a-f]+ modifs\.mineures sans commentaires$' |
 | 
					    grep -vE '^([+|] )?[0-9a-f]+ modifs\.mineures sans commentaires$' |
 | 
				
			||||||
    grep -vE '^([+|] )?[0-9a-f]+ (cosmetic|typo|bug|fix|maj projet|maj deps)$'
 | 
					    grep -vE '^([+|] )?[0-9a-f]+ (cosmetic|typo|bug|fix|maj projet|maj deps)\$'
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function _format_md() {
 | 
					function _format_md() {
 | 
				
			||||||
@ -167,17 +167,7 @@ function load_branches() {
 | 
				
			|||||||
        "$HOTFIX"*) SrcType=hotfix; DestBranch="$MAIN";;
 | 
					        "$HOTFIX"*) SrcType=hotfix; DestBranch="$MAIN";;
 | 
				
			||||||
        "$MAIN") SrcType=main; DestBranch="$DIST";;
 | 
					        "$MAIN") SrcType=main; DestBranch="$DIST";;
 | 
				
			||||||
        "$DIST") SrcType=dist; DestBranch=;;
 | 
					        "$DIST") SrcType=dist; DestBranch=;;
 | 
				
			||||||
        *) SrcType=; DestBranch=;;
 | 
					        *) DestBranch=;;
 | 
				
			||||||
        esac
 | 
					 | 
				
			||||||
        case "$DestBranch" in
 | 
					 | 
				
			||||||
        "$UPSTREAM") DestType=upstream;;
 | 
					 | 
				
			||||||
        "$FEATURE"*) DestType=feature;;
 | 
					 | 
				
			||||||
        "$DEVELOP") DestType=develop;;
 | 
					 | 
				
			||||||
        "$RELEASE"*) DestType=release;;
 | 
					 | 
				
			||||||
        "$HOTFIX"*) DestType=hotfix;;
 | 
					 | 
				
			||||||
        "$MAIN") DestType=main;;
 | 
					 | 
				
			||||||
        "$DIST") DestType=dist;;
 | 
					 | 
				
			||||||
        *) DestType=;;
 | 
					 | 
				
			||||||
        esac
 | 
					        esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        local branch
 | 
					        local branch
 | 
				
			||||||
@ -285,11 +275,6 @@ function _mscript_start() {
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
$(qvals source "$NULIBDIR/load.sh") || exit 1
 | 
					$(qvals source "$NULIBDIR/load.sh") || exit 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$(echo_setv SrcBranch="$SrcBranch")
 | 
					 | 
				
			||||||
$(echo_setv SrcType="$SrcType")
 | 
					 | 
				
			||||||
$(echo_setv DestBranch="$DestBranch")
 | 
					 | 
				
			||||||
$(echo_setv DestType="$DestType")
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
merge=
 | 
					merge=
 | 
				
			||||||
delete=
 | 
					delete=
 | 
				
			||||||
push=
 | 
					push=
 | 
				
			||||||
@ -345,14 +330,6 @@ function _rscript_start() {
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
$(qvals source "$NULIBDIR/load.sh") || exit 1
 | 
					$(qvals source "$NULIBDIR/load.sh") || exit 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$(echo_setv SrcBranch="$SrcBranch")
 | 
					 | 
				
			||||||
$(echo_setv SrcType="$SrcType")
 | 
					 | 
				
			||||||
$(echo_setv Version="$Version")
 | 
					 | 
				
			||||||
$(echo_setv Tag="$Tag")
 | 
					 | 
				
			||||||
$(echo_setv ReleaseBranch="$ReleaseBranch")
 | 
					 | 
				
			||||||
$(echo_setv DestBranch="$DestBranch")
 | 
					 | 
				
			||||||
$(echo_setv DestType="$DestType")
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
create=
 | 
					create=
 | 
				
			||||||
merge=
 | 
					merge=
 | 
				
			||||||
push=
 | 
					push=
 | 
				
			||||||
@ -405,7 +382,7 @@ EOF
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    # Enregistrer les changements
 | 
					    # Enregistrer les changements
 | 
				
			||||||
    _scripta "commit" <<EOF
 | 
					    _scripta "commit" <<EOF
 | 
				
			||||||
$(qvals git commit -m "<pman>Init changelog & version $Tag")
 | 
					$(qvals git commit -m "<pman>Init changelog & version $Version")
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										18
									
								
								bin/pdev
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								bin/pdev
									
									
									
									
									
								
							@ -31,9 +31,8 @@ Ce script va
 | 
				
			|||||||
- pousser les branches modifiées}"
 | 
					- pousser les branches modifiées}"
 | 
				
			||||||
    ask_yesno "Voulez-vous continuer?" O || die
 | 
					    ask_yesno "Voulez-vous continuer?" O || die
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    local script=".git/pman-merge.sh"
 | 
					    local script=".git/rel-merge.sh"
 | 
				
			||||||
    local -a push_branches delete_branches
 | 
					    local -a push_branches delete_branches
 | 
				
			||||||
    local after
 | 
					 | 
				
			||||||
    local comment=
 | 
					    local comment=
 | 
				
			||||||
    local or_die=" || exit 1"
 | 
					    local or_die=" || exit 1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -45,11 +44,6 @@ if [ -n "\$merge" ]; then
 | 
				
			|||||||
esection "Fusionner la branche"
 | 
					esection "Fusionner la branche"
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
    _mscript_merge_branch
 | 
					    _mscript_merge_branch
 | 
				
			||||||
    after="AFTER_MERGE_${SrcType^^}"; [ -n "${!after}" ] && _scripta <<EOF
 | 
					 | 
				
			||||||
(
 | 
					 | 
				
			||||||
${!after}
 | 
					 | 
				
			||||||
)$or_die
 | 
					 | 
				
			||||||
EOF
 | 
					 | 
				
			||||||
    _scripta <<EOF
 | 
					    _scripta <<EOF
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
@ -61,11 +55,6 @@ if [ -n "\$delete" ]; then
 | 
				
			|||||||
esection "Supprimer la branche"
 | 
					esection "Supprimer la branche"
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
    _mscript_delete_branch
 | 
					    _mscript_delete_branch
 | 
				
			||||||
    after="AFTER_DELETE_${SrcType^^}"; [ -n "${!after}" ] && _scripta <<EOF
 | 
					 | 
				
			||||||
(
 | 
					 | 
				
			||||||
${!after}
 | 
					 | 
				
			||||||
)$or_die
 | 
					 | 
				
			||||||
EOF
 | 
					 | 
				
			||||||
    _scripta <<EOF
 | 
					    _scripta <<EOF
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
@ -83,11 +72,6 @@ EOF
 | 
				
			|||||||
        _script_push_branches
 | 
					        _script_push_branches
 | 
				
			||||||
        _scripta <<<fi
 | 
					        _scripta <<<fi
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
    after="AFTER_PUSH_${DestType^^}"; [ -n "${!after}" ] && _scripta <<EOF
 | 
					 | 
				
			||||||
(
 | 
					 | 
				
			||||||
${!after}
 | 
					 | 
				
			||||||
)$or_die
 | 
					 | 
				
			||||||
EOF
 | 
					 | 
				
			||||||
    _scripta <<EOF
 | 
					    _scripta <<EOF
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										19
									
								
								bin/prel
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								bin/prel
									
									
									
									
									
								
							@ -34,11 +34,9 @@ function ensure_branches() {
 | 
				
			|||||||
function create_release_action() {
 | 
					function create_release_action() {
 | 
				
			||||||
    if [ -n "$ReleaseBranch" ]; then
 | 
					    if [ -n "$ReleaseBranch" ]; then
 | 
				
			||||||
        Version="${ReleaseBranch#$RELEASE}"
 | 
					        Version="${ReleaseBranch#$RELEASE}"
 | 
				
			||||||
        Tag="$TAG_PREFIX$Version$TAG_SUFFIX"
 | 
					 | 
				
			||||||
        merge_release_action "$@"; return $?
 | 
					        merge_release_action "$@"; return $?
 | 
				
			||||||
    elif [ -n "$HotfixBranch" ]; then
 | 
					    elif [ -n "$HotfixBranch" ]; then
 | 
				
			||||||
        Version="${HotfixBranch#$HOTFIX}"
 | 
					        Version="${HotfixBranch#$HOTFIX}"
 | 
				
			||||||
        Tag="$TAG_PREFIX$Version$TAG_SUFFIX"
 | 
					 | 
				
			||||||
        merge_hotfix_action "$@"; return $?
 | 
					        merge_hotfix_action "$@"; return $?
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -69,7 +67,7 @@ Vous devrez:
 | 
				
			|||||||
    fi
 | 
					    fi
 | 
				
			||||||
    ask_yesno "Voulez-vous continuer?" O || die
 | 
					    ask_yesno "Voulez-vous continuer?" O || die
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    local script=".git/pman-release.sh"
 | 
					    local script=".git/rel-release.sh"
 | 
				
			||||||
    local -a push_branches push_tags
 | 
					    local -a push_branches push_tags
 | 
				
			||||||
    local comment=
 | 
					    local comment=
 | 
				
			||||||
    local or_die=" || exit 1"
 | 
					    local or_die=" || exit 1"
 | 
				
			||||||
@ -82,11 +80,6 @@ if [ -n "\$create" ]; then
 | 
				
			|||||||
esection "Création de la release"
 | 
					esection "Création de la release"
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
    _rscript_create_release_branch
 | 
					    _rscript_create_release_branch
 | 
				
			||||||
    [ -n "$AFTER_CREATE_RELEASE" ] && _scripta <<EOF
 | 
					 | 
				
			||||||
(
 | 
					 | 
				
			||||||
$AFTER_CREATE_RELEASE
 | 
					 | 
				
			||||||
)$or_die
 | 
					 | 
				
			||||||
EOF
 | 
					 | 
				
			||||||
    _scripta <<EOF
 | 
					    _scripta <<EOF
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
@ -100,11 +93,6 @@ EOF
 | 
				
			|||||||
    _rscript_merge_release_branch "$DestBranch" "$Tag"
 | 
					    _rscript_merge_release_branch "$DestBranch" "$Tag"
 | 
				
			||||||
    _rscript_merge_release_branch "$SrcBranch"
 | 
					    _rscript_merge_release_branch "$SrcBranch"
 | 
				
			||||||
    _rscript_delete_release_branch
 | 
					    _rscript_delete_release_branch
 | 
				
			||||||
    [ -n "$AFTER_MERGE_RELEASE" ] && _scripta <<EOF
 | 
					 | 
				
			||||||
(
 | 
					 | 
				
			||||||
$AFTER_MERGE_RELEASE
 | 
					 | 
				
			||||||
)$or_die
 | 
					 | 
				
			||||||
EOF
 | 
					 | 
				
			||||||
    _scripta <<EOF
 | 
					    _scripta <<EOF
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
@ -117,11 +105,6 @@ esection "Pousser branches et tags"
 | 
				
			|||||||
EOF
 | 
					EOF
 | 
				
			||||||
    _script_push_branches
 | 
					    _script_push_branches
 | 
				
			||||||
    _script_push_tags
 | 
					    _script_push_tags
 | 
				
			||||||
    [ -n "$AFTER_PUSH_RELEASE" ] && _scripta <<EOF
 | 
					 | 
				
			||||||
(
 | 
					 | 
				
			||||||
$AFTER_PUSH_RELEASE
 | 
					 | 
				
			||||||
)$or_die
 | 
					 | 
				
			||||||
EOF
 | 
					 | 
				
			||||||
    _scripta <<EOF
 | 
					    _scripta <<EOF
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										29
									
								
								composer.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										29
									
								
								composer.lock
									
									
									
										generated
									
									
									
								
							@ -4,7 +4,7 @@
 | 
				
			|||||||
        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
 | 
					        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
 | 
				
			||||||
        "This file is @generated automatically"
 | 
					        "This file is @generated automatically"
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    "content-hash": "266a079e97f3ceecc2cc0a84d6b9743b",
 | 
					    "content-hash": "ab280aa4a5f5c83fa488537530b29759",
 | 
				
			||||||
    "packages": [
 | 
					    "packages": [
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            "name": "symfony/deprecation-contracts",
 | 
					            "name": "symfony/deprecation-contracts",
 | 
				
			||||||
@ -301,16 +301,16 @@
 | 
				
			|||||||
        },
 | 
					        },
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            "name": "myclabs/deep-copy",
 | 
					            "name": "myclabs/deep-copy",
 | 
				
			||||||
            "version": "1.13.0",
 | 
					            "version": "1.12.1",
 | 
				
			||||||
            "source": {
 | 
					            "source": {
 | 
				
			||||||
                "type": "git",
 | 
					                "type": "git",
 | 
				
			||||||
                "url": "https://github.com/myclabs/DeepCopy.git",
 | 
					                "url": "https://github.com/myclabs/DeepCopy.git",
 | 
				
			||||||
                "reference": "024473a478be9df5fdaca2c793f2232fe788e414"
 | 
					                "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845"
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            "dist": {
 | 
					            "dist": {
 | 
				
			||||||
                "type": "zip",
 | 
					                "type": "zip",
 | 
				
			||||||
                "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/024473a478be9df5fdaca2c793f2232fe788e414",
 | 
					                "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/123267b2c49fbf30d78a7b2d333f6be754b94845",
 | 
				
			||||||
                "reference": "024473a478be9df5fdaca2c793f2232fe788e414",
 | 
					                "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845",
 | 
				
			||||||
                "shasum": ""
 | 
					                "shasum": ""
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            "require": {
 | 
					            "require": {
 | 
				
			||||||
@ -349,7 +349,7 @@
 | 
				
			|||||||
            ],
 | 
					            ],
 | 
				
			||||||
            "support": {
 | 
					            "support": {
 | 
				
			||||||
                "issues": "https://github.com/myclabs/DeepCopy/issues",
 | 
					                "issues": "https://github.com/myclabs/DeepCopy/issues",
 | 
				
			||||||
                "source": "https://github.com/myclabs/DeepCopy/tree/1.13.0"
 | 
					                "source": "https://github.com/myclabs/DeepCopy/tree/1.12.1"
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            "funding": [
 | 
					            "funding": [
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
@ -357,7 +357,7 @@
 | 
				
			|||||||
                    "type": "tidelift"
 | 
					                    "type": "tidelift"
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            ],
 | 
					            ],
 | 
				
			||||||
            "time": "2025-02-12T12:17:51+00:00"
 | 
					            "time": "2024-11-08T17:47:46+00:00"
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            "name": "nikic/php-parser",
 | 
					            "name": "nikic/php-parser",
 | 
				
			||||||
@ -423,19 +423,13 @@
 | 
				
			|||||||
            "source": {
 | 
					            "source": {
 | 
				
			||||||
                "type": "git",
 | 
					                "type": "git",
 | 
				
			||||||
                "url": "https://git.univ-reunion.fr/sda-php/nulib-tests.git",
 | 
					                "url": "https://git.univ-reunion.fr/sda-php/nulib-tests.git",
 | 
				
			||||||
                "reference": "8f641d9a7cf6aba1453cb42ebd15951aa7002e1b"
 | 
					                "reference": "9b5c9c295c3dee6fc02ccddbd8a70bca797c8045"
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            "require": {
 | 
					            "require": {
 | 
				
			||||||
                "php": "^7.3 || 8.0.*",
 | 
					                "php": ">=7.3",
 | 
				
			||||||
                "phpunit/phpunit": "^9"
 | 
					                "phpunit/phpunit": "^9"
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            "type": "library",
 | 
					            "type": "library",
 | 
				
			||||||
            "extra": {
 | 
					 | 
				
			||||||
                "branch-alias": {
 | 
					 | 
				
			||||||
                    "dev-pu9": "7.3.x-dev",
 | 
					 | 
				
			||||||
                    "dev-pu10": "8.1.x-dev"
 | 
					 | 
				
			||||||
                }
 | 
					 | 
				
			||||||
            },
 | 
					 | 
				
			||||||
            "autoload": {
 | 
					            "autoload": {
 | 
				
			||||||
                "psr-4": {
 | 
					                "psr-4": {
 | 
				
			||||||
                    "nulib\\tests\\": "src"
 | 
					                    "nulib\\tests\\": "src"
 | 
				
			||||||
@ -453,7 +447,7 @@
 | 
				
			|||||||
                }
 | 
					                }
 | 
				
			||||||
            ],
 | 
					            ],
 | 
				
			||||||
            "description": "fonctions et classes pour les tests",
 | 
					            "description": "fonctions et classes pour les tests",
 | 
				
			||||||
            "time": "2025-02-28T17:12:35+00:00"
 | 
					            "time": "2025-01-30T13:18:31+00:00"
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            "name": "phar-io/manifest",
 | 
					            "name": "phar-io/manifest",
 | 
				
			||||||
@ -2021,8 +2015,7 @@
 | 
				
			|||||||
    "platform-dev": {
 | 
					    "platform-dev": {
 | 
				
			||||||
        "ext-posix": "*",
 | 
					        "ext-posix": "*",
 | 
				
			||||||
        "ext-pcntl": "*",
 | 
					        "ext-pcntl": "*",
 | 
				
			||||||
        "ext-curl": "*",
 | 
					        "ext-curl": "*"
 | 
				
			||||||
        "ext-sqlite3": "*"
 | 
					 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "plugin-api-version": "2.2.0"
 | 
					    "plugin-api-version": "2.2.0"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user