Skip to content

Only pin the latest repository tree #5

@fazo96

Description

@fazo96

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 running ipfs repo gc.

Without this, the size of it will just grow indefinitely. I might try this on my machine, what do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions