-
Notifications
You must be signed in to change notification settings - Fork 26
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
Clean old pins (ON HOLD) #262
base: master
Are you sure you want to change the base?
Conversation
DAppNode bot has built and pinned the release to an IPFS node, for commit: 0105797 This is a development version and should only be installed for testing purposes, install link
(by dappnodebot/build-action) |
/** | ||
* Returns all the IPFS hashes from a given package dnpName | ||
*/ | ||
async getIpfsHashesFromDnpName(dnpName: string): Promise<string[]> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you need to add hashes which were uploaded using old method. For example, this is the hash saved onchain of one of the first releases of DAppManager: https://gateway.ipfs.dappnode.io/ipfs/QmdjatAF1DeifJyZNLtefWsXDPZgFSGFU3e19QGsjYkGih
As you can see, that is just the manifest. So you need to parse that manifest and get image and avatar hash from there.
Clean pins older than 30 days. There must never been unpinned release hashes