Code Monkey home page Code Monkey logo

Comments (8)

schmunk42 avatar schmunk42 commented on September 28, 2024

Thanks for pointing that out.
You may run the installation with --prefer-dist to overcome this problem (for hg).

I'll check and update packages.phundament.com to list every package also as a zip file, so you won't need git or hg at all, but PHP mod_ssl.

from app.

igorsantos07 avatar igorsantos07 commented on September 28, 2024

Awesome! Glad to have helped (:
On Apr 5, 2013 8:19 AM, "Tobias Munk" [email protected] wrote:

Thanks for pointing that out.
You may run the installation with --prefer-dist to overcome this problem
(for hg).

I'll check and update packages.phundament.com to list every package also
as a zip file, so you won't need git or hg at all, but PHP mod_ssl.


Reply to this email directly or view it on GitHubhttps://github.com//issues/41#issuecomment-15950551
.

from app.

igorsantos07 avatar igorsantos07 commented on September 28, 2024

I'd say the problem is a little bigger as I tried to deploy the app to a composer-enabled cloud server (CloudControl) and they also does not have mercurial, and thus the deploy fails.

Any tip on this?

from app.

schmunk42 avatar schmunk42 commented on September 28, 2024

What's about --prefer-dist? All hg files should be available as zips, but I had some issues with git files for dev versions from github.

Could you post here which package fails?

from app.

igorsantos07 avatar igorsantos07 commented on September 28, 2024

I thought about it but as I have already installed and I'm currently developing the app, I could not reinstall phundament with this option, right?

The named package is yii-rights (not sure if others will fail after fixing this, though).

I'm quite newbie with composer too (and phundament is the main reason I'm learning how to use it) so please be gentle with my dumb questions XD

from app.

schmunk42 avatar schmunk42 commented on September 28, 2024

Make a backup first!

But, in general you should always be able to remove folders from vendor and run composer install or update with different options again.

So --prefer-dist should download archives without using git or hg, but it looks like it's not available for some versions, I have to check that.

You should also be able by using git init to create a repo from a Phundament installation. The .gitignore file excludes some directories already.
Don't commit vendor/, but composer.lock and you can create an exact replica of your project by running git pull and composer.phar install.

PS: There's a German saying like: There are no dumb questions, but dumb answers.

from app.

igorsantos07 avatar igorsantos07 commented on September 28, 2024

Thanks for the tips. I finished the problem adding custom repositories for the mercurial packages, using their zip link instead. This way I still can get updated versions from the other packages, at least.
I'm going to suggest cloudcontrol to run the composer command using --prefer-dist, or installing mercurial.

from app.

schmunk42 avatar schmunk42 commented on September 28, 2024

Neither mercurial nor git should be required when using update --prefer-dist from now on.
With 0.19 (coming soon!) you can also install without additional tools.

from app.

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.