Skip to content

[BUG] Git from-oci fails if more than one to-oci has occurred #119

Description

@nathan-joslin

ace-dt git from-oci fails if more than 1 ace-dt git to-oci action has occurred for the same reference.

Reproduce:

  • ace-dt git to-oci inital full bundle push
  • ace-dt git to-oci shallow bundle push
  • mkdir test && cd test && git init
  • ace-dt git from-oci <oci-ref> file://<absolute-path-to-test-dir> fails

Error:

Error: rebuilding (OCI) "127.0.0.1:5000/test-ace-dt:sync" to (Git) "file:///tmp/test-ace-dt/": updating intermediate repo from OCI: fetching from bundles: exit status 1
git ["git" "fetch" "changes3" "--tags" "--multiple"] produced an error: error: Repository lacks these prerequisite commits:
error: 048f0dd42b0768960a1dc0f018b4b2872552c8f6 
error: could not fetch changes3

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions