generated from oracle/template-repo
-
Couldn't load subscription status.
- Fork 30
Closed
Labels
bugSomething isn't workingSomething isn't workinggit_operationsThe issues realated to the git operations that Macaron makes on the target repositoryThe issues realated to the git operations that Macaron makes on the target repository
Description
If a repository is cloned by Macaron and then we checkout a commit which makes the HEAD detached, if any of the files are modified for some reason, the reset_git_repo function fails to stash the changes and the second run of Macaron on that target fails.
Note that supporting commit checkout is crucial for mapping artifacts to commits.
To reproduce the error on the staging branch run:
macaron -o output analyze -purl pkg:maven/org.opentest4j/[email protected]?type=jar --skip-deps
pushd output/git_repos/github_com/ota4j-team/opentest4j/
git checkout 75136304fab712895090c9c4678dc72ccbcb5e21
popd
macaron -o output analyze -purl pkg:maven/org.opentest4j/[email protected]?type=jar --skip-depsMetadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggit_operationsThe issues realated to the git operations that Macaron makes on the target repositoryThe issues realated to the git operations that Macaron makes on the target repository