-
Notifications
You must be signed in to change notification settings - Fork 2
DOC-5432: Add pre-1.0 upgrade instructions #32
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
7546866
Add legacy upgrade instructions
eric-schneider 1327328
Add section describing output formats
eric-schneider f69a1d3
Reviewer feedback and additional enhancements
eric-schneider e5e8261
Clarify CSV info
eric-schneider c457cd7
Folder instead of directory
eric-schneider b17134b
Reviewer feedback
eric-schneider 7df904a
Peer review
eric-schneider 29e6a98
Fix .astrarc XDG path
eric-schneider 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
Some comments aren't visible on the classic Files Changed page.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| = Upgrade from pre-1.0 versions of the {product} | ||
| :navtitle: Upgrade from pre-1.0 versions | ||
|
|
||
| // Author's note: Once we get further away from the 1.0 release, we can probably move the content of this page into a section of on the main upgrade.adoc page. | ||
eric-schneider marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| {product} 1.0 and later do not support xref:ROOT:upgrade.adoc[in-place upgrades] from versions earlier than 1.0. | ||
|
|
||
| If you have an earlier version installed, you must delete the `astra` executable before you can install the latest version: | ||
eric-schneider marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| [tabs,sync-group-id=platforms] | ||
| ====== | ||
| macOS and Linux:: | ||
| + | ||
| -- | ||
| [source,shell] | ||
| ---- | ||
| rm ~/.astra/cli/astra | ||
| ---- | ||
|
|
||
| .Delete custom installation | ||
| [%collapsible] | ||
| ==== | ||
| If you installed the {product} to a custom location, you can use the following command to delete the `astra` executable if it exists in your PATH: | ||
|
|
||
| [source,shell] | ||
| ---- | ||
| rm $(which astra) | ||
| ---- | ||
| ==== | ||
|
|
||
| This command does not delete your xref:ROOT:manage-cli.adoc#file-locations[{product} home folder and configuration file] (`.astra` and `.astrarc`). | ||
| Leave these files in place so that the new version of the {product} can continue to connect using your existing configuration. | ||
| -- | ||
|
|
||
| Homebrew:: | ||
| + | ||
| -- | ||
| [source,shell] | ||
| ---- | ||
| brew uninstall datastax/astra-cli/astra-cli | ||
| ---- | ||
|
|
||
| Uninstalling with Homebrew does not delete your xref:ROOT:manage-cli.adoc#file-locations[{product} home folder and configuration file] (`.astra` and `.astrarc`). | ||
| Leave these files in place so that the new version of the {product} can continue to connect using your existing configuration. | ||
| -- | ||
| ====== | ||
|
|
||
| After you delete the old `astra` executable, follow the instructions in xref:ROOT:install.adoc[] to install the latest version. | ||
|
|
||
| .Breaking changes in version 1.0 | ||
| [IMPORTANT] | ||
| ==== | ||
| {product} version 1.0 is largely backwards-compatible with pre-1.0 versions. | ||
| However, there are some changes that might break certain scripted usage, such as: | ||
|
|
||
| * New standardized xref:ROOT:manage-cli.adoc#output-formats[JSON and CSV output formats and exit codes]. | ||
|
|
||
| * Minor command and flag name changes. | ||
| For a full list of name changes, see the https://github.com/datastax/astra-cli?tab=readme-ov-file#whats-changed[release notes]. | ||
| ==== | ||
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
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.
Uh oh!
There was an error while loading. Please reload this page.