Git Product home page Git Product logo

gush's People

Contributors

aequasi avatar antonbabenko avatar attilabukor avatar bzitzow avatar cordoval avatar cslucano avatar dantleech avatar dcsg avatar dimsav avatar dlondero avatar echochamber avatar flyingmana avatar glensc avatar grahamcampbell avatar hason avatar jubianchi avatar leoj3n avatar lunika avatar mistymagich avatar padam87 avatar peterrehm avatar phansys avatar pierredup avatar reiz avatar samsonasik avatar shulard avatar sstok avatar stephpy avatar strayobject avatar webflo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gush's Issues

[Windows] Symfony ProcessBuilder escaping

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?

Issue with Gush

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

decoupling third party api php lib support into optional packages

@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

ref https://github.com/cordoval/gush/issues/231

[Windows] bug missing hiddeninput.exe on phar install

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:

Create ticket via CLI with editor choice config

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.

Upgrade Gush to use symfony (2.5) console ask and table helpers

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!

Composer deps cannot be resolved in the 1.3.11 release archives

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.

Does gush with forked repos

Say I fork a repository, I make a change, can I use Gush to send a pull request to the upstream repository?

specialize Gush cycle for reproducing issues

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.

Pedantic Mode

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.

Implement gush b:push command

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

Update changelog.md with latest merges

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.

Upgrade composer autoload to PSR-4 and use autoload-dev for tests

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!

Phar is broken

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

Boiler plate of ideas, others to keep in mind

ref https://github.com/cordoval/gush/issues/27

Git and GitHub tools

[gushphp/gush][]

Gush - Rapid workflow for project maintainers and contributors
http://gushphp.org

defunkt/github-gem

github command line helper for simplifying your GitHub experience.

stephencelis/ghi

GitHub Issues on the command line. Use your $EDITOR, not your browser.

github/hub

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

jingweno/gh

Fast GitHub command line client.
http://owenou.com/gh

nvie/gitflow

Git extensions to provide high-level repository operations for Vincent Driessen's branching model.

node-gh/gh

GitHub command line tools
http://nodegh.io

node-gh/gh-gif

NodeGH plugin for commenting on pull requests/issues using GIF reactions

samoht/ghim

A command-line tool to manage Github Issues

tpope/vim-fugitive

fugitive.vim: a Git wrapper so awesome, it should be illegal

FredrikNoren/ungit

The easiest way to use git. On any platform. Anywhere.
http://youtu.be/hkBVAi3oKvo

twidi/github-issues-manager

A Django project to manage github issues

chillu/github-dashing

Dashboard to monitor the health of github projects based on their contribution statistics, based on the "Dashing" framework

StephenOTT/GitHub-Analytics

GitHub Issues Tracker reporting and analytics (Project Management Reporting and Analytics)

StephenOTT/GitHub-Time-Tracking

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

glg/git-pairing

Share code authorship when pairing and using git/github

thoughtbot/gitsh

An interactive shell for git

Upload versioned phars

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.

Create a CONTRIBUTING.md

Need a place to give guidelines for contributing. Should talk about the standards this project follows and whatnot.

[Windows] branch:changelog

Hi,

The branch:changelog command throws a runtime exception, without message.

[RuntimeException]

I'll try to provide more details.

Can't create PRs

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

Cant Pat on Back

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? :(

Add '--dry-run' parameter

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.

Doesn't recognize control characters

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 ^.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.