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

Skip packages that requireFile by default #63

Open
delroth opened this issue Aug 21, 2019 · 6 comments
Open

Skip packages that requireFile by default #63

delroth opened this issue Aug 21, 2019 · 6 comments

Comments

@delroth
Copy link

delroth commented Aug 21, 2019

I'm using nix-review on a PR that causes a fair amount of transitive rebuilds (~1500). A few of these have been failing because they rely on source files that can't be automatically fetched.

Could nix-review somehow ignore by default packages that are set as not buildable on Hydra? This seems like a useful heuristic for "things that can be built unattended with no human action".

@Mic92
Copy link
Owner

Mic92 commented Aug 26, 2019

I actually consider that as a feature, that nix-review tries to build all packages. From the logs it should become clear why certain packages have been failed. Since you can still test the non-failed once, I don't see any degradation in usability of the tool.

@delroth
Copy link
Author

delroth commented Aug 26, 2019

I'm not familiar with the codebase -- would it be feasible to have a flag to control this? I would much rather not have noise caused by issues unrelated to my change.

@Mic92
Copy link
Owner

Mic92 commented Aug 26, 2019

It is not so trivial to implement that.

@superherointj
Copy link

superherointj commented Sep 23, 2022

I have same wish: to hide requireFile packages from results.

But I don't know what the proper solution is.

As the number of packages using requireFile increases it is getting worse.

In worst case, couldn't we manually compile a list of packages having requireFile for skipping?

@superherointj
Copy link

superherointj commented Feb 8, 2023

It is not so trivial to implement that.

What about having a requireFile blacklist of packages? I wouldn't mind keeping it updated. :-)

@superherointj
Copy link

superherointj commented Feb 9, 2023

Would be possible to check for a flag like, meta.manualDownload = true;?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants