Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

Implement Issue api endpoint. #184

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Implement Issue api endpoint. #184

wants to merge 9 commits into from

Conversation

demeesterdev
Copy link

implementing the issue api endpoint.

from #133

@demeesterdev demeesterdev changed the title [WIP] Implement Issue api endpoint. Implement Issue api endpoint. Jul 30, 2018
pester asks for whatif and confirm help
Copy link
Owner

@ngetchell ngetchell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for remembering the format file!

Copy link
Owner

@ngetchell ngetchell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great addition.
PSGitLab.Format.ps1xml: No changes needed.
QueryGitLabAPI.ps1: I think the HasResults should be dropped from the QueryGitLabAPI function.
PSGitLab.psd1: Revert back to the master and add your functions only.
Get-GitLabProjectIssue.ps1: No changes needed.
Move-GitLabProjectIssue: No Changes needed.
New-Gitlabprojectissue: No changes needed.
Remove-Gitlabprojectissue: see comment.
Set-Gitlabprojectissue.ps1: no changes needed.

@@ -8,65 +8,65 @@

@{

# Script module or binary module file associated with this manifest.
RootModule = 'PSGitLab.psm1'
# Script module or binary module file associated with this manifest.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lots of whitespace issues in this upload. Keep the changes limited to the FunctionsToExport

Method = 'DELETE'
}

QueryGitLabAPI -Request $Request -NoResult
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of a NoResult, just put the output of QueryGitLabAPI into a variable and simply don't return it.

This leaves a passthru parameter as a future enhancement.

Position=0)]
[ValidateNotNullOrEmpty()]
$Request,
[cmdletbinding(DefaultParameterSetName = "HasResults")]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think the HasResults is necessary.

@ngetchell
Copy link
Owner

It is my fault that there are so many whitespace issues. @it-praktyk cleaned up the code and I was way too slow to accept the changes that I already reviewed.

You will likely need to pull again from master to solve the merge conflict.

Let me know if you need any help.

@ngetchell
Copy link
Owner

Also, @tdemeester if there is any code you think we're missing from GitLab-API feel free to bring it in!

@ngetchell
Copy link
Owner

I will resolve the conflicts and merge this code.

@ngetchell ngetchell self-assigned this Sep 22, 2018
@colombeen
Copy link

I could really use the issue API functions... I need to import a big list of issues from a different platform.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants