Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
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 is separate from phpMyAdmin, but these libraries are required to provide stable API to avoid breakages in phpMyAdmin.
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
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
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).