Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Avoid bit-rot, update old dependencies #17

Merged
merged 5 commits into from
May 19, 2021
Merged

Conversation

Avokadoen
Copy link
Contributor

Manually audit go.mod for old dependencies and updated some of the worst offenders

Major version update:

  • Badger
  • Cobra

Minor version updates:

  • Viper
  • Logrus

Issue #16 will be resolved by this merge

Updated badger to its latest 3.x release
I was time especially cobra is it was on a 2 year old version
@Avokadoen Avokadoen added the enhancement New feature or request label Mar 26, 2021
@Avokadoen Avokadoen linked an issue Mar 26, 2021 that may be closed by this pull request
protobuf, whatwg-url, fsnotify, handlers, mux
@Avokadoen Avokadoen marked this pull request as draft March 27, 2021 09:33
@Avokadoen Avokadoen self-assigned this Mar 27, 2021
@Avokadoen Avokadoen force-pushed the badgerv3 branch 4 times, most recently from 3a35968 to 597a03b Compare March 27, 2021 10:14
@Avokadoen
Copy link
Contributor Author

@Avokadoen Avokadoen marked this pull request as ready for review May 15, 2021 14:11
@Avokadoen Avokadoen merged commit 2794eb9 into nlnwa:master May 19, 2021
@Avokadoen
Copy link
Contributor Author

In the event we get error Error: manifest has unsupported version: 7 (we support 8).

Do the following (see this):

  1. Create a backup using the older version (badger backup --dir=...)
  2. Install new version of badger
  3. Restore the original backup (badger restore --dir=...)

Or reindex the old data.

@Avokadoen Avokadoen deleted the badgerv3 branch May 27, 2021 12:30
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Update badger to 3.x
1 participant