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

Can not install due to missing dependency #12

Open
sebastianthulin opened this issue May 13, 2022 · 4 comments
Open

Can not install due to missing dependency #12

sebastianthulin opened this issue May 13, 2022 · 4 comments

Comments

@sebastianthulin
Copy link

This plugin has a reference to a missing branch in broken links. I just want to be shure about the purpose of this reference, before directing it to master.

Error:
municipio/content-insights-for-editors dev-master requires helsingborg-stad/broken-link-detector dev-whitespace -> found helsingborg-stad/broken-link-detector[dev-master, dev-develop, 1.0.0, ..., 1.3.14] but it does not match the constraint.

If there are any required changes it would be nice to merge them.

@jeanfredrik
Copy link
Member

Add this to your composer.json and try again:

{
  "repositories": [
    {
      "type": "vcs",
      "url": "[email protected]:whitespace-se/broken-link-detector.git",
      "no-api": true
    }
  ]
}

The whitespace-se fork adds support for looking for broken links inside modules. See this branch comparison: helsingborg-stad/broken-link-detector@master...whitespace-se:whitespace

Would you like a pull request on that?

@sebastianthulin
Copy link
Author

That would be very nice to have! Thanks! :)

@jeanfredrik
Copy link
Member

Ok, i will look into that.

Did my suggestion above solve the original problem for you?

@sebastianthulin
Copy link
Author

Hi!

This did not work for me. I made a PR from your public repository, which i have merged.

The PR is shown here: helsingborg-stad/broken-link-detector#2

The issue encounterd are the following, inside github actions:

`Failed to execute git clone --mirror -- '[email protected]:whitespace-se/broken-link-detector.git' '/home/runner/.cache/composer/vcs/git-github.com-whitespace-se-broken-link-detector.git/'

Cloning into bare repository '/home/runner/.cache/composer/vcs/git-github.com-whitespace-se-broken-link-detector.git'...
Warning: Permanently added the RSA host key for IP address '140.82.114.3' to the list of known hosts.
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.`

I believe this can be resolved, but it was easier to merge the patch into core repository.

The vcs instruction needs to be removed in order to resolve this issue entirely,

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