X Tutup
The Wayback Machine - https://web.archive.org/web/20200918062625/https://github.com/KnpLabs/php-github-api/pull/812
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

Added first version of source import #812

Open
wants to merge 7 commits into
base: master
from

Conversation

@sebastianberm
Copy link

sebastianberm commented Sep 25, 2019

This might not be 100% complete yet, but it should allow for source imports to take place.

@acrobat
Copy link
Collaborator

acrobat commented Sep 26, 2019

Closing and reopening this PR to trigger the styleci build.

@acrobat acrobat closed this Sep 26, 2019
@acrobat acrobat reopened this Sep 26, 2019
@sebastianberm
Copy link
Author

sebastianberm commented Sep 26, 2019

I think there is something wrong with the styleci check. (This isn't the only PR where this seems to be hanging).

This is the second version. Now it's actually working.
Procedure is to first create a new repo and than call the import sequence.
@acrobat acrobat closed this Sep 29, 2019
@acrobat acrobat reopened this Sep 29, 2019
@KnpLabs KnpLabs deleted a comment from GrahamCampbell Sep 29, 2019
@acrobat
Copy link
Collaborator

acrobat commented Sep 29, 2019

The styleci integration is working again, there was an issue with linked user not having the required permission on github. (thanks @GrahamCampbell for the quick answer!)

@sebastianberm Can you check the issues styleci has found? After those are fixed I will review this PR, thanks!

Modifications according to StyleCI
*
* return array
*/
public function start($params, $owner, $repoName)

This comment has been minimized.

@acrobat

acrobat Sep 29, 2019 Collaborator

I would move the $params parameter to the end of the function parameter list, to be in line with the rest of the code. This parameter can also be typehinted as array!

*
* @link http://developer.github.com/v3/migrations
*
* @author Sebastian Berm <sebastian@sebsoft.nl>

This comment has been minimized.

@acrobat

acrobat Sep 29, 2019 Collaborator

Also add the @experimental annotation, to indicate this is a preview endpoint. See #806

@acrobat
Copy link
Collaborator

acrobat commented Sep 29, 2019

@sebastianberm Can you also add some basic tests for the new endpoint? You can see an example here.

@acrobat acrobat added the needs-work label Nov 1, 2019
@GrahamCampbell
Copy link
Contributor

GrahamCampbell commented Jul 4, 2020

This needs re-targetting to 2.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.
X Tutup