Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Remove most of legacy autoupdate package #1677

Merged
merged 8 commits into from
Apr 10, 2024

Conversation

RebeccaMahany
Copy link
Contributor

@RebeccaMahany RebeccaMahany commented Apr 10, 2024

Move most of the contents of pkg/autoupdate to a new location:

  • Code related to command-line options (default mirror, update channel) moves into pkg/launcher/options.go -- it cannot live in ee/tuf due to an import cycle, so this is the best other option
  • CheckExecutable moves into ee/tuf

These changes should essentially be a no-op -- the only modifications I've made are to tests. I will handle removing FindNew and the rest of pkg/autoupdate in a separate PR since that change is more significant.

I also gave a test that sometimes flakes a little more time to run.

@RebeccaMahany RebeccaMahany changed the title Draft: Remove legacy autoupdate package Draft: Remove most of legacy autoupdate package Apr 10, 2024
@RebeccaMahany RebeccaMahany marked this pull request as ready for review April 10, 2024 16:33
@RebeccaMahany RebeccaMahany changed the title Draft: Remove most of legacy autoupdate package Remove most of legacy autoupdate package Apr 10, 2024
@RebeccaMahany RebeccaMahany added this pull request to the merge queue Apr 10, 2024
Merged via the queue into kolide:main with commit d35e9ee Apr 10, 2024
29 checks passed
@RebeccaMahany RebeccaMahany deleted the becca/autoupdate-pkg-remove branch April 10, 2024 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants