GithubHelp home page GithubHelp logo

Failed to clone about bazaar HOT 10 CLOSED

SamB440 avatar SamB440 commented on August 26, 2024
Failed to clone

from bazaar.

Comments (10)

luceos avatar luceos commented on August 26, 2024 1

@clarkwinkelmann i think the issue is that composer will fall back on doing a git checkout/clone in case no dist tarball was found. There might be several reasons for that, but none we have any influence on. I guess we need to start working on our own dist files directory. 😬

from bazaar.

clarkwinkelmann avatar clarkwinkelmann commented on August 26, 2024

Hi, thanks for your report.

Can you share the content of your composer.json file and your composer version (via composer --version) ?

from bazaar.

SamB440 avatar SamB440 commented on August 26, 2024

Composer.json:
{ "name": "flarum/flarum", "description": "Delightfully simple forum software.", "type": "project", "keywords": ["forum", "discussion"], "homepage": "http://flarum.org", "license": "MIT", "authors": [ { "name": "Toby Zerner", "email": "[email protected]" }, { "name": "Franz Liedke", "email": "[email protected]" } ], "support": { "issues": "https://github.com/flarum/core/issues", "source": "https://github.com/flarum/flarum", "docs": "http://flarum.org/docs" }, "require": { "flarum/core": "^0.1.0", "flarum/flarum-ext-akismet": "^0.1.0", "flarum/flarum-ext-approval": "^0.1.0", "flarum/flarum-ext-auth-facebook": "^0.1.0", "flarum/flarum-ext-auth-github": "^0.1.0", "flarum/flarum-ext-auth-twitter": "^0.1.0", "flarum/flarum-ext-bbcode": "^0.1.0", "flarum/flarum-ext-emoji": "^0.1.0", "flarum/flarum-ext-english": "^0.1.0", "flarum/flarum-ext-flags": "^0.1.0", "flarum/flarum-ext-likes": "^0.1.0", "flarum/flarum-ext-lock": "^0.1.0", "flarum/flarum-ext-markdown": "^0.1.0", "flarum/flarum-ext-mentions": "^0.1.0", "flarum/flarum-ext-pusher": "^0.1.0", "flarum/flarum-ext-sticky": "^0.1.0", "flarum/flarum-ext-subscriptions": "^0.1.0", "flarum/flarum-ext-suspend": "^0.1.0", "flarum/flarum-ext-tags": "^0.1.0", "flagrow/bazaar": "^0.1.0", "cl1608ho/flarum-ext-discord-webhook": "^0.1.0@beta", "flagrow/upload": "^0.5.7", "sijad/flarum-ext-links": "^0.1.0@beta", "xengine/flarum-ext-signature": "^0.1.2", "ganuonglachanh/flarum-ext-markdown-editor": "^0.9.0", "hugogit/flarum-ext-discordwidget": "^0.1.7", "flagrow/byobu": "^0.1.0@beta", "datitisev/flarum-ext-dashboard": "^0.1.0@beta", "jordanjay29/flarum-ext-summaries": "^0.2.0" }, "require-dev": { "franzl/studio": "^0.11.0" }, "config": { "preferred-install": "dist" }, "minimum-stability": "beta", "prefer-stable": true }
Composer version: 1.4.1

from bazaar.

clarkwinkelmann avatar clarkwinkelmann commented on August 26, 2024

@luceos i think the issue is that composer will fall back on doing a git checkout/clone in case no dist tarball was found

That's what I believe as well.

@SamB440 I installed a Flarum just like yours based on the composer file and I can't reproduce the issue. This must be something with your environment.

I may suggest you try to clear composer cached files. A thing that happened to me in the past was the cache was written with wrong permissions and everytime composer ran it was fetching things again in a different manner.

@luceos I guess we need to start working on our own dist files directory

Wouldn’t we end up hitting the same kind of issues with our own implementation ? 🤔

from bazaar.

SamB440 avatar SamB440 commented on August 26, 2024

I tried clearing the cache and the issue still occurs :(

from bazaar.

clarkwinkelmann avatar clarkwinkelmann commented on August 26, 2024

Seeing you have "config": { "preferred-install": "dist" } in your composer.json there's no reason for composer to try downloading the source code...

I'm running out of suggestions. If you are able to install git on your server, you could at least use Bazaar, even if it fetches the source instead of the dist.

from bazaar.

luceos avatar luceos commented on August 26, 2024

What composer version is installed @SamB440 ?

from bazaar.

SamB440 avatar SamB440 commented on August 26, 2024

1.4.1, as stated before :P It's pretty recent, not that old.

from bazaar.

luceos avatar luceos commented on August 26, 2024

Sorry I missed that 😁 I also think your cache folder is not writable. Can you run the action bazaar tries manually?

composer require flagrow/upload -vvv

from bazaar.

clarkwinkelmann avatar clarkwinkelmann commented on August 26, 2024

@SamB440 is this still happening ? Did you try @luceos suggestion ?

I'm closing this because it's clearly not a Bazaar issue. Feel free to come back with additional information. I'll re-open if necessary 😉

from bazaar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.