Re: [Tiki-devel] Composer is broken and show a lot of new things
Jonny Bradley via TikiWiki-devel <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Bernard That's what we've been seeing in the CI pipelines on gitlab recently https://gitlab.com/tikiwiki/tiki/-/pipelines but i just ran mine locally and it was fine (plenty of "does not comply with psr-0 autoloading standard" warnings when run via setup.sh though) I tried that first one with wget -v and got no SSL warnings, and i tried it on a random ssl checker site and it's all green, good for another 38 days and happy all the way along the chain. I just cleared my composer cache and deleted vendor_bundled/vendor/* and reran composer install and it all worked fine (apart from an odd token one, details below). So could the certificate be incorrectly cached somehow (on gitlab and Bernard's server)? Might it have been connected with general network issues (at facebook) yesterday somehow? Most odd, any ideas others? jonny p.s. error: > Could not fetch https://api.github.com/repos/zbateson/mb-wrapper/zipball/721b3dfbf7ab75fee5ac60a542d7923ffe59ef6d, please review your configured GitHub OAuth token or enter a new one to access private repos > Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+Cloudy-Fly.local+2021-10-05+1032 > to retrieve a token. It will be stored in "/Users/jonny/.composer/auth.json" for future use by Composer. > Token (hidden): I pressed return... > No token given, aborting. > You can also add it manually later by using "composer config --global --auth github-oauth.github.com <token>" > Failed to download zbateson/mb-wrapper from dist: Could not authenticate against github.com > Now trying to download from source > - Syncing zbateson/mb-wrapper (1.0.1) into cache > 291/295 [===========================>] 98% > Could not fetch https://api.github.com/repos/zbateson/stream-decorators/zipball/3403c4323bd1cd15fe54348b031b26b064c706af, please review your configured GitHub OAuth token or enter a new one to access private repos > Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+Cloudy-Fly.local+2021-10-05+1036 > to retrieve a token. It will be stored in "/Users/jonny/.composer/auth.json" for future use by Composer. > Token (hidden): Same three times then it continued - any ideas what is this? The 3 zbateson packages seem to have been installed, but this could trip up automated setups... i can't find any uses in tiki, so presumably these are dependencies of other packages we use? > On 5 Oct 2021, at 08:31, Bernard Sfez via TikiWiki-devel <[email protected]> wrote: > > Hello, > > In case it light a red led on someone's console, > > Running sh setup.sh on a fresh install of Tiki23 I got several new things and especially request to enter GitHub credentials. > >> Failed to download amphp/parser from dist: curl error 60 while downloading https://composer.tiki.org/dist/amphp/parser/amphp-parser-f83e68f03d5b8e8e0365b8792985a7f341c57ae1-zip-ba595f.zip: SSL certificate problem: certificate has expired >> Now trying to download from source >> - Syncing amphp/parser (v1.0.0) into cache >> The authenticity of host 'github.com (140.82.121.3)' can't be established. >> RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8. >> Are you sure you want to continue connecting (yes/no)? yes > > > A lot of failed: > >> 1/253 [>---------------------------] 0% Failed to download composer/installers from dist: curl error 28 while downloading https://composer.tiki.org/dist/composer/installers/composer-installers-d20a64ed3c94748397ff5973488761b22f6d3f19-zip-b17ea2.zip: Operation timed out after 2000800 milliseconds with 0 out of 0 bytes received >> Now trying to download from source >> - Syncing composer/installers (v1.12.0) into cache >> Failed to download oomphinc/composer-installers-extender from dist: curl error 28 while downloading https://composer.tiki.org/dist/oomphinc/composer-installers-extender/oomphinc-composer-installers-extender-8d3fe38a1723e0e91076920c8bb946b1696e28ca-zip-aaaf7e.zip: Operation timed out after 2000800 milliseconds with 0 out of 0 bytes received >> Now trying to download from source >> - Syncing oomphinc/composer-installers-extender (2.0.0) into cache >> Failed to download adodb/adodb-php from dist: curl error 28 while downloading https://composer.tiki.org/dist/adodb/adodb-php/adodb-adodb-php-aa161c28dfffcab13a3cb9bd407917573987f0f6-zip-a31202.zip: Operation timed out after 2000800 milliseconds with 0 out of 0 bytes received > > > Some ssh key GitHub requests > >> - Syncing dasprid/enum (1.0.3) into cache >> Failed to download bacon/bacon-qr-code from dist: curl error 60 while downloading https://composer.tiki.org/dist/bacon/bacon-qr-code/bacon-bacon-qr-code-f73543ac4e1def05f1a70bcd1525c8a157a1ad09-zip-c50eda.zip: SSL certificate problem: certificate has expired >> Now trying to download from source >> - Syncing bacon/bacon-qr-code (2.0.4) into cache >> Failed to download bower-asset/fontawesome from dist: curl error 60 while downloading https://composer.tiki.org/dist/bower-asset/fontawesome/bower-asset-fontawesome-7d3d774145ac38663f6d1effc6def0334b68ab7e-zip-e26d21.zip: SSL certificate problem: certificate has expired >> Now trying to download from source >> - Syncing bower-asset/fontawesome (5.15.4) into cache >> Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos >> Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+Bernards-MacBook-Pro.local+2021-10-05+0634 >> to retrieve a token. It will be stored in "/Users/bernardsfez/.composer/auth.json" for future use by Composer. > > After one hour waiting seems the process is stuck > >> Now trying to download from source >> - Syncing bower-asset/fontawesome (5.15.4) into cache >> Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos >> Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+Bernards-MacBook-Pro.local+2021-10-05+0634 >> to retrieve a token. It will be stored in "/Users/bernardsfez/.composer/auth.json" for future use by Composer. >> > > I tried twice, same problem. > > The directory "/Users/bernardsfez/.composer/“ is owned by the same user that runs setup.sh but the file is not created. > > Bernard > > > > > > > > > _______________________________________________ > TikiWiki-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel _______________________________________________ TikiWiki-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel