Comments (8)
@brunoric e @jpjoao, it worked. Thank you so much. You guys, helped me a lot. 😄
from docker-phpqa.
Hi @lflimeira, about the permission issue please make sure that your ssh keys and config are not impacting when trying to clone GitHub repositories. Try to clone the repository instead of using the installer, if you have the same issue please refer to this Github article. If by any reason you are able to clone the repository but not to use the installer from the remote location you can run the installer from the cloned repository with bash path/to/your/phpqa/repo/bin/installer.sh
.
Please let us know if you solved your problem.
from docker-phpqa.
@brunoric thank you for your answer and attention.
I clone the repository and I tried to run the locally installer, but it gave me the same error:
$ bash bin/installer.sh
PHPQA installer started ...
Step 1: clonning the repository to /c/Users/LuizFelipe/.phpqa/bin/phpqa.sh
Cloning into 'C:/Users/LuizFelipe/.phpqa'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Step 2: linking phpqa.sh to /usr/local/bin/phpqa ...
ln: failed to create symbolic link ‘/usr/local/bin/phpqa’: No such file or directory
Step 3: applying exec permissions ...
chmod: cannot access ‘/usr/local/bin/phpqa’: No such file or directory
Success! The phpqa command was added to your /usr/local/bin folder and can be used globally.
Could it be some problem of permission on Docker?
When I try to run $ phpqa phpt/lflimeira/ it gives me the following error.
bash: phpqa: command not found
from docker-phpqa.
So, my problem can't be solved @brunoric?
from docker-phpqa.
Hi @lflimeira,
As I told you before you must have some problem with your Github ssh keys. If you take a look at the phpqa installer you will see that it basically clones the repo to a default place and symlink it. If you are able to clone it, and the installer doesn't, something is wrong on your end regarding the keys. Anyway, since you said that you were able to clone you can use the phpqa.sh
from the repository or if you prefer to create a global link for it. To use the phpqa
script from your cloned repository just use bash path/to/your/phpqa/repo/bin/phpqa.sh
. Please let us know if it worked for you.
=)
from docker-phpqa.
@brunoric thank you so much for your answer and attention. I think that the problem it's me :)
See what's happening:
from docker-phpqa.
Hi @lflimeira,
You are missing the run
subcommand.
bash bin/phpqa.sh run phpt/examples
I can see that the usage message is also missing it but is just a misleading message and I will send a PR to fix it. Actually, the message should be OK in master since Barry's PR. Maybe you will need to pull the latest changes (from the repository). But regardless the message, like I've said seems to be working, please use the subcommands and you should be fine.
=)
from docker-phpqa.
Regarding the "pulling the latest changes", I've just sent a PR that should make that easier (#32).
In the meanwhile you can manually update your docker images by running the following commands:
docker pull herdphp/phpqa:55
docker pull herdphp/phpqa:56
docker pull herdphp/phpqa:70
docker pull herdphp/phpqa:71
docker pull herdphp/phpqa:72
Cheers,
João Paulo
from docker-phpqa.
Related Issues (20)
- Enable php extensions on docker HOT 5
- Output of test debug info should be per version to prevent override of files
- Have a debug tool (xdebug or phpdbg) to allow debug of failed tests
- Make it suitable for contribute to https://github.com/php/php-src sending pull requests to there HOT 7
- Remove MD5 checks HOT 1
- CircleCI error "Error deleting container: Error response from daemon: Driver btrfs failed to remove root filesystem" HOT 2
- When running phpqa I get "Error: Unrecognized command ." HOT 1
- Improve output of phpqa [help]
- phpqa run suite not working
- Misleading error is thrown when phpqa generate command don't receive a target directory HOT 1
- Create a version command
- Add support for PHP 5.5 and 7.2 (alpha) HOT 2
- Different results with make and phpqa HOT 1
- Compiling in gcov HOT 1
- Create preset for bug tests
- Shrink images HOT 1
- Support for custom extensions?
- Integrate with CircleCI
- Add documentation about PHPT HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-phpqa.