Libraries

Isaac Bennetch edited this page Dec 17, 2016 · 3 revisions

phpMyAdmin libraries

phpMyAdmin has recently split several libraries to separate codebase. This allows reuse of the code in other web application and also eases maintenance and testing of such code.

Currently there are following:

All these are maintained as Composer packages:

Development

Development is separate from phpMyAdmin, but these libraries are required to provide stable API to avoid breakages in phpMyAdmin.

Releasing

Releasing is done solely by git tags, which are then shown as releases in the Packagist repository.

For historical reasons, there are two tagging schemes used by those packages. The SQL parser uses v1.2.3 style tags, while other packages 1.2.

To create new release simply create new GPG signed tag and push it to the repository:

# SQL parser
git tag -s -m "Version 1.2.3" "v1.2.3"

# Other libs
git tag -s -m "Version 1.2" "1.2"

# Push tag
git push --tags

Embedded copies

As phpMyAdmin 4.6 does not use composer to get bundled libraries, they have to be updated manually. This can be done simply by copying files over old version. Please include only released versions of the code in the phpMyAdmin repository.

Once you update the QA_4_6 branch, you can merge it to master by ignoring changes (either manually remove files after merge or use git merge -s ours QA_4_6) if that is the only change you want to merge (this tells git to completely ignore changes in QA_4_6 for merging).

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.