Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
project_dependency is failing to clone easycron for calculations.
This has nothing to do with project_dependency - a clone just fails:
rfay@rfay-macbook2013:/tmp$ git clone git://git.drupal.org/project/easycron.git
Cloning into 'easycron'...
fatal: remote error: access denied or repository not exported: /project/easycron.git
However, easycron shows releases... https://drupal.org/project/easycron
Comment | File | Size | Author |
---|---|---|---|
#6 | project_dependency-fix_repo_name-2144725-06.patch | 1.2 KB | trobey |
Comments
Comment #1
rfayComment #2
eliza411 CreditAttribution: eliza411 commentedI can clone this on my local environment both anonymously and as a maintainer, fwiw.
Comment #3
rfayTurns out this is one of those case problems.
The shortname of the project is easycron, but the repository is EasyCron.git
So I *can* clone EasyCron.
Comment #4
drummhttps://drupal.org/project/EasyCron/git-instructions does show EasyCron.git. Machine names are not the same as repository names.
In
project_dependency_get_external_component_dependencies()
$machine_name
should be something like$project->versioncontrol_project['repo']->name
.In general, project_dependency.drupal.inc's
project_dependency_info_batch_process_release()
can be simplified by using more data from$project->versioncontrol_project
.Comment #5
drummThis is surfacing after the D7 upgrade because we snuck lowercasing project machine names into the upgrade, but not lowercasing repo names.
Comment #6
trobey CreditAttribution: trobey commentedAttached is a patch. I tested it with
drush pdpp easycron
which is no longer failing.
Comment #7
rfayLooks perfectly reasonable to me.
Comment #8
trobey CreditAttribution: trobey commentedComment #9
rfayGoes to "fixed" on commit. Commit was http://drupalcode.org/project/project_dependency.git/commitdiff/cda7962bb3
This will get deployed with the info.yml deployment.
Comment #10
rfayDeployed on drupal.org