-
Notifications
You must be signed in to change notification settings - Fork 588
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
WIP: Debian packaging #1863
WIP: Debian packaging #1863
Conversation
b8aef4b
to
321593f
Compare
For we could just upload the dep file to github releases and discuss hosting separately. At least it improves the situation a bit. Regarding running on linux that is a bit of a problem as we currently release on windows (and I'd like to prevent running a release on multiple machines as of today). If we cannot get fpm to run on windows we might need to use docker or something like that. |
is linux subsystem an option? if not, I can see if I can get fpm working on cygwin/babun also if that's on the table. |
a2be351
to
cf72466
Compare
We are planning to switch to a deployment pipeline (instead of releasing locally). I'm not sure if it is available there.
Yes that would make me feel a bit better. In worst case we can probably bundle everything (for example as nuget package). |
We should probably keep an eye on https://github.com/qmfrederik/dotnet-packaging as well (but it doesn't seem to be finished yet) |
Just to let you know: I'm currently thinking about introducing a release pipeline for fake. And it is possible that I decide to use gitlab ci, which would mean fpm is available... |
Ok our release process is not setup with vsts. In theory we could use linux agents. But stuff would be a lot simpler if we manage to run it on windows somehow ... |
If we hard need it to run on windows, I'll poke around the dotnet-packaging stuff and see if that's usable. |
cf72466
to
0fb1250
Compare
As I was screwing around I found there was already a Should we rename to |
Yeah I guess we need to? At least it matches with global tool. Question is if we should rename chocolatey :) |
Technically haven't released officially yet so a name change is fine right? I'll leave this decision up to you :) |
Apparently that dotnet-packaging stuff breaks the regular publish process. Maybe we just need to copy the project file once mode (we already have copies for |
Ping :) |
Sorry I take a look at this tonight. |
f33e51b
to
4cac965
Compare
a72b6e8
to
2b24412
Compare
This is green now, anything obvious that need to change? |
Please give me a couple of days to review, but if this works and the integration in the release process works (for example upload to github) then it should be fine. Thanks a lot will report back in detail soon (hopefully) |
Ok can you please add the generated I think adding it here (FastRelease Target) should be enough |
Ok let me try to finalize this, thanks! |
The debian package is already on github-staging, see https://github.com/fake-staging/FAKE/releases Feel free to test |
Do we need some documentation around how to use this? |
Sorry, just saw this. Anything else for me to do?
For installing
Running should be the same after that.
|
This PR creates initial support for creating fake packages with fpm.
I removed ubuntu specific runtime ids and replaced it with the linux one. If there's a reason to go back let me know.
Testing so far:
DotNetCoreCreateDebianPackage
target on osx/linuxdotnet fake build -- -t DotNetCoreCreateDebianPackage
sudo dpkg -i fake_5.0.0~rc004_amd64.deb ; sudo apt install -f -y
Things left to do