Retry / switch to source build on connection errors
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 48/100
Piste de recherche
Start by tracing the package download flow that raises CouldNotDetermineDownloadUrlMethod.php and check how it selects the pre-packaged-source method versus a source download. The issue does not name the relevant implementation files or tests, so first locate that error and the download method tests. Done means a connection error can trigger a retry or source-download fallback, with tests covering the behavior.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
What are you trying to do?
Last night several docker image builds failed due to GitHub reachability,
> [frankenphp-8-2 linux/arm64 stage-0 3/5] RUN --mount=type=bind,from=ghcr.io/php/pie:bin,source=/pie,target=/usr/local/bin/pie <<EOF (set -e...):
67.99 ✅ PIE package phpredis/phpredis (redis) is already installed and verified.
68.86
68.87 In CouldNotDetermineDownloadUrlMethod.php line 31:
68.87
68.87 Could not download kjdev/zstd using pre-packaged-source method: Could not a
68.87 uthenticate against github.com
68.87
68.87
68.87 install [-j|--make-parallel-jobs MAKE-PARALLEL-JOBS] [--skip-enable-extension] [--force] [--suppress-download-url-method SUPPRESS-DOWNLOAD-URL-METHOD] [-d|--working-dir WORKING-DIR] [--with-php-config WITH-PHP-CONFIG] [--with-php-path WITH-PHP-PATH] [--with-phpize-path WITH-PHPIZE-PATH] [--no-cache] [--allow-non-interactive-project-install] [--no-dev] [--select SELECT] [--auto-install-build-tools] [--no-build-tools-check] [--auto-install-system-dependencies] [--no-system-dependencies-check] [--from-lock] [--] [<requested-package-and-version>...]
What platform, and PIE version are you using?
(add the output of pie show -v, and information about which OS you're using etc.)
Steps to reproduce the issue
What do you expect to happen?
Retry or fallback to source download
What is actually happening
Pipeline failed could maybe worked with an source download
Complete logs/output
Complete error messages and/or logs, including stack traces (hint: use -v for verbose), but please redact sensitive information.
Anything else?
other information that might be helpful...
- Langage dominant
- PHP
- Étoiles
- 2.1k
- Forks
- 76
- Merge moyen
- 16 h 58 min
- PR mergées (30 j)
- 19
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de php/pie
-
Difficulté 3/5 1-2 jours Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour
-
Investigate flaky ubi9/rocky e2e testsPeut-être pris @asgrim l’a pris il y a 4 jours. Ouvertemaintainer investigating
php/pie#785 · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
When --from-lock is used, --no-dev becomes a no-opPeut-être pris @asgrim l’a pris il y a 10 jours. Ouvertemaintainer investigating
php/pie#778 · 2 commentaires · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
Do not duplicate an ext in pie show output for dev versionsPeut-être pris @asgrim l’a pris il y a 27 jours. Ouverteenhancement maintainer investigating
php/pie#746 · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
Allow building from existing sources on diskPeut-être à nouveau libre @asgrim l’a pris il y a 38 jours, et aucune pull request n’est ouverte. Ouverteenhancement maintainer investigating
php/pie#738 · 2 commentaires · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
Issues similaires
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
octobercms/october#6150 ·
-
Syntax error with CONST-sOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
type/bug
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
flarum/framework#5301 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Add TuneIn-DirMon in the bot listPeut-être pris @liviuconcioiu l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
matomo-org/device-detector#8424 ·
Les mainteneurs répondent en général sous 1 jour
-
An improved changelogOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 63/100
Les mainteneurs répondent en général sous 1 jour