Uninstall hombrew
If you are not sure under which architecture you installed homebrew uninstall it first with:
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
Install homebrew
$ arch -x86_64 zsh
build@radicle:~/radicle-explorer/http-server$ ./build/build | |
Running build.. | |
✓ Radicle key already in ssh-agent | |
Building Radicle 1.0.0-test.. | |
Creating archive of repository at e603b599 in /tmp/tmp.xRVZNa9ODQ/heartwood-e603b599.tar.gz.. | |
Building image (radicle-build-1.0.0-test).. | |
[1/2] STEP 1/12: FROM rust:1.77.2-alpine3.19 AS builder | |
Resolving "rust" using unqualified-search registries (/etc/containers/registries.conf) | |
Trying to pull docker.io/library/rust:1.77.2-alpine3.19... | |
Getting image source signatures |
➜ radicle-interface git:(sebastinez/refactor-browser) ✗ ./scripts/create-seed-fixture | |
** Passing a plain-text passphrase is considered insecure. Please only use for testing purposes. | |
Initializing your 🌱 profile and identity | |
ok Creating your 🌱 Ed25519 keypair... | |
ok Adding to ssh-agent... | |
ok Profile a7f2451b-cda4-4679-8d65-b417e8a1b025 created. | |
Your radicle Peer ID is hyyb7jyz3y3pjxwyrnb9933a8xhqqyts3gobiygmdof5i8xkyr3zuy. This identifies your device. |
use serde::{de::Visitor, Deserialize, Deserializer, Serialize, Serializer}; | |
use std::fmt; | |
#[derive(Serialize, Deserialize, Debug)] | |
struct Author { | |
name: String, | |
email: String, | |
#[serde( | |
serialize_with = "serialize_time", | |
deserialize_with = "deserialize_time" |
Uninstall hombrew
If you are not sure under which architecture you installed homebrew uninstall it first with:
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
Install homebrew
$ arch -x86_64 zsh
➜ / brew tap radicle/cli https://seed.alt-clients.radicle.xyz/radicle-cli-homebrew.git | |
==> Tapping radicle/cli | |
Cloning into '/usr/local/Homebrew/Library/Taps/radicle/homebrew-cli'... | |
remote: Enumerating objects: 36, done. | |
remote: Counting objects: 100% (36/36), done. | |
remote: Compressing objects: 100% (28/28), done. | |
remote: Total 36 (delta 14), reused 0 (delta 0), pack-reused 0 | |
Unpacking objects: 100% (36/36), 4.45 KiB | 239.00 KiB/s, done. | |
Tapped 1 formula (47 files, 16.8KB). |
diff --git a/src/base/orgs/View/Projects.svelte b/src/base/orgs/View/Projects.svelte | |
index 5e3af90..b77e19b 100644 | |
--- a/src/base/orgs/View/Projects.svelte | |
+++ b/src/base/orgs/View/Projects.svelte | |
@@ -11,7 +11,8 @@ | |
import { Seed } from "@app/base/seeds/Seed"; | |
import AnchorActions from "@app/base/profiles/AnchorActions.svelte"; | |
- export let profile: Profile; | |
+ export let seed: Seed | null = null; |
diff --git a/src/base/registrations/registrar.ts b/src/base/registrations/registrar.ts | |
index 6ed987c..2723a5a 100644 | |
--- a/src/base/registrations/registrar.ts | |
+++ b/src/base/registrations/registrar.ts | |
@@ -142,7 +143,11 @@ export async function getSeed(name: string, config: Config, resolver?: EnsResolv | |
resolver.getText('eth.radicle.seed.api'), | |
]); | |
- return new Seed(config, host, id, git, api); | |
+ const seed = new Seed(config, host, id, git, api); |
diff --git a/src/base/projects/Browser.svelte b/src/base/projects/Browser.svelte | |
index ccb9e46..70f3f5e 100644 | |
--- a/src/base/projects/Browser.svelte | |
+++ b/src/base/projects/Browser.svelte | |
@@ -4,12 +4,12 @@ | |
import type { Profile } from '@app/profile'; | |
import * as proj from '@app/project'; | |
import Loading from '@app/Loading.svelte'; | |
- import { Org } from '@app/base/orgs/Org'; | |
import * as utils from '@app/utils'; |
diff --git a/src/base/orgs/Org.ts b/src/base/orgs/Org.ts | |
index f0ab38f..71b12f7 100644 | |
--- a/src/base/orgs/Org.ts | |
+++ b/src/base/orgs/Org.ts | |
@@ -275,7 +275,7 @@ export class Org { | |
const org = await Org.get(addressOrName, config); | |
if (org) { | |
- const ownerProfile = await Profile.get(org.owner, profileType, config); | |
+ const ownerProfile = await Profile.get(org.owner, profileType, config, true); |
src/WalletConnectSigner.ts:36:82 - error TS2345: Argument of type '(name: string) => Promise<string | null>' is not assignable to parameter of type '(name: string) => Promise<string>'. | |
Type 'Promise<string | null>' is not assignable to type 'Promise<string>'. | |
Type 'string | null' is not assignable to type 'string'. | |
Type 'null' is not assignable to type 'string'. | |
36 const populated = await _TypedDataEncoder.resolveNames(domain, types, value, (name: string) => { | |
~~~~~~~~~~~~~~~~~~~ | |
src/base/registrations/registrar.ts:71:5 - error TS2322: Type 'Resolver | null' is not assignable to type 'EnsResolver | undefined'. | |
Type 'null' is not assignable to type 'EnsResolver | undefined'. |