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

peridot module building cli/api mismatch #188

Open
josephtate opened this issue May 16, 2024 · 0 comments
Open

peridot module building cli/api mismatch #188

josephtate opened this issue May 16, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@josephtate
Copy link

Describe The Bug

I get 500 errors from the peridot server if I try to specify branches in my --module-variant builds.

Reproduction Steps

  1. Select a module to build
  2. Run peridot build package <module> --module-variant --debug --branches <my branch>
  3. there is no step 3

peridot cli reports the server responded with a 500 error with the message:

{"code":2,"message":"could not find upstream branch","details":[]}

Expected Behavior

Expected is that the tip of the selected branch will be built as a module

Version and Build Information

$ peridot --version
peridot version 9a1a7d42065aa833087a46b07d8789788715e2bf

Installed from RPM peridot-cli-0.2.1-1.x86_64

Additional context

I'm trying to build against a Rocky 8 project, which has a much different module strategy than rocky 9.

Mustafa says, "Instead of trying to detect. The initial detection is just checking PREFIX-MAJOR and it fails too early for packages that are ONLY modules"

@josephtate josephtate added the bug Something isn't working label May 16, 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

4 participants