-
Notifications
You must be signed in to change notification settings - Fork 11
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
phylum update
subcommand is broken
#187
Comments
I think it would also be good to have build target names standardized so as to ensure uniqueness and traceability from the rust build target to the download artifact. For example, instead of a build target like The reference for Rust target triples explains how they are constructed and, interestingly, how they can actually be four parts...and sometimes two! |
@louislang would you like @kylewillmon to normalize the zip names to Rust build target names as @maxrake suggested? |
I don't have super strong opinions. My one qualm against this change is basically |
Understood. The idea behind this suggestion was to pave the way for making the Since the CLI is built with Rust, the thought was that the Rust targets...and maybe even a good chunk of the rustup script...could be used as is. Even still, mapping from |
If we want Or, to put it differently: The easiest way to resolve this issue is to change the assets back to the layout used for the last release. The layout change was made in #172, but I don't see an explanation there for why the layout was changed. Is anyone opposed to going back to the old layout? (cc: @andreaphylum) The new layout definitely looks less cluttered. But, as @maxrake points out, we are moving towards a universal install script. And that script will allow people to avoid searching through our release assets. |
That PR was a general refactoring pass, the main motivation for the switch was indeed just decluttering and simplifying. |
A few points:
Because of this, I do not believe that it is worthwhile to fix
|
Picking this back up today. Here is my plan for a redesign. When
Escape hatch updateTo ensure that
|
To simplify the PRs, I'm splitting off the escape hatch into its own issue, #226 |
Fixed in #225 |
Overview
Due to changes in the way release assets are packaged in the current pre-release, the updater fails to find the file it is looking for.
How To Reproduce
Steps to reproduce this behavior:
phylum update -p
Expected Behavior
The updater successfully downloads and installs the correct version.
Additional Context
The new package strategy is nice as you no longer have to download all builds, so this likely requires some fixes in the updater code (https://github.com/phylum-dev/cli/blob/development/cli/src/update.rs). We will probably need to generate minisigs off the platform zips and check those to verify the package.
Current
master
AssetsCurrent
development
AssetsThe text was updated successfully, but these errors were encountered: