From c8de26d5f48cdfe60dbb85f5d5cbdb660aca37f8 Mon Sep 17 00:00:00 2001 From: Sam Lucidi Date: Thu, 21 Sep 2023 08:56:19 -0400 Subject: [PATCH] :warning: Disable seed versioning The seed versioning capability is not necessary and complicates keeping the seed and hub repos in sync. If this is needed in the future, the design should be reevaluated. Signed-off-by: Sam Lucidi --- seed/pkg.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/seed/pkg.go b/seed/pkg.go index 135944f38..64b2dc7a6 100644 --- a/seed/pkg.go +++ b/seed/pkg.go @@ -40,12 +40,7 @@ func Seed() (err error) { } }() - v, err := migrationVersion(db) - if err != nil { - return - } - - seeds, checksum, err := libseed.ReadFromDir(settings.Settings.Hub.DB.SeedPath, v) + seeds, checksum, err := libseed.ReadFromDir(settings.Settings.Hub.DB.SeedPath, libseed.AllVersions) if err != nil { if errors.Is(err, fs.ErrNotExist) { log.Info("Seed directory not found.")