Skip to content
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

Add step to enable PHPMyAdmin in the phpmyadmin command #1665

Merged
merged 4 commits into from
Jan 25, 2024

Conversation

aswasif007
Copy link
Contributor

@aswasif007 aswasif007 commented Jan 24, 2024

Description

In this PR, we are adding a step to enable PHPMyAdmin if not already enabled for this site. Concerned command: vip db phpmyadmin

Pull request checklist

New release checklist

Steps to Test

Outline the steps to test and verify the PR here.

Example:

  1. Check out PR.
  2. Run rm -rf dist && npm run build && npm link
  3. Run node ./dist/bin/vip db phpmyadmin @app.env
  4. Browser should open PHPMyAdmin page for the site.

@aswasif007 aswasif007 requested a review from a team January 24, 2024 09:40
@aswasif007 aswasif007 changed the title Add step to enable pma Add step to enable PHPMyAdmin in the phpmyadmin command Jan 24, 2024
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@aswasif007 aswasif007 merged commit c0b6cc1 into feature/phpmyadmin-cmd Jan 25, 2024
14 checks passed
@aswasif007 aswasif007 deleted the add/enable-pma-step branch January 25, 2024 01:10
@aswasif007 aswasif007 restored the add/enable-pma-step branch January 26, 2024 13:55
aswasif007 added a commit that referenced this pull request Jan 26, 2024
* Add step to enable pma

* Refactor for clarity

- make function name clearer
- add return types

* Fix and improve unit test

* Make function names even clearer

---------

Co-authored-by: Sarosh Aga <[email protected]>
aswasif007 added a commit that referenced this pull request Feb 1, 2024
* Add phpmyadmin command

* Use opn types from package.json instead

* Lint fixes

* Add tracking and testing

* Display error message

* Add `db` command

And move `phpmyadmin` as a subcommand of the db command

* Remove unnecessary command for package.json

* Fix lint

* Add accidentally removed global.d.ts

* Display read-only disclaimer for vip-db-phpmyadmin cmd (#1579)

* Replace opn by open lib

* Add step to enable PHPMyAdmin in the phpmyadmin command (#1665)

* Add step to enable pma

* Refactor for clarity

- make function name clearer
- add return types

* Fix and improve unit test

* Make function names even clearer

---------

Co-authored-by: Sarosh Aga <[email protected]>

* Add event tracking for PMA enable failures (#1667)

* Add event tracking for PMA enable failures

* Refactor

* Bring back empty line

* Print progress steps properly on error scenarios

---------

Co-authored-by: Ahmed Sayeed Wasif <[email protected]>

* Track errors encounted at get-status (#1672)

* Update appQuery to reduce fields

---------

Co-authored-by: Abdullah bin Kasim <[email protected]>
Co-authored-by: Sarosh Aga <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants