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

[Size of codebase] Error feeding raw from cocom for some repos #71

Open
florentk opened this issue Feb 14, 2021 · 1 comment
Open

[Size of codebase] Error feeding raw from cocom for some repos #71

florentk opened this issue Feb 14, 2021 · 1 comment
Assignees
Labels
bug Something isn't working stale

Comments

@florentk
Copy link
Collaborator

florentk commented Feb 14, 2021

Concern theses repos :

Theissue seem be a bad use of Git command by Graal :

2021-02-14 05:47:34,789 - grimoire_elk.elk - ERROR - Error feeding raw from cocom (https://github.com/openzim/docker-publish-action): git command - 'git <command> [<revision>...] -- [<file>...]'
 (return code: 128)
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/grimoire_elk/elk.py", line 162, in feed_backend
    ocean_backend.feed(**params)
  File "/usr/local/lib/python3.7/dist-packages/grimoire_elk/raw/elastic.py", line 228, in feed
    self.feed_items(items)
  File "/usr/local/lib/python3.7/dist-packages/grimoire_elk/raw/elastic.py", line 244, in feed_items
    for item in items:
  File "/usr/local/lib/python3.7/dist-packages/perceval/backend.py", line 226, in fetch
    for item in self.fetch_items(category, **kwargs):
  File "/usr/local/lib/python3.7/dist-packages/graal/graal.py", line 184, in fetch_items
    for commit in commits:
  File "/usr/local/lib/python3.7/dist-packages/perceval/backends/core/git.py", line 163, in fetch_items
    for commit in commits:
  File "/usr/local/lib/python3.7/dist-packages/perceval/backends/core/git.py", line 258, in parse_git_log_from_iter
    for commit in parser.parse():
  File "/usr/local/lib/python3.7/dist-packages/perceval/backends/core/git.py", line 534, in parse
    for line in self.stream:
  File "/usr/local/lib/python3.7/dist-packages/perceval/backends/core/git.py", line 1046, in log
    for line in self._exec_nb(cmd_log, cwd=self.dirpath, env=self.gitenv):
  File "/usr/local/lib/python3.7/dist-packages/perceval/backends/core/git.py", line 1276, in _exec_nb
    raise RepositoryError(cause=cause)
perceval.errors.RepositoryError: git command - 'git <command> [<revision>...] -- [<file>...]'
 (return code: 128)
@florentk florentk added the bug Something isn't working label Feb 14, 2021
@florentk florentk self-assigned this Feb 14, 2021
@florentk florentk changed the title Error feeding raw from cocom for some repos [Size of codebase] Error feeding raw from cocom for some repos Feb 14, 2021
@stale
Copy link

stale bot commented Jun 2, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

@stale stale bot added the stale label Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

1 participant