refactor: remove unused metadata entry
2 files changed, 4 insertions(+), 8 deletions(-)
M internal/importer/main.go → internal/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.go → internal/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 {