Skip to content

add validation to um install for spock5 upgrade - #356

Merged
mmols merged 10 commits into
mainfrom
feature/PLAT-72/CLI-Update-Manager-Spock5.0
Jul 23, 2025
Merged

add validation to um install for spock5 upgrade#356
mmols merged 10 commits into
mainfrom
feature/PLAT-72/CLI-Update-Manager-Spock5.0

Conversation

@moizpgedge

Copy link
Copy Markdown
Contributor
  • Auto‑check helper – runs all the upgrade checks for you, no manual steps.
  • Already on Spock 5? – if it finds Spock 5, it stops right away and ends successfully.
  • Big warning banner – shows a clear message that the upgrade will cause downtime.
  • Finds your versions – reads a local SQLite file to see which Postgres and Spock versions you have.
  • Safe match test – makes sure those versions work together; if they don’t, it quits with an error.

@moizpgedge
moizpgedge requested a review from mmols July 21, 2025 12:14
Upgrade-spock function hide
Comment thread cli/scripts/um.py Outdated
Comment thread cli/scripts/um.py Outdated
Comment thread cli/scripts/um.py Outdated
Comment thread cli/scripts/um.py Outdated
Comment thread cli/scripts/um.py Outdated
Comment thread cli/scripts/um.py
@mmols mmols changed the title Feature/plat 72/cli update manager spock5.0 add validation to um install for spock5 upgrade Jul 23, 2025
@mmols
mmols merged commit f8436d6 into main Jul 23, 2025
9 checks passed
mmols added a commit that referenced this pull request Aug 6, 2025
* major spock version upgrade command (draft)

* successfully upgraded to spock5 using um upgrade-spock

* spock 5 upgrade support

* Update um.py

Upgrade-spock function hide

* code refactored

* additional test case  added for spock 5 upgrade comp check

* additional test case  added for spock 5 upgrade comp check

* additional test case  added for spock 5 upgrade comp check

* warning banner removed from case 3

* final adjustment to logging output

---------

Co-authored-by: Matthew Mols <matt@pgedge.com>
mmols added a commit that referenced this pull request Aug 6, 2025
* major spock version upgrade command (draft)

* successfully upgraded to spock5 using um upgrade-spock

* spock 5 upgrade support

* Update um.py

Upgrade-spock function hide

* code refactored

* additional test case  added for spock 5 upgrade comp check

* additional test case  added for spock 5 upgrade comp check

* additional test case  added for spock 5 upgrade comp check

* warning banner removed from case 3

* final adjustment to logging output

---------

Co-authored-by: Matthew Mols <matt@pgedge.com>
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