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

Generalize APM package manager [ON HOLD] #217

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

dapplion
Copy link
Contributor

@dapplion dapplion commented May 19, 2022

Part of dappnode/DAppNode#327

Change slightly the architecture of the SDK to accomodate multiple package managers (PMs)

A PM has to implement this simple API to fulfill all features of the SDK

export interface IPM {
  /** Returns semver string for latest version of `dnpName`'s canonical repo */
  getLatestVersion(dnpName: string): Promise<SemverStr>;

  /** Tests if the connected JSON RPC is listening and available. Uses the `net_listening` method. */
  isListening(): Promise<boolean>;

  /** Populate transaction to publish a new version or repo */
  populatePublishTransaction(inputs: TxInputs): Promise<TxSummary>;
}

From #213

@github-actions
Copy link

DAppNode bot has built and pinned the release to an IPFS node, for commit: 4e57cf6

This is a development version and should only be installed for testing purposes, install link

/ipfs/QmRtrTo7FtQ15K1U9i1bvh3KMCGhCHYaWmEq21d1sED9J8

(by dappnodebot/build-action)

@pablomendezroyo pablomendezroyo changed the title Generalize APM package manager Generalize APM package manager [ON HOLD] May 9, 2023
@pablomendezroyo pablomendezroyo marked this pull request as draft May 9, 2023 10:30
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

Successfully merging this pull request may close these issues.

1 participant