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

running bin/nur update is too expensive #351

Open
milahu opened this issue Apr 15, 2021 · 2 comments
Open

running bin/nur update is too expensive #351

milahu opened this issue Apr 15, 2021 · 2 comments

Comments

@milahu
Copy link
Contributor

milahu commented Apr 15, 2021

the readme says

How to add your own repository.

At the moment each URL must point to a git repository. By running bin/nur update the corresponding repos.json.lock is updated and the repository is tested. This will perform also an evaluation check, which must be passed for your repository. Commit the changed repos.json but NOT repos.json.lock

so i add my repo, run bin/nur update ... and my whole computer hangs ^^

lets ignore the facts that i should enable swap and use ulimit:
bin/nur update should not check all repos, but only the one repo (or few repos) that i want to add

the added repo can be found with git diff origin/HEAD
or diff <(curl https://raw.githubusercontent.com/nix-community/NUR/master/repos.json) repos.json

could be related to #186

@Mic92
Copy link
Member

Mic92 commented Apr 15, 2021

Right, when I started the project this was never an issue :) Now NUR grew quite a bit.

@Mic92
Copy link
Member

Mic92 commented Apr 15, 2021

But actually we start a new nix-env for every repo. So maybe its only a few repos that consumes a lot of ram.

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

2 participants