8000 Feat upgrade task by stnguyen90 · Pull Request #5874 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Feat upgrade task #5874

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 5 commits into from
Jul 27, 2023
Merged

Feat upgrade task #5874

merged 5 commits into from
Jul 27, 2023

Conversation

stnguyen90
Copy link
Contributor
@stnguyen90 stnguyen90 commented Jul 24, 2023

What does this PR do?

Before, we used the same command for both installation and upgrades. This led to problems because developers would try to upgrade in the wrong folder and end up creating a new installation.

This new upgrade command validates the existence of an existing installation before proceeding with the upgrade to ensure no new installation is created when upgrading.

Test Plan

The following screenshot shows:

Running the upgrade command w/o an installation results in an error:

image

Installation still works:

image

Upgrading with an existing installation:

image image

Related PRs and Issues

  • (Related PR or issue)

Checklist

  • Have you read the Contributing Guidelines on issues?
  • If the PR includes a change to an API's metadata (desc, label, params, etc.), does it also include updated API specs and example docs?

@stnguyen90 stnguyen90 changed the base branch from master to feat-db-pools-master July 24, 2023 22:32
Before, we used the same command for both installation and upgrades.
This lead to problems because developers would try to upgrade in the
wrong folder and end up creating a new installation.

This new upgrade command validates the existence of an existing
installation before proceeding with the upgrade to ensure no new
installation is created when upgrading.
@stnguyen90 stnguyen90 marked this pull request as ready for review July 25, 2023 00:55
@eldadfux eldadfux merged commit 03aeea8 into feat-db-pools-master Jul 27, 2023
@stnguyen90 stnguyen90 deleted the feat-upgrade-task branch July 27, 2023 21:35
@stnguyen90 stnguyen90 mentioned this pull request Aug 30, 2023
2 tasks
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.

3 participants
0