question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`west manifest --freeze` fails since it doesn't ignore excluded groups

See original GitHub issue

When a group is disabled in a manifest, those project(s) don’t get cloned, so no folder(s) is created.

When doing west manifest --freeze the command fails with

RuntimeError: cannot freeze; project XXXX is uncloned

In #314 , where a repo has no commits, this would be expected behavior. But in this case where projects are specifically excluded, would this still be expected behavior?

If yes -> more robust handling would be nice instead of a stack trace.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
marc-hbcommented, Mar 21, 2021

Apologies for not including it, i thought it didn’t give that much extra info to the issue in this case.

Indeed it does not seem to add much this time. As long as it does not add several pages of scrolling I find it simpler and faster to always inline all error messages and error traces. At best it helps, at worst it does not hurt and clears any doubt.

0reactions
marc-hbcommented, Apr 1, 2021

I understand the desire not to degrade the existing “purity” of west manifest --freeze.

However that makes it unusable by second class citizens who don’t have full access or simply don’t want everything. A new and “best effort” west manifest --melting-point feature sounds like a good idea to me. @JelmerT ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

freeze fails if a repository in the manifest is empty · Issue #314
My manifest has a git remote in it, but the remote repo is empty and not set up yet. west update works fine....
Read more >
West Manifests - Zephyr Project Documentation
Within a manifest file, manifest: group-filter: is a YAML list of groups to enable and disable. To enable a group, prefix its name...
Read more >
West APIs — Zephyr Project Documentation
A property which returns the west.manifest.Manifest instance for the current manifest file or aborts the program if one was not provided.
Read more >
Report - Investigation of the Challenger Accident - GovInfo
the underlying problem which led to the Challenger acci- dent was not poor communication or inadequate proce- dures as implied by the Rogers...
Read more >
Truth in Lending Act - compliance handbook
ance of and unauthorized-use liability for credit cards. (Exempt ... disclosed incorrectly, the error is not, in itself, a violation of the regulation...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found