Skip to content

Something about distributions is not idempotent #98

@jonahbeckford

Description

@jonahbeckford

In dk0 2.4.2.72:

# commit 1d84baa03ea5a01c0c8d5f83d423f97b0ccb0266
$ git clone --branch V2_5 https://github.com/diskuv/dk.git dksrc

$ dksrc/dk0 --trial get-object NotInriaParkas_Caml.ORTools@9.15.0 \
  -s Release.Darwin_arm64 -d target/ocaml-ortools-arm64/
[up-to-date] NotInriaParkas_Caml.ORTools@9.15.0+bn-20250101000000 -s Release.Darwin_arm64

# POINT A

$ dksrc/dk0 --trial -I dksrc/etc/dk/v get-object NotInriaParkas_Caml.ORTools@9.15.0 \
  -s Release.Darwin_x86_64 -d target/ocaml-ortools-intel/
[error 890d8d77]: Could not get object.

    ╭──▶ 1.1-1.1

  1 │dk0 get-object NotInriaParkas_Caml.ORTools@9.15.0 -s Release.Darwin_x86_64 -d target/ocaml-ortools-intel/

    •╰╸ Could not use `NotInriaParkas_Caml` because the package has not been imported.

    │ Hint: Import the package using the `import-github-l2` command.

but if we replace "POINT A" with rm -rf t, the sequence works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions