-
Notifications
You must be signed in to change notification settings - Fork 5
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
Only pin the latest repository tree #5
Comments
Ah, |
Unrelated, but are you still mirroring once per day? Guessing you're also using it for updating your system, how has it been working so far? Any problems? |
I actually forgot to use it from my machines... I'll turn it on now However I use it when updating the server that's hosting the mirror, it works great. I set up my systemd timer to run once per day and it has never failed I'll try the |
I've implemented ipfs pin update logic in NiKiZe#2 |
Hello, very nice project! I have a VPS with enough free resources to run this so here it is! I am updating it once a day.
https://ipfs.trippy.pizza/ipns/QmS7Xi8HJc9J8tWBErgDra1efVhr5E73yVyUP5giE8Yayy
I noticed that the IPFS add command does not use
--pin=false
so the whole thing gets pinned. This makes sense, but when you update it you will pin the new versions of packages without unpinning the old ones.There is a command
ipfs pin update <from> <to>
that we can use to update the pin: old versions of packages will get unpinned and will be deleted when runningipfs repo gc
.Without this, the size of it will just grow indefinitely. I might try this on my machine, what do you think?
The text was updated successfully, but these errors were encountered: