Retry / switch to source build on connection errors
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 48/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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...
- Vorherrschende Sprache
- PHP
- Sterne
- 2.1k
- Forks
- 76
- Ø Merge
- 16 Std. 58 Min.
- Gemergte PRs (30 T.)
- 19
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus php/pie
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
Investigate flaky ubi9/rocky e2e testsEvtl. vergeben @asgrim hat das vor 5 Tagen übernommen. Offenmaintainer investigating
php/pie#785 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
When --from-lock is used, --no-dev becomes a no-opEvtl. vergeben @asgrim hat das vor 10 Tagen übernommen. Offenmaintainer investigating
php/pie#778 · 2 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Do not duplicate an ext in pie show output for dev versionsEvtl. wieder frei @asgrim hat das vor 28 Tagen übernommen, und es ist kein Pull Request offen. Offenenhancement maintainer investigating
php/pie#746 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Allow building from existing sources on diskEvtl. wieder frei @asgrim hat das vor 39 Tagen übernommen, und es ist kein Pull Request offen. Offenenhancement maintainer investigating
php/pie#738 · 2 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Ähnliche Issues
-
Awaiting Triage bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
openemr/openemr#14857 · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag
-
type: enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100