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

Vitality for metarepos is off #264

Closed
bfabio opened this issue Apr 28, 2022 · 1 comment · Fixed by #265
Closed

Vitality for metarepos is off #264

bfabio opened this issue Apr 28, 2022 · 1 comment · Fixed by #265
Assignees

Comments

@bfabio
Copy link
Member

bfabio commented Apr 28, 2022

Vitality of software using metarepos is wrong, because it's being calculated against the metarepo itself

eg. https://developers.italia.it/it/software/italia-software-freepbx-1b386f
image

(uses https://github.com/italia-software/FreePBX instead of https://github.com/FreePBX/devtools)

@bfabio bfabio self-assigned this Apr 28, 2022
bfabio added a commit to bfabio/publiccode-crawler that referenced this issue Apr 28, 2022
Use the URL in publiccode.yml when cloning the repo locally, so the
vitality of software using metarepos is calculated against the actual software
repository instead of the metarepo itself.

Fix italia#264.
bfabio added a commit that referenced this issue May 10, 2022
fix: use publiccode.yml's url when cloning the repo locally

Use the URL in publiccode.yml when cloning the repo locally, so the
vitality of software using metarepos is calculated against the actual software
repository instead of the metarepo itself.

Fix #264.
@bfabio bfabio reopened this May 11, 2022
@bfabio
Copy link
Member Author

bfabio commented May 11, 2022

Works as expected:

image

But we still need to remove the previous clone from the server for all metarepos (namely, the ones in the italia-software org) in order to fetch the right repo.

Since we're running low on disk space and one of the metarepos is GitLab, which is a big repo, let's wait until this is checked in before removing the old clones.

@bfabio bfabio closed this as completed May 26, 2022
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

Successfully merging a pull request may close this issue.

1 participant