-
-
Notifications
You must be signed in to change notification settings - Fork 63
Use correct flags after tools change #334
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
Open
sdassow
wants to merge
23
commits into
fyne-io:master
Choose a base branch
from
sdassow:fix/changed-app-flags
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
0d3ce12
Use correct flags after tools change
sdassow c5b4d0f
Switch CLI tools install to new version
sdassow 8908557
Check for fyne cli version to support old and new flag formats
sdassow fa22685
Use Cut instead of CutPrefix
sdassow 91d60df
Ignore errors to ensure catching the version even if the library vers…
sdassow 24233ef
Compare against last major version used in main repo
sdassow 623b061
Use comparible flag name for app id
sdassow 6467a03
Don't do this yet, the code should work even without the update.
sdassow b561fa0
Undo revert of wrong commit
sdassow 305cdfb
Don't change CLI version yet - things should work either way
sdassow 40d5427
Add helper function to do the version comparison
sdassow 3a29836
Check version and adjust key related arguments accordingly
sdassow e709237
Factor out argument check and append logic including test code
sdassow f7cbbd6
Show fyne cross version in debug mode
sdassow a1d8ae3
Check version inside of container
sdassow d4641ed
Remove debug output added earlier
sdassow be83acf
Add support for version check in k8s container
sdassow cdc8d69
Format
sdassow 8b2c727
Migrate to supported AWS SDK version
sdassow 0ec9e5f
Revert "Migrate to supported AWS SDK version"
sdassow 05cf864
Attempt switching to a supported macos version
sdassow 88cb9eb
Apply update to docker setup for macos
sdassow 9fc473c
Try most recent version for macos docker setup
sdassow File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| package command | ||
|
|
||
| import ( | ||
| "testing" | ||
|
|
||
| "github.com/stretchr/testify/assert" | ||
| ) | ||
|
|
||
| func Test_concatNonEmptyNamedArgs(t *testing.T) { | ||
| assert.Equal(t, []string{"-foo", "42", "-baz", "64"}, concatNonEmptyNamedArgs( | ||
| "-foo", "42", | ||
| "-bar", "", | ||
| "-baz", "64", | ||
| ), "filter empty argument/value pair") | ||
| assert.Equal(t, []string{"-foo", "42"}, concatNonEmptyNamedArgs( | ||
| "-foo", "42", | ||
| "-bar", "", | ||
| "-baz", | ||
| ), "trailing/incomplete/boolean argument") | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These also need a version check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, and improved the version checks on the way.