Skip to content

v0.1.12

Compare
Choose a tag to compare
@eduadiez eduadiez released this 09 Apr 19:51
· 4184 commits to master since this release

Changelog

  • Implemented new resolver
    • Supports semver ranges as versions: ^0.2.0, ~0.2.0, >=0.2.0, 0.2.0
    • Can work with semver and IPFS versions and their dependencies. IPFS versions are targeted for development and will be installed over any other version
    • Minor changes in utils to accommodate IPFS versions
  • The directory and current installed packages are sent to the UI via pubsub ws
    • Quicker load times, the update is progressive as the DAPPMANAGER receives each package's info
    • If multiple ADMINs are connected at the same time, they will see each other's action results immediately
  • Refactored modules:
    • switched from dependency injection to plain modules. The library proxyquire allows the use or really simple syntax and a modular design while making it equally easy to unit test each file. Credit to @jbaylina for the suggestion
  • First phase of documentation:
    • Create a README.md in each folder if possible
    • Document with jsdocs each function when it makes sense
    • Summarize the purpose of each file in its header
  • Refine the progressLog's messages for better parsing
  • Switched 'latest' version tag for '*'
  • Changed shell timeout from 20s to 3m
  • Log errors more clearly in the IPFS module
  • Store the package precedence (IPFS / APM) in the container's tags
  • Wrapped the shell util to not crash on a docker-compose up with a missing .env file

Fixed issues:

Manifest

/ipfs/QmdeodLaXmu23TLrhEFpYtt4HBzfyNG8tmi1msXbEHdjr2

{
  "name": "dappmanager.dnp.dappnode.eth",
  "version": "0.1.12",
  "description": "Dappnode package responsible for providing the DappNode Package Manager",
  "avatar": "/ipfs/QmdT2GX9ybaoE25HBk7is8CDnfn2KaFTpZVkLdfkAQs1PN",
  "type": "dncore",
  "image": {
    "path": "dappmanager.dnp.dappnode.eth_0.1.12.tar.xz",
    "hash": "/ipfs/QmfUQthNCB9pBJLiqX8FAHJDYbGLhopQ3wBHo6qy3YvsmA",
    "size": 41315322,
    "volumes": [
      "dappmanagerdnpdappnodeeth_data:/usr/src/app/dnp_repo/",
      "/usr/src/dappnode/DNCORE/:/usr/src/app/DNCORE/",
      "/var/run/docker.sock:/var/run/docker.sock"
    ],
    "restart": "always",
    "subnet": "172.33.0.0/16",
    "ipv4_address": "172.33.1.7"
  },
  "author": "Eduardo Antuña <[email protected]> (https://github.com/eduadiez)",
  "contributors": [
    "DAppLion <[email protected]> (https://github.com/dapplion)"
  ],
  "keywords": [
    "DAppNodeCore",
    "DAPP",
    "Manager",
    "Installer"
  ],
  "homepage": {
    "adminui": "http://my.admin.dnp.dappnode.eth/",
    "homepage": "https://github.com/dappnode/DNP_DAPPMANAGER#readme"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/dappnode/DNP_DAPPMANAGER"
  },
  "bugs": {
    "url": "https://github.com/dappnode/DNP_DAPPMANAGER/issues"
  },
  "license": "GPL-3.0"
}