···216216 Usage: "forward POST requestCrawl to this url, should be machine root url and not xrpc/requestCrawl, comma separated list",
217217 EnvVars: []string{"RELAY_NEXT_CRAWLER"},
218218 },
219219+ &cli.BoolFlag{
220220+ Name: "non-archival",
221221+ EnvVars: []string{"RELAY_NON_ARCHIVAL"},
222222+ Value: false,
223223+ },
219224 }
220225221226 app.Action = runBigsky
···345350 }
346351 }
347352348348- cstore, err := carstore.NewCarStore(csdb, csdirs)
349349- if err != nil {
350350- return err
353353+ var cstore carstore.CarStore
354354+355355+ if cctx.Bool("non-archival") {
356356+ cs, err := carstore.NewNonArchivalCarstore(csdb)
357357+ if err != nil {
358358+ return err
359359+ }
360360+361361+ cstore = cs
362362+ } else {
363363+ cs, err := carstore.NewCarStore(csdb, csdirs)
364364+ if err != nil {
365365+ return err
366366+ }
367367+368368+ cstore = cs
351369 }
352370353371 // DID RESOLUTION
+1
indexer/indexer.go
···538538 case *bsky.ActorProfile:
539539 ix.log.Debug("TODO: got actor profile record creation, need to do something with this")
540540 default:
541541+ ix.log.Warn("unrecognized record", "record", op.Record, "collection", op.Collection)
541542 return nil, fmt.Errorf("unrecognized record type (creation): %s", op.Collection)
542543 }
543544
+1-11
pds/server.go
···15151616 "github.com/bluesky-social/indigo/api/atproto"
1717 comatproto "github.com/bluesky-social/indigo/api/atproto"
1818- bsky "github.com/bluesky-social/indigo/api/bsky"
1918 "github.com/bluesky-social/indigo/carstore"
2019 "github.com/bluesky-social/indigo/events"
2120 "github.com/bluesky-social/indigo/indexer"
···202201 handle = hurl.Host
203202 }
204203205205- profile, err := bsky.ActorGetProfile(ctx, c, did)
206206- if err != nil {
207207- return nil, err
208208- }
209209-210210- if handle != profile.Handle {
211211- return nil, fmt.Errorf("mismatch in handle between did document and pds profile (%s != %s)", handle, profile.Handle)
212212- }
213213-214204 // TODO: request this users info from their server to fill out our data...
215205 u := User{
216206 Handle: handle,
···227217 subj := &models.ActorInfo{
228218 Uid: u.ID,
229219 Handle: sql.NullString{String: handle, Valid: true},
230230- DisplayName: *profile.DisplayName,
220220+ DisplayName: "missing display name",
231221 Did: did,
232222 Type: "",
233223 PDS: peering.ID,