dalten-collective / keep Goto Github PK
View Code? Open in Web Editor NEWBack up your Urbit
License: GNU Affero General Public License v3.0
Back up your Urbit
License: GNU Affero General Public License v3.0
handle details around activating/deactivating before/after wrapping.
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"
}
there are two kinds of pendings.
currently they're just all under "outstanding invites"
Put "waiting for restore..." directly under the ship in Live backup targets
Unclear if HTML5 history mode will work out of the box on a globbed distribution served from urbit.
Test this after globbing and installing locally. Go back to createWebHashHistory()
in router.ts
otherwise.
Note to self @vcavallo change the "backup complete!" message to show on successful backup. change to "backup requested" or something.
if backup requester has c gora from
backup provider, consider them to be whitelisted.
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.
Diff
{
"backups": [
{
"ship": "zod",
"agent": "simple",
"time": 1662036983
}
],
"agents": [
"simple"
]
}
planets must be whitelisted before you'll take backups from them.
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:
keep
to /+
imports%- agent:keep
~savler-baclyn-dozzod-dalten
~magped-magped-rabsef-bicrym
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?
See this comment.
The saved
state has slightly richer data than the UI is using so far.
currently i have a moon in 'pending' that is also already taking recurring backups.
this feature also might make "remove from pending" more desirable
This is issue that the github project board creates upon linking. ignore.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.