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

[cpackget] Unable to download a pack file that contains the build identifier #385

Open
Torbjorn-Svensson opened this issue Nov 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Torbjorn-Svensson
Copy link

Describe the bug

Imagine a pack index file that contains a pack and the pack file contains the build identifier. Example:

<pdsc url="https://www.keil.com/pack/" vendor="ARM" name="CMSIS" version="6.1.0+foo" />

Then we try to install it using cpackget:

cpackget add --verbose ARM::[email protected]+foo

The command would generate output that ends with:

D: bad status: 404
E: "https://www.keil.com/pack/ARM.CMSIS.6.1.0.pack": bad request

But it should try to download https://www.keil.com/pack/ARM.CMSIS.6.1.0+foo.pack instead.
In the .pdsc file embedded in the .pack file, the the release node is:

  <releases>
    <release date="2024-02-30" version="6.1.0+foo">
      the change log entries...
   </release>
  </releases>

To Reproduce
See above.

Expected behavior
The pack file should be downloaded.

Environment (please complete the following information):

  • OS: any
  • Version 2.1.4?

Additional context
Obviously, we did not see the problem with the ARM.CMSIS.6.1.0 pack, but an internal pack. The steps above should highlight the question regardless of the pack name.
The .pack files is named including the metadata/build identifier on the server.

@Torbjorn-Svensson Torbjorn-Svensson added the bug Something isn't working label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant