all repos — searchix @ 885d167eda998db803ae3a44f7dd49312b1c38cb

Search engine for NixOS, nix-darwin, home-manager and NUR users

refactor: remove unused metadata entry

Alan Pearce
commit

885d167eda998db803ae3a44f7dd49312b1c38cb

parent

e2a18918fdb435afa0cd66ff41843aece38761a6

2 files changed, 4 insertions(+), 8 deletions(-)

changed files
M internal/importer/main.gointernal/importer/main.go
@@ -116,9 +116,6 @@ pdb, err = programs.Instantiate(ctx, source, log.Named("programs"))
if err != nil { logger.Warn("programs database instantiation failed", "error", err) } - if pdb.Path != sourceMeta.ProgramsPath { - sourceMeta.ProgramsPath = pdb.Path - } } err = setRepoRevision(files.Revision, source)
M internal/index/index_meta.gointernal/index/index_meta.go
@@ -11,13 +11,12 @@
"gitlab.com/tozd/go/errors" ) -const CurrentSchemaVersion = 4 +const CurrentSchemaVersion = 5 type SourceMeta struct { - Updated time.Time - Path string - Rev string - ProgramsPath string + Updated time.Time + Path string + Rev string } type data struct {