GithubHelp home page GithubHelp logo

dalten-collective / keep Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 1.33 MB

Back up your Urbit

License: GNU Affero General Public License v3.0

hoon 29.82% Shell 2.23% JavaScript 1.56% HTML 0.59% Vue 38.97% TypeScript 21.40% CSS 5.44%

keep's Issues

local backups

after performing a local backup, active agents are wiped.

seems the response is bad/has empties:

{
  "state": {
    "pending": [],
    "auto": [],
    "live": false,
    "saved": []
  },
  "diff": {
    "ship": "zod",
    "time": 1662066589
  },
  "type": "saved"
}

After wrapping an agent, it appears in `live` state, even though it is not live

In my current setup, Gora is wrapped and live.
I've then installed Pick, wrapped it, committed with no errors. When I +dbug keep, it appears in the live list:

> :keep +dbug
>   [%0 kept={} live={%gora %pick}]

But when +dbug'ing Pick, the state does not indicate that it is live (no Keep state there)

After poking Pick to make it live (:pick &keep [%live %.y]), the keep state is identical:

> :keep +dbug
>   [%0 kept={} live={%gora %pick}]

But the Pick state then does show it is Keep-live:

[...]
  ]
  %0
  live=%.y
  last={}
  auto={}
  pending={}
]

Update: The same does not happen after a |nuke then |revive. The agent starts off as live: false in this case.

handle case where { pending: { status: 'restore' }}

there are two kinds of pendings.

  • pending backup (this is the one we want to show on "outstanding invites" as it currently exists
  • pending restore (we need a new UI for this)

currently they're just all under "outstanding invites"

Put "waiting for restore..." directly under the ship in Live backup targets

keep

This is issue that the github project board creates upon linking. ignore.

Production Desk Creation

  • Merge Peat & Keep Desks
  • Identify Provider Moon Name
    • Proposed: ~savler-baclyn-dozzod-dalten
    • Proposed: ~magped-magped-rabsef-bicrym
  • Glob Front End
  • Prepare Docket & Garden Tile Image

look into behn error

ake: failed
  bar-stack
~[~[//http-server/0vi.vrbqo/176/1] ~[/dill //term/1] ~[//behn]]
wire=/channel/subscription/1662753836-9920dc/2/~zod/simple
[%poke %wake]
%simple: on-fail with term %arvo-response
%simple: on-fail with term %arvo-response
error in %simple
%arvo-response
! /lib/default-agent/hoon:<[63 3].[63 5]>
!
  "unexpected system response %behn to %simple on wire /keep/behn/ship/~zod"
! /lib/default-agent/hoon:<[62 3].[63 5]>
! /lib/keep/hoon:<[284 35].[284 63]>
! /lib/keep/hoon:<[284 9].[284 64]>
! /lib/keep/hoon:<[283 7].[291 9]>
! /lib/keep/hoon:<[282 7].[291 9]>
! /lib/keep/hoon:<[274 5].[292 7]>
! /lib/keep/hoon:<[270 5].[292 7]>
! /lib/keep/hoon:<[269 5].[292 7]>
! /sys/vane/gall/hoon:<[1.392 9].[1.392 47]>

Got this when playing around with recurring backups both to local disk and to own ship. maybe non-unique behn wires?

Document or provide wrapped agent requirements

We should provide either documentation or include in the desk a directory of the files a wrapped agent will need to include.

Partial list accreting here:

  • mar/keep.hoon
  • mar/js.hoon, mar/json.hoon: #13
  • lib/keep.hoon
  • lib/sane.hoon
  • sur/keep.hoon
  • add keep to /+ imports
  • wrap with %- agent:keep

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.