Skip to content

Add support for contentFiles to Fake.DotNet.NuGet packaging - #2165

Merged
matthid merged 5 commits into
fsprojects:release/nextfrom
chappoo:nuget-support-contentfiles
Oct 10, 2019
Merged

matthid merged 5 commits into
fsprojects:release/nextfrom
chappoo:nuget-support-contentfiles

Conversation

@chappoo

@chappoo chappoo commented Oct 22, 2018

Copy link
Copy Markdown
Contributor

Fixes #2144

@chappoo

chappoo commented Oct 22, 2018

Copy link
Copy Markdown
Contributor Author

@matthid As per contribution docs, I branched from my fork origin master branch and created this PR to base on upstream master. Is that correct? I've seen other branches in upstream that have been branched / base off release/next.

@matthid
matthid changed the base branch from master to release/next October 22, 2018 12:44
@matthid

matthid commented Oct 22, 2018

Copy link
Copy Markdown
Member

@chappoo Usually the diff between master and release/next is not too big and github allows to change the target branch (and I already did) so not an issue. But where are the docs because currently targeting release/next is preferred...

@chappoo

chappoo commented Oct 22, 2018 •

Copy link
Copy Markdown
Contributor Author

@matthid

matthid commented Oct 22, 2018

Copy link
Copy Markdown
Member

@chappoo Thanks will try to update. Can you rebase or push an empty commit to re-trigger the CI processes (seems to have problems with changed branch target, maybe I was too fast)

@chappoo

chappoo commented Oct 22, 2018 •

Copy link
Copy Markdown
Contributor Author

@matthid Done - rebased on release/next

@matthid

matthid commented Oct 22, 2018

Copy link
Copy Markdown
Member

No idea why this pr doesn't trigger any CI (we have many so I'd assume github is to blame)... Maybe close and add a new one?

@matthid

matthid commented Oct 22, 2018

Copy link
Copy Markdown
Member

@chappoo

chappoo commented Oct 22, 2018

Copy link
Copy Markdown
Contributor Author

I saw the data consistency outage earlier - I think they had stopped all web-hooks as a precaution

@chappoo

chappoo commented Oct 22, 2018

Copy link
Copy Markdown
Contributor Author

I might start again once they've fully resumed, will kill the PR / branch and start again, not sure I can open a new PR against a branch with a closed PR?

@matthid

matthid commented Oct 22, 2018

Copy link
Copy Markdown
Member

@chappoo Yes I think that's not a problem, you can push to the same branch after a previous PR has been merged and start a new PR (in fact that's what I'm doing all the time with the release/next branch on master)

@chappoo

chappoo commented Oct 22, 2018

Copy link
Copy Markdown
Contributor Author

Looks like CI has magically started now

@matthid

matthid commented Oct 23, 2018

Copy link
Copy Markdown
Member

I think a small unit test for the new parameter would make sense

@chappoo

chappoo commented Oct 24, 2018 •

Copy link
Copy Markdown
Contributor Author

I think a small unit test for the new parameter would make sense

I totally agree, I'm not familiar with the test setup here though. Are there existing unit tests for the NuGet module?

@matthid

matthid commented Oct 24, 2018

Copy link
Copy Markdown
Member

We recently added a more testable API (CreateProcess) and started to switch to it when new features are added (see https://github.com/fsharp/FAKE/pull/2120/files for example). The switch should be quite straight-forward and the latest documentation only actually lists the new API.

Once the module uses CreateProcess you would refactor an internal api which returns the CreateProcess<T> instance and use that for testing (see the other PR for details).

Let me know if that helps.

@matthid matthid added the needs-tests This PR needs tests in order to be accepted label Oct 25, 2018
@matthid matthid added the waiting for author Some information or action was requested and it needs to be addressed. Or a response from author label Nov 14, 2018
@matthid

matthid commented Nov 18, 2018

Copy link
Copy Markdown
Member

any interest in finishing this?

@chappoo

chappoo commented Nov 18, 2018 via email

Copy link
Copy Markdown
Contributor Author

@matthid
matthid merged commit a23a6a1 into fsprojects:release/next Oct 10, 2019
@matthid matthid mentioned this pull request Oct 12, 2019
@chappoo

chappoo commented Oct 12, 2019

Copy link
Copy Markdown
Contributor Author

@matthid The notification for this merge reminded me of this (old!) PR... appreciate the acceptance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-tests This PR needs tests in order to be accepted waiting for author Some information or action was requested and it needs to be addressed. Or a response from author

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fake.DotNet.NuGet needs to support ContentFiles section in nuspec

2 participants