gushphp / gush Goto Github PK
View Code? Open in Web Editor NEWProject Maintenance & Contributing Automation
License: MIT License
Project Maintenance & Contributing Automation
License: MIT License
by @raul782 is coming up!
@matthiasnoback just wanted to doublecheck with you on the packages architecture we are going to adopt for Gush. Gush depends right now on the github-api-php library. However in the future we would like to write adapters so that the generic commands would just plug into specific git-api-php library that would have implementations particular to certain third party apis to do the git manipulation of pull requests or other controls.
Could you please comment a bit on how can we approach a good architecture of package design?
imported from https://github.com/cordoval/gush/issues/230
Hi,
The branch:changelog command throws a runtime exception, without message.
[RuntimeException]
I'll try to provide more details.
imported from https://github.com/cordoval/gush/issues/162
Is it possible to edit the release body in an editor like vim or Sublime?
The changelog has stop being updated since version 1.3.5 and Gush latest version is now in 1.3.9+
go through the changelog.md and add the items seen on gush b:c or
just on the commit history that are major landmarks, also it could be helpeful to take a look at the PR closed list on github.
ref https://github.com/cordoval/gush/issues/196
I think this problem is because of hidden input and i have seen this but can't recall now
do you know @stof where this is coming from?
PHP 7. Symfony\Component\Console\Command\Command->run() phar://C:/Users/Develo
per/gush.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:8
88
PHP 8. Gush\Command\ConfigureCommand->interact() phar://C:/Users/Developer/gus
h.phar/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:233
PHP 9. Symfony\Component\Console\Helper\DialogHelper->askHiddenResponseAndVali
date() phar://C:/Users/Developer/gush.phar/src/Gush/Command/ConfigureCommand.php
:127
PHP 10. Symfony\Component\Console\Helper\DialogHelper->validateAttempts() phar:
//C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console/
Helper/DialogHelper.php:374
PHP 11. Symfony\Component\Console\Helper\DialogHelper->Symfony\Component\Consol
e\Helper\{closure}() phar://C:/Users/Developer/gush.phar/vendor/symfony/console/
Symfony/Component/Console/Helper/DialogHelper.php:466
PHP 12. Symfony\Component\Console\Helper\DialogHelper->askHiddenResponse() phar
://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console
/Helper/DialogHelper.php:371
PHP 13. unlink() phar://C:/Users/Developer/gush.phar/vendor/symfony/console/Sym
fony/Component/Console/Helper/DialogHelper.php:276
Warning: unlink(C:\Users\DEVELO~1\AppData\Local\Temp/hiddeninput.exe): No such f
ile or directory in phar://C:/Users/Developer/gush.phar/vendor/symfony/console/S
ymfony/Component/Console/Helper/DialogHelper.php on line 276
Call Stack:
0.0092 450104 1. {main}() C:\Users\Developer\gush.phar:0
0.0094 457896 2. require('phar://C:/Users/Developer/gush.phar/bin/gush
') C:\Users\Developer\gush.phar:10
1.6423 3883032 3. Symfony\Component\Console\Application->run() phar://C
:/Users/Developer/gush.phar/bin/gush:59
1.6452 4114360 4. Symfony\Component\Console\Application->doRun() phar:/
/C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console/A
pplication.php:121
1.6457 4114984 5. Gush\Application->doRunCommand() phar://C:/Users/Deve
loper/gush.phar/vendor/symfony/console/Symfony/Component/Console/Application.php
:191
1.6457 4115104 6. Symfony\Component\Console\Application->doRunCommand()
phar://C:/Users/Developer/gush.phar/src/Gush/Application.php:132
1.6462 4134944 7. Symfony\Component\Console\Command\Command->run() phar
://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console
/Application.php:888
1.6465 4138160 8. Gush\Command\ConfigureCommand->interact() phar://C:/U
sers/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console/Comman
d/Command.php:233
12.6462 4149432 9. Symfony\Component\Console\Helper\DialogHelper->askHid
denResponseAndValidate() phar://C:/Users/Developer/gush.phar/src/Gush/Command/Co
nfigureCommand.php:127
12.6462 4151184 10. Symfony\Component\Console\Helper\DialogHelper->valida
teAttempts() phar://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/
Component/Console/Helper/DialogHelper.php:374
257.9498 4173488 11. Symfony\Component\Console\Helper\DialogHelper->Symfon
y\Component\Console\Helper\{closure}() phar://C:/Users/Developer/gush.phar/vendo
r/symfony/console/Symfony/Component/Console/Helper/DialogHelper.php:466
257.9498 4173488 12. Symfony\Component\Console\Helper\DialogHelper->askHid
denResponse() phar://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony
/Component/Console/Helper/DialogHelper.php:371
257.9757 4174744 13. unlink() phar://C:/Users/Developer/gush.phar/vendor/s
ymfony/console/Symfony/Component/Console/Helper/DialogHelper.php:276
The field cannot be empty.
PHP Warning: copy(phar://C:/Users/Developer/gush.phar/vendor/symfony/console/Sy
mfony/Component/Console/Helper/../Resources/bin/hiddeninput.exe): failed to open
stream: phar error: "vendor/symfony/console/Symfony/Component/Console/Resources
/bin/hiddeninput.exe" is not a file in phar "C:/Users/Developer/gush.phar" in ph
ar://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Conso
le/Helper/DialogHelper.php on line 267
PHP Stack trace:
PHP 1. {main}() C:\Users\Developer\gush.phar:0
PHP 2. require() C:\Users\Developer\gush.phar:10
PHP 3. Symfony\Component\Console\Application->run() phar://C:/Users/Developer/
gush.phar/bin/gush:59
PHP 4. Symfony\Component\Console\Application->doRun() phar://C:/Users/Develope
r/gush.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:121
PHP 5. Gush\Application->doRunCommand() phar://C:/Users/Developer/gush.phar/ve
ndor/symfony/console/Symfony/Component/Console/Application.php:191
PHP 6. Symfony\Component\Console\Application->doRunCommand() phar://C:/Users/D
eveloper/gush.phar/src/Gush/Application.php:132
PHP 7. Symfony\Component\Console\Command\Command->run() phar://C:/Users/Develo
per/gush.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:8
88
PHP 8. Gush\Command\ConfigureCommand->interact() phar://C:/Users/Developer/gus
h.phar/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:233
PHP 9. Symfony\Component\Console\Helper\DialogHelper->askHiddenResponseAndVali
date() phar://C:/Users/Developer/gush.phar/src/Gush/Command/ConfigureCommand.php
:127
PHP 10. Symfony\Component\Console\Helper\DialogHelper->validateAttempts() phar:
//C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console/
Helper/DialogHelper.php:374
PHP 11. Symfony\Component\Console\Helper\DialogHelper->Symfony\Component\Consol
e\Helper\{closure}() phar://C:/Users/Developer/gush.phar/vendor/symfony/console/
Symfony/Component/Console/Helper/DialogHelper.php:466
PHP 12. Symfony\Component\Console\Helper\DialogHelper->askHiddenResponse() phar
://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console
/Helper/DialogHelper.php:371
PHP 13. copy() phar://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfo
ny/Component/Console/Helper/DialogHelper.php:267
Warning: copy(phar://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony
/Component/Console/Helper/../Resources/bin/hiddeninput.exe): failed to open stre
am: phar error: "vendor/symfony/console/Symfony/Component/Console/Resources/bin/
hiddeninput.exe" is not a file in phar "C:/Users/Developer/gush.phar" in phar://
C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console/He
lper/DialogHelper.php on line 267
Call Stack:
0.0092 450104 1. {main}() C:\Users\Developer\gush.phar:0
0.0094 457896 2. require('phar://C:/Users/Developer/gush.phar/bin/gush
') C:\Users\Developer\gush.phar:10
1.6423 3883032 3. Symfony\Component\Console\Application->run() phar://C
:/Users/Developer/gush.phar/bin/gush:59
1.6452 4114360 4. Symfony\Component\Console\Application->doRun() phar:/
/C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console/A
pplication.php:121
1.6457 4114984 5. Gush\Application->doRunCommand() phar://C:/Users/Deve
loper/gush.phar/vendor/symfony/console/Symfony/Component/Console/Application.php
:191
1.6457 4115104 6. Symfony\Component\Console\Application->doRunCommand()
phar://C:/Users/Developer/gush.phar/src/Gush/Application.php:132
1.6462 4134944 7. Symfony\Component\Console\Command\Command->run() phar
://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console
/Application.php:888
1.6465 4138160 8. Gush\Command\ConfigureCommand->interact() phar://C:/U
sers/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console/Comman
d/Command.php:233
12.6462 4149432 9. Symfony\Component\Console\Helper\DialogHelper->askHid
denResponseAndValidate() phar://C:/Users/Developer/gush.phar/src/Gush/Command/Co
nfigureCommand.php:127
12.6462 4151184 10. Symfony\Component\Console\Helper\DialogHelper->valida
teAttempts() phar://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/
Component/Console/Helper/DialogHelper.php:374
257.9895 4173488 11. Symfony\Component\Console\Helper\DialogHelper->Symfon
y\Component\Console\Helper\{closure}() phar://C:/Users/Developer/gush.phar/vendo
r/symfony/console/Symfony/Component/Console/Helper/DialogHelper.php:466
257.9895 4173488 12. Symfony\Component\Console\Helper\DialogHelper->askHid
denResponse() phar://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony
/Component/Console/Helper/DialogHelper.php:371
257.9895 4173848 13. copy() phar://C:/Users/Developer/gush.phar/vendor/sym
fony/console/Symfony/Component/Console/Helper/DialogHelper.php:267
password: 'C:\Users\DEVELO~1\AppData\Local\Temp/hiddeninput.exe' is not recogniz
ed as an internal or external command,
operable program or batch file.
PHP Warning: unlink(C:\Users\DEVELO~1\AppData\Local\Temp/hiddeninput.exe): No s
uch file or directory in phar://C:/Users/Developer/gush.phar/vendor/symfony/cons
ole/Symfony/Component/Console/Helper/DialogHelper.php on line 276
PHP Stack trace:
PHP 1. {main}() C:\Users\Developer\gush.phar:0
PHP 2. require() C:\Users\Developer\gush.phar:10
PHP 3. Symfony\Component\Console\Application->run() phar://C:/Users/Developer/
gush.phar/bin/gush:59
PHP 4. Symfony\Component\Console\Application->doRun() phar://C:/Users/Develope
r/gush.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:121
PHP 5. Gush\Application->doRunCommand() phar://C:/Users/Developer/gush.phar/ve
ndor/symfony/console/Symfony/Component/Console/Application.php:191
PHP 6. Symfony\Component\Console\Application->doRunCommand() phar://C:/Users/D
eveloper/gush.phar/src/Gush/Application.php:132
PHP 7. Symfony\Component\Console\Command\Command->run() phar://C:/Users/Develo
per/gush.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:8
88
PHP 8. Gush\Command\ConfigureCommand->interact() phar://C:/Users/Developer/gus
h.phar/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:233
PHP 9. Symfony\Component\Console\Helper\DialogHelper->askHiddenResponseAndVali
date() phar://C:/Users/Developer/gush.phar/src/Gush/Command/ConfigureCommand.php
:127
PHP 10. Symfony\Component\Console\Helper\DialogHelper->validateAttempts() phar:
//C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console/
Helper/DialogHelper.php:374
PHP 11. Symfony\Component\Console\Helper\DialogHelper->Symfony\Component\Consol
e\Helper\{closure}() phar://C:/Users/Developer/gush.phar/vendor/symfony/console/
Symfony/Component/Console/Helper/DialogHelper.php:466
PHP 12. Symfony\Component\Console\Helper\DialogHelper->askHiddenResponse() phar
://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console
/Helper/DialogHelper.php:371
PHP 13. unlink() phar://C:/Users/Developer/gush.phar/vendor/symfony/console/Sym
fony/Component/Console/Helper/DialogHelper.php:276
Warning: unlink(C:\Users\DEVELO~1\AppData\Local\Temp/hiddeninput.exe): No such f
ile or directory in phar://C:/Users/Developer/gush.phar/vendor/symfony/console/S
ymfony/Component/Console/Helper/DialogHelper.php on line 276
Call Stack:
0.0092 450104 1. {main}() C:\Users\Developer\gush.phar:0
0.0094 457896 2. require('phar://C:/Users/Developer/gush.phar/bin/gush
') C:\Users\Developer\gush.phar:10
1.6423 3883032 3. Symfony\Component\Console\Application->run() phar://C
:/Users/Developer/gush.phar/bin/gush:59
1.6452 4114360 4. Symfony\Component\Console\Application->doRun() phar:/
/C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console/A
pplication.php:121
1.6457 4114984 5. Gush\Application->doRunCommand() phar://C:/Users/Deve
loper/gush.phar/vendor/symfony/console/Symfony/Component/Console/Application.php
:191
1.6457 4115104 6. Symfony\Component\Console\Application->doRunCommand()
phar://C:/Users/Developer/gush.phar/src/Gush/Application.php:132
1.6462 4134944 7. Symfony\Component\Console\Command\Command->run() phar
://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console
/Application.php:888
1.6465 4138160 8. Gush\Command\ConfigureCommand->interact() phar://C:/U
sers/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console/Comman
d/Command.php:233
12.6462 4149432 9. Symfony\Component\Console\Helper\DialogHelper->askHid
denResponseAndValidate() phar://C:/Users/Developer/gush.phar/src/Gush/Command/Co
nfigureCommand.php:127
12.6462 4151184 10. Symfony\Component\Console\Helper\DialogHelper->valida
teAttempts() phar://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/
Component/Console/Helper/DialogHelper.php:374
257.9895 4173488 11. Symfony\Component\Console\Helper\DialogHelper->Symfon
y\Component\Console\Helper\{closure}() phar://C:/Users/Developer/gush.phar/vendo
r/symfony/console/Symfony/Component/Console/Helper/DialogHelper.php:466
257.9895 4173488 12. Symfony\Component\Console\Helper\DialogHelper->askHid
denResponse() phar://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony
/Component/Console/Helper/DialogHelper.php:371
258.0211 4174744 13. unlink() phar://C:/Users/Developer/gush.phar/vendor/s
ymfony/console/Symfony/Component/Console/Helper/DialogHelper.php:276
The field cannot be empty.
PHP Warning: copy(phar://C:/Users/Developer/gush.phar/vendor/symfony/console/Sy
mfony/Component/Console/Helper/../Resources/bin/hiddeninput.exe): failed to open
stream: phar error: "vendor/symfony/console/Symfony/Component/Console/Resources
/bin/hiddeninput.exe" is not a file in phar "C:/Users/Developer/gush.phar" in ph
ar://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Conso
le/Helper/DialogHelper.php on line 267
PHP Stack trace:
PHP 1. {main}() C:\Users\Developer\gush.phar:0
PHP 2. require() C:\Users\Developer\gush.phar:10
PHP 3. Symfony\Component\Console\Application->run() phar://C:/Users/Developer/
gush.phar/bin/gush:59
PHP 4. Symfony\Component\Console\Application->doRun() phar://C:/Users/Develope
r/gush.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:121
PHP 5. Gush\Application->doRunCommand() phar://C:/Users/Developer/gush.phar/ve
ndor/symfony/console/Symfony/Component/Console/Application.php:191
PHP 6. Symfony\Component\Console\Application->doRunCommand() phar://C:/Users/D
eveloper/gush.phar/src/Gush/Application.php:132
PHP 7. Symfony\Component\Console\Command\Command->run() phar://C:/Users/Develo
per/gush.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:8
88
PHP 8. Gush\Command\ConfigureCommand->interact() phar://C:/Users/Developer/gus
h.phar/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:233
PHP 9. Symfony\Component\Console\Helper\DialogHelper->askHiddenResponseAndVali
date() phar://C:/Users/Developer/gush.phar/src/Gush/Command/ConfigureCommand.php
:127
PHP 10. Symfony\Component\Console\Helper\DialogHelper->validateAttempts() phar:
//C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console/
Helper/DialogHelper.php:374
PHP 11. Symfony\Component\Console\Helper\DialogHelper->Symfony\Component\Consol
e\Helper\{closure}() phar://C:/Users/Developer/gush.phar/vendor/symfony/console/
Symfony/Component/Console/Helper/DialogHelper.php:466
PHP 12. Symfony\Component\Console\Helper\DialogHelper->askHiddenResponse() phar
://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console
/Helper/DialogHelper.php:371
PHP 13. copy() phar://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfo
ny/Component/Console/Helper/DialogHelper.php:267
Warning: copy(phar://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony
/Component/Console/Helper/../Resources/bin/hiddeninput.exe): failed to open stre
am: phar error: "vendor/symfony/console/Symfony/Component/Console/Resources/bin/
hiddeninput.exe" is not a file in phar "C:/Users/Developer/gush.phar" in phar://
C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console/He
lper/DialogHelper.php on line 267
Call Stack:
0.0092 450104 1. {main}() C:\Users\Developer\gush.phar:0
0.0094 457896 2. require('phar://C:/Users/Developer/gush.phar/bin/gush
') C:\Users\Developer\gush.phar:10
1.6423 3883032 3. Symfony\Component\Console\Application->run() phar://C
:/Users/Developer/gush.phar/bin/gush:59
1.6452 4114360 4. Symfony\Component\Console\Application->doRun() phar:/
/C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console/A
pplication.php:121
1.6457 4114984 5. Gush\Application->doRunCommand() phar://C:/Users/Deve
loper/gush.phar/vendor/symfony/console/Symfony/Component/Console/Application.php
:191
1.6457 4115104 6. Symfony\Component\Console\Application->doRunCommand()
phar://C:/Users/Developer/gush.phar/src/Gush/Application.php:132
1.6462 4134944 7. Symfony\Component\Console\Command\Command->run() phar
://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console
/Application.php:888
1.6465 4138160 8. Gush\Command\ConfigureCommand->interact() phar://C:/U
sers/Developer/gush.phar/vendor/symfony/console/Symfony/Component/Console/Comman
d/Command.php:233
12.6462 4149432 9. Symfony\Component\Console\Helper\DialogHelper->askHid
denResponseAndValidate() phar://C:/Users/Developer/gush.phar/src/Gush/Command/Co
nfigureCommand.php:127
12.6462 4151184 10. Symfony\Component\Console\Helper\DialogHelper->valida
teAttempts() phar://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony/
Component/Console/Helper/DialogHelper.php:374
258.0241 4173488 11. Symfony\Component\Console\Helper\DialogHelper->Symfon
y\Component\Console\Helper\{closure}() phar://C:/Users/Developer/gush.phar/vendo
r/symfony/console/Symfony/Component/Console/Helper/DialogHelper.php:466
258.0241 4173488 12. Symfony\Component\Console\Helper\DialogHelper->askHid
denResponse() phar://C:/Users/Developer/gush.phar/vendor/symfony/console/Symfony
/Component/Console/Helper/DialogHelper.php:371
258.0241 4173848 13. copy() phar://C:/Users/Developer/gush.phar/vendor/sym
fony/console/Symfony/Component/Console/Helper/DialogHelper.php:267
password:
Downloaded the gush.phar from gushphp.org and i get this error message when trying to run it.
~/Projects/bernard (master) gush
PHP Fatal error: Class Gush\Adapter\GitHubAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Gush\Adapter\BaseAdapter::createFork) in phar:///usr/local/bin/gush/vendor/gushphp/gush-github-adapter/src/GitHubAdapter.php on line 24
Fatal error: Class Gush\Adapter\GitHubAdapter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Gush\Adapter\BaseAdapter::createFork) in phar:///usr/local/bin/gush/vendor/gushphp/gush-github-adapter/src/GitHubAdapter.php on line 24
@dantleech this is the template for the new command
[
{
"name": "gush.phar",
"sha1": "tba",
"url": "https://gushphp.org/gush.phar",
"version": "1.3.5"
}
]
imported from https://github.com/cordoval/gush/issues/204
imported from https://github.com/cordoval/gush/issues/66
Provide command (or augment issue list command) to provide reports, for example release notes / emails:
Milestone X
=========
Label 1
----------
- Issue 1: Description of issue
- Issue 2: Description of issue
Label 2
----------
- Issue 3: Description of issue
- Issue 4: Description of issue
My primary use case is to generate the weekly deployment email at work.
imported from https://github.com/cordoval/gush/issues/194
We could have an option which, when running GIT commands or making API requests, formats the output in a way which would enable the user to achieve the same thing withpout gush, e.g.
$ gush pr:initialize --pedantic
# Fork the repository
curl https://api.github.com/foo/bar?bar
# Add the remote
git remote add dantleech https://foo/bar
Just an idea, not even sure how feasable it is to make API requests on GitHub over the command line.
The idea is that people have the opportunity to see and understand the actual work-flow rather than just seeing "magic" and not understanding anything.
ascherer@aarons-mbp-3 - /projects/gush - ± master $
gush p:pat 48 --org=gushphp --repo=gush ⏎
[InvalidArgumentException]
Template with name "pats" in domain "pats/general" has
not been registered
pull-request:pat-on-the-back [-o|--org="..."] [-r|--repo="..."]
pr_number
What did i break? :(
ho ho ho
I receive an error when trying to create PRs
$ gush p:create
Title: composer update
Bug Fix? (n)
New Feature? (n)
BC Breaks? (n)
Deprecations? (n)
Tests Pass? (n)
Fixed Tickets #11
License (MIT)
Doc PR
Description
Validation Failed: Field "head_sha" is missing, for resource "PullRequest",
Field "base_sha" is missing, for resource "PullRequest",
No commits between gushphp:master and ghost:11-fix-gush-dependency
imported from https://github.com/cordoval/gush/issues/46
Some developers are against PSR4 and disdain it,
however I believe that updating just gives us more bleeding edge which is what Gush is all about
support for a new wave of advancing PHP and contribution, we cannot do that staying in the past.
Let's move all our name spacing to the latest PSR4!
Hi,
After some more testing, I've found an interesting problem involving the ProcessBuilder. It escapes everything (https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Process/ProcessBuilder.php#L165), and that causes a problem on windows:
php-cs-fixer
- works fine
"php-cs-fixer"
- looks for the file in cwd
Replacing the ProcessBuilder
with Process
with unescaped params solves the issue.
I think a PR to Symfony is the way to go on this one, making escaping optional (configurable for every parameter). Any suggestions?
There were recent PRs on Symfony about stateless Table helper which is good and soonish will be a console question helper if it is not already there. The idea is to seize the opportunity and take advantage of this code right away. If we have to move gush to 2.5 so be it!
ref https://github.com/cordoval/gush/issues/17
I'm proposing to add --dry-run
parameter, that would actually show git commands, that would change data in repository instead of executing them.
This would be especially useful while library isn't stable to prevent of accidentally removing something useful from the repo with which manager tools will be working.
with the following composer.json
file in global
{
"require": {
"gushphp/gush-github-adapter": ">=1.0.2",
"gushphp/gush": ">=1.3.9"
}
}
I'm getting this when i try to create an issue
PHP Fatal error: Class 'Symfony\Component\Filesystem\Filesystem' not found
in /Users/ascherer/.composer/vendor/gushphp/gush/src/Gush/Helper/EditorHelper.php
on line 36
Fatal error: Class 'Symfony\Component\Filesystem\Filesystem' not found in
/Users/ascherer/.composer/vendor/gushphp/gush/src/Gush/Helper/EditorHelper.php
on line 36
Say I fork a repository, I make a change, can I use Gush to send a pull request to the upstream repository?
When I'm running
$ wget https://github.com/gushphp/gush/archive/1.3.11.tar.gz
$ tar xzf 1.3.11.tar.gz
$ cd gush-1.3.11
$ composer install --no-dev
It throws this error:
Loading composer repositories with package information
Installing dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: remove gushphp/gush 1.0.0
- gushphp/gush-github-adapter 1.1.0 requires gushphp/gush ~1.3 -> satisfiable by gushphp/gush[1.3.10, 1.3.11, v1.3.0, v1.3.1, v1.3.2, v1.3.3, v1.3.4, v1.3.5, v1.3.6, v1.3.7, v1.3.8, v1.3.9].
- gushphp/gush-github-adapter 1.1.1 requires gushphp/gush ~1.3 -> satisfiable by gushphp/gush[1.3.10, 1.3.11, v1.3.0, v1.3.1, v1.3.2, v1.3.3, v1.3.4, v1.3.5, v1.3.6, v1.3.7, v1.3.8, v1.3.9].
- Can only install one of: gushphp/gush[1, 1.3.10].
- Can only install one of: gushphp/gush[1, 1.3.11].
- Can only install one of: gushphp/gush[1, v1.3.0].
- Can only install one of: gushphp/gush[1, v1.3.1].
- Can only install one of: gushphp/gush[1, v1.3.2].
- Can only install one of: gushphp/gush[1, v1.3.3].
- Can only install one of: gushphp/gush[1, v1.3.4].
- Can only install one of: gushphp/gush[1, v1.3.5].
- Can only install one of: gushphp/gush[1, v1.3.6].
- Can only install one of: gushphp/gush[1, v1.3.7].
- Can only install one of: gushphp/gush[1, v1.3.8].
- Can only install one of: gushphp/gush[1, v1.3.9].
- Installation request for gushphp/gush 1.0.0 -> satisfiable by gushphp/gush[1.0.0].
- Installation request for gushphp/gush-github-adapter ~1.1 -> satisfiable by gushphp/gush-github-adapter[1.1.0, 1.1.1].
The same with the "zip" archive, but it works fine when I'm in the git repo and the 1.3.11 tag is checked out.
Would be great if Gush could setup a good git commit message formatting, such as text length (automatic new line) if the message is too long..etc.
Some ideas:
http://karma-runner.github.io/0.8/dev/git-commit-msg.html
http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
http://stackoverflow.com/questions/15324900/standard-to-follow-when-writing-git-commit-messages
Need a place to give guidelines for contributing. Should talk about the standards this project follows and whatnot.
Gush was born out of the need for reproducing or PR'eing very fast and precise the symfony related repositories. We must have a cycle for reproducing for instance form issues completely from 0 to Hero. It would rock.
ha ha ha
Add the ability to open a new ticket via gush, and allow it to open nano/pico/vi/vim/textmate etc for ticket description, using configuration option much like the way git allows you to configure the editor of choice for commit messages.
I guess this would be:
$ gush issue:create 'title of problem' 'short description'
or
$ gush issue:create -m 'title of problem'
which opens nano or whatever chosen editor is.
imported from https://github.com/cordoval/gush/issues/85
implement types of merges like symfony/symfony@a5b4aad
where we have:
can we discuss here what is a generic way to catalogue that can support subcases such as symfony/symfony?
The idea is to have a command that saves the long typing and also can integrate into a macro flow later on
git push -u cordoval 4-implement-gush-i-assign-username
instead just
gush b:push
auto-detects the current branch and your username repo and pushes, it has options to pass branch name and other repository name
This is useful for the first time, before we track the upstream branch with git -u x branch_name
this is the new url https://github.com/gushphp/gush
you can stargaze
and watch the new repo
as we know you were following us, Thanks for your support!
@staabm @nikolay @rodrigodiez @mtotheikle @saas786 @sanuter @danielcsgomes @hunslater @dantleech @bzitzow
Thanks!
The idea here is it should fallback to git in case the command is not found on any of the command names.
imported from https://github.com/cordoval/gush/issues/77
WIth hub I can do this:
hub pull-request -b MyRepo:master -h ghi-1164 -i 1164
Which will convert issue 1164
to a pull request to MyRepo:master
from dantleech:ghi-1164
.
IssueTakeCommand should also assign the issue to the user
ref https://github.com/cordoval/gush/issues/231
imported from https://github.com/cordoval/gush/issues/233
I'm using the download method via curl -sS http://gushphp.org/installer | php
and was unable to run any command.
imported from https://github.com/cordoval/gush/issues/189
@dantleech i think i have achieved this with the introduction of the $output no?
wonder if we can close it
When trying to create an issue, it doesn't recognize control characters when trying to type them like Control-V Control-U (proof: �). Now trying it like Shift-6 U (^U).
Edit: It seems it works by typing ^.
imported from https://github.com/cordoval/gush/issues/146
All commands should be executable non-interactively with options
https://github.com/cordoval/gush/issues/193
A command which intiializes the users local GIT repository for remote work.
$username
When releasing a tag, gush-x.y.z.phar should be uploaded somewhere and gush.phar should be a symlink to it. If it's done, it's possible to create packages on various Linux distributions. Also users can choose to use an older version.
it seems it is quite popular to celebrate a merge phpspec/phpspec#306 (comment) so let's add that to the random pat on the back template
ref https://github.com/cordoval/gush/issues/27
Gush - Rapid workflow for project maintainers and contributors
http://gushphp.org
github
command line helper for simplifying your GitHub experience.
GitHub Issues on the command line. Use your $EDITOR, not your browser.
hub is a command line tool that wraps git in order to extend it with extra features and commands that make working with GitHub easier.
http://hub.github.com
Fast GitHub command line client.
http://owenou.com/gh
Git extensions to provide high-level repository operations for Vincent Driessen's branching model.
GitHub command line tools
http://nodegh.io
NodeGH plugin for commenting on pull requests/issues using GIF reactions
A command-line tool to manage Github Issues
fugitive.vim: a Git wrapper so awesome, it should be illegal
The easiest way to use git. On any platform. Anywhere.
http://youtu.be/hkBVAi3oKvo
A Django project to manage github issues
Dashboard to monitor the health of github projects based on their contribution statistics, based on the "Dashing" framework
GitHub Issues Tracker reporting and analytics (Project Management Reporting and Analytics)
Use GitHub to Track Time and Budgets for your Development Projects(and really anything else you use GitHub for) - Ruby app that analyzes GitHub Issue Comments, Milestones, and Code Commit Messages for Time Tracking and Budget Tracking information
Share code authorship when pairing and using git/github
An interactive shell for git
There seems to be some care when merging notes, since we have a command to merge with notes we should take some care on thinking on commands for this problem:
GitHutHelper -> GitRepoHelper
and there are others but this is good for now
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.