Move some scripts from root directory to scripts/dev/#3589
Move some scripts from root directory to scripts/dev/#3589petk wants to merge 1 commit intophp:masterfrom
Conversation
|
Comment on behalf of petk at php.net: Labelling |
At the time of this commit, there is a dedicated folder for development related tools and such scripts might fit better there to not bloat the project root directory too much. Move snapshot to scripts/dev/snapshot
|
I have no idea what Imho moving these scripts is not really worth the breakage. |
|
The Few quick use cases of downloading PHP:
At the gcov cron script specifically there is also Having such script in root directory is not only bloated to the end user, but also slightly tricky to not clean something unwanted (scripts located in a subdirectory are slightly more difficult to access at least). And not to mention, the vcsclean script is very simple helper for calling Which all also comes also to next steps - the In case this is some sort of BC we can add it to the UPGRADING notes if it causes issues. EDIT: Calling a non existing script from some other shell script doesn't cause any issues either: #!/bin/sh
echo "step 1"
./calling-non-existant-script
echo "step 2"^ this will still return exit code 0 and go to the step 2. It will emit a warning in the output... |
|
I was also thinking the same for the |
|
As for the vcsclean script; wasn't this used by make clean? |
|
|
|
Perfect then, just wanted to make sure =D |
|
@petk Would you like to remove the vcsclean call in gcov? Afterwards this should be good for merge. |
|
Yes, it will help a bit to people browsing the php-src repo and sources, I think. Gcov has been fixed via php/web-gcov@1cf3ef1 and this pull request merged via e0c8803 Thanks! |
At the time of this commit, there is a dedicated folder for development related tools and such scripts might fit better there to not bloat the project root directory too much.