Skip to content

Support slash in GitHub branch name - #3215

Merged
forki merged 4 commits into
fsprojects:masterfrom
BlythMeister:githubSlash
May 23, 2018
Merged

forki merged 4 commits into
fsprojects:masterfrom
BlythMeister:githubSlash

Conversation

@BlythMeister

Copy link
Copy Markdown
Contributor

This would previously error

Also updated bootstrapper to version including my fix for group policy restrictions

@matthid

matthid commented May 21, 2018

Copy link
Copy Markdown
Member

The only thing is that a test for this function might make sense (we can make it internal and use InternalsVisibleTo if needed)

@BlythMeister

Copy link
Copy Markdown
Contributor Author

Agreed, is there an already existing test fixture?
Also looks like I broke something as both CI gone red 😞

@BlythMeister

Copy link
Copy Markdown
Contributor Author

@matthid turns out there is tests (just not for this case) and i broke them :(
Adding my new scenario into that test case and will ensure all tests pass!

@BlythMeister

Copy link
Copy Markdown
Contributor Author

@matthid updates made, should be ready to go now...


let config = "github \"owner:project1:master\" \"folder/file.fs\"
github \"owner:project1:feature/branch\" \"folder/file3.fs\"
github \"owner/project1:feature:branch\" \"folder/file4.fs\"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should we really allow that?

@BlythMeister BlythMeister May 22, 2018 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Don't see why not...I can make it blocked if you like though....

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@matthid updated to no longer allow this.
Also added a range of other test cases :)

@forki
forki merged commit 9e88075 into fsprojects:master May 23, 2018
@forki

forki commented May 23, 2018

Copy link
Copy Markdown
Member

thx

@BlythMeister
BlythMeister deleted the githubSlash branch May 11, 2021 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants