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
Packagist install with older versions fails #1888
Comments
@dvmanjunathdv Change the line: From: To: For this package in the "repositories" section of you composer.json and run: They changed the name of the 'master' branch to 'main'. The whole world has gone nuts and we pay the price. |
If you're talking about composer (and packagist) then the source is now in Don't simply correct it to |
There is apparently a missing config somewhere to tell packagist that this is the new source of truth (although I set up this project in the settings). If anyone could help out I'd be thankful. |
Is there a plan to rename the |
No I'll leave that. It's really just a dump for the compiled files, since packagist doesn't offer any other way to distribute the files and I don't want compiled files in my main repo (I've been getting plenty of PRs changing them, and I think they simply should not be checked in). |
Yes i'm talking about composer. composer is failing to clone origin master. Please find the below composer json code.
|
@dvmanjunathdv you should be able to change |
Ah yes... I see. @fjgarlin is right in theory, but if you're targeting older versions then this probably will fail as well. Please upgrade to |
SolutionOk, so everybody who gets this issue please upgrade to If someone with a better understanding of packagist could help me out here, it would be very welcome. |
For Drupal 8 is it safe to remove the "repository" part in composer.json?
|
@dsmink - then the library would be placed in the |
Thanks for helping out @fjgarlin |
I'm closing this for now, since I think all use cases are solved. I'm pinning it though so it's easy to find since I expect a few people running into this problem unfortunately. Again, I'm sorry this happened. There are so many package managers depending on this project that it's hard to make big changes without breaking a few things. |
Installing enyo/dropzone (5.3.0): Cloning origin/master from cache
origin/master is gone (history was rewritten?)
[RuntimeException]
Failed to execute git checkout 'origin/master' -- && git reset --hard 'origin/master' --
fatal: invalid reference: origin/master
facing this issue from from today
The text was updated successfully, but these errors were encountered: