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

CommitInfoMiningRoutine Issue #38

Open
frobnitzem opened this issue Oct 6, 2023 · 2 comments
Open

CommitInfoMiningRoutine Issue #38

frobnitzem opened this issue Oct 6, 2023 · 2 comments

Comments

@frobnitzem
Copy link
Member

The CommitInfoMiningRoutine failed on LLNL/RAJA - potentially missing development branches or something.

Reproducer:

rm -fr workspace outputs notebook reposcanner.log
mkdir -p workspace outputs notebook
mkdir -p inputs
cat >inputs/config.yml <<.
routines:
  - CommitInfoMiningRoutine
.

cat >inputs/repositories.yml <<.
proj:
  name: A project
  urls: 
  - https://github.com/LLNL/RAJA
.

reposcanner --credentials inputs/credentials.yml \
            --config inputs/config.yml \
            --repositories inputs/repositories.yml \
            --workspaceDirectory workspace \
            --outputDirectory outputs \
            --notebookOutputPath notebook

Output:

'1191365'
0it [00:00, ?it/s]❌ Routine (LLNL/RAJA --> CommitInfoMiningRoutineRequest) failed. Reason: OfflineRepositoryRoutine Encountered an unexpected exception (<class '_pygit2.GitError'>).
reference 'refs/heads/master' not found
1it [00:13, 13.86s/it]
'1191365'
% cat reposcanner.log
DEBUG:asyncio:Using selector: KqueueSelector
DEBUG:asyncio:Using selector: KqueueSelector
@rmmilewi
Copy link
Member

rmmilewi commented Dec 21, 2023

I got a fix for this in the parallelOfflineCommitMining branch. There was a problem where using remote callback while cloning the repo with pygit2 would cause pygit2 to become confused about what the proper name is for the main branch. I'll close this issue once that gets merged in.

@frobnitzem
Copy link
Member Author

frobnitzem commented Dec 21, 2023 via email

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