GOCDB / gocdb

Grid Operations Configuration Management Database. A Repository, Portal and REST style API for managing Grid and Cloud topology objects including; projects, administrative domains, sites, services, service-endpoints, service-groups, downtimes, users, roles and business rules.
Apache License 2.0
12 stars 28 forks source link

The Great Upgrade #337

Open gregcorbett opened 2 years ago

gregcorbett commented 2 years ago

Several parts of GOCDB are in need of a version uplift.

There is an core chunk of stuff around PHP, Composer and Doctrine.

It's probably better to tackle this in a bottom-up/iteratively fashion (i.e. how high can we upgrade doctrine before we need to upgrade another component first) rather than a "go for the head" of going straight to PHP8 and dealing with the fallout.

Other things to update

gregcorbett commented 2 years ago

It's probably better to tackle this in a bottom-up/iteratively fashion (i.e. how high can we upgrade doctrine before we need to upgrade another component first)

And many, smaller, pull requests are probably much better than big one that does everything.

gregcorbett commented 8 months ago

we use composer 1, which is being deprecated in favor of compose 2.

Once https://github.com/GOCDB/gocdb/pull/509 and https://github.com/GOCDB/gocdb/pull/494 are merged, this can be ticked off as the composer files have been tested using and are supported by composer 2 (in fact, our environments are set up such to always use the very latest version of composer 2).

gregcorbett commented 7 months ago

As an update on this - I see the next steps as:

  1. Drop PHP 5.4 support: #494 - after 1st July 2024

Shortly after that, rebase and merge:

  1. Unit test against more versions of MariaDB: #511
  2. Update ORM to 2.11 (or as high as we can go above that, maybe even 3): #455

Sometime after those,

  1. Add support for PHP 8+: #513.
gregcorbett commented 2 months ago

Once #509 and #494 are merged, this can be ticked off as the composer files have been tested using and are supported by composer 2 (in fact, our environments are set up such to always use the very latest version of composer 2).

509 and #494 are now merged!