cypht icon indicating copy to clipboard operation
cypht copied to clipboard

Decide if composer.lock should be tracked in Git (or stay with composer.lock in .gitignore)

Open marclaporte opened this issue 1 year ago • 1 comments

https://stackoverflow.com/questions/12896780/should-composer-lock-be-committed-to-version-control

https://search.brave.com/search?q=composer.lock

composer.lock is now in https://github.com/jasonmunro/cypht/blob/master/.gitignore

Related: https://github.com/jasonmunro/cypht/issues/311

marclaporte avatar Aug 14 '22 19:08 marclaporte

Related chat thread on Gitter: https://gitter.im/cypht-org/community?at=62fa629511a6a83d040e77fb

marclaporte avatar Aug 22 '22 12:08 marclaporte

Removing composer.lock has caused an issue with install. As composer.json contains the pre install and pre update commands composer check-platform-reqs, composer install expects a lockfile to be present.

I'm a neophyte with composer and stuff, so I worked around this by replacing the commands in pre-install and pre-update with echo hi and then composer install correctly generated the lockfile.

Tea23 avatar Sep 26 '22 12:09 Tea23

Removing composer.lock has caused an issue with install. As composer.json contains the pre install and pre update commands composer check-platform-reqs, composer install expects a lockfile to be present.

I'm having this same issue when trying to update.

kk6mrp avatar Oct 01 '22 14:10 kk6mrp

Related: https://github.com/jasonmunro/cypht/pull/632/files

marclaporte avatar Nov 01 '22 00:11 marclaporte