adam-paterson / adam-paterson/watson-common
Failing composer require. History possibly rewritten
- Ngôn ngữ chính
- PHP
- Star
- 1
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hi Adam, tried using this as a dependency today and got the following error. Is there a way you can update/sync packagist to know about the actual latest commit? It seems to be trying to clone a commit that doesn't exist:
```
$ composer require adam-paterson/watson-common
Using version ^1.0@dev for adam-paterson/watson-common
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 27 installs, 0 updates, 0 removals
- Installing adam-paterson/watson-common (dev-master 3cba41b): Cloning 3cba41bd77 from cache
3cba41bd775e847940f3603c51c12aacc9ce446c is gone (history was rewritten?)
Failed to download adam-paterson/watson-common from source: Failed to execute git checkout '3cba41bd775e847940f3603c51c12aacc9ce446c' -- && git reset --hard '3cba41bd775e847940f3603c51c12aacc9ce446c' --
fatal: reference is not a tree: 3cba41bd775e847940f3603c51c12aacc9ce446c
Now trying to download from dist
- Installing adam-paterson/watson-common (dev-master 3cba41b): Downloading (failed)
Installation failed, reverting ./composer.json to its original content.
[Composer\Downloader\TransportException]
The "https://api.github.com/repos/adam-paterson/watson-common/zipball/3cba41bd775e847940f3603c51c12aacc9ce446c" file could not be downloaded (HTTP/1.1 302 Found)
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start by reproducing the Composer require failure and checking the repository's current history against the missing commit 3cba41bd775e847940f3603c51c12aacc9ce446c. Then inspect how the package is published to Packagist and confirm that installation resolves an existing commit and completes successfully.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- git, github, php
- Lĩnh vực
- tooling
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100