Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev Branches Keep Multiple Versions #205

Open
john-everden opened this issue Dec 21, 2023 · 1 comment
Open

Dev Branches Keep Multiple Versions #205

john-everden opened this issue Dec 21, 2023 · 1 comment

Comments

@john-everden
Copy link

When using branch based commits for reference for instance

composer require namespace/package:dev-my-branch

I've noticed packeton only keeps a reference to the latest commit on "my-branch" in this instance. Lock files will lock to the specific commit on this branch. This causes a not found error when attempting to run composer install if a later commit has been pushed as packeton only keeps the very latest commit for download. I've only ever used dev branches within packeton and I'm uncertain if this is a limitation of the this specific software package or composer in general. If it's a limitation of the software is this configurable somewhere or possible to change? It makes it inconvenient for the team I'm working on as we have composer install running on container startup and the containers will crash loop when it fails to install the missing prior commit referenced in the lock file.

@vtsykun
Copy link
Owner

vtsykun commented Dec 21, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants