-
Notifications
You must be signed in to change notification settings - Fork 386
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
Provide private feed with official nightly build #403
Comments
Per offline discussion...I take this for first part, generate packages and upload to some nuget server. cc: @tonerdo |
Nightly feed: https://www.myget.org/feed/Packages/coverlet-dev |
closed in #425 |
Sorry re-open we'll close when documentation will be up-to-date |
@AArnott I did some check on nighly build and it works...there is one problem we would have a correct order inside vs on |
Absolutely. Nb.gv can help you here. Do you want semver v1 compatible or go for v2? |
I'll go ahead and ask this too. Why nightly? Why not just published everything from your CI? |
I think we go for v2 but wait @tonerdo confirmation
The idea is to release a new "beta" package version every day we have new "commit" on master. We could schedule a build at 00.00 of master, publish prerelase artifacts and remove current script, is this your idea? |
No reason for the git hash to be part of your package versions. Those are only added to guarantee uniqueness when building in anything other than your shipping branch(es). Your "nightly" build would presumably come from master, so you wouldn't need the hash. It can instead be a git height based integer, which will ensure you get the ordering right, which you voiced a concern about. I don't think you need a nightly build. Your build is already super-fast, so just do everything in a CI. Then you can create an Azure Pipeline release that automatically pushes to your myget feed. The release can also have an environment defined for nuget.org. You can schedule that release to run every night at midnight if you want to keep myget current, and then when you want to publicize a release further you can take that same release and publish to your 'nuget.org' environment. Then as you decide to stabilize for a (non pre-)release, the flow I recommend is that you us |
How we can know which |
|
Thank's @AArnott for advice! |
Actually, In the meantime, how do you feel about moving your versioning to a major.minor.height pattern? |
I'm fixing "nightly release" with new versioning, I think could work for coverlet we could move only major.minor by hand and use automatic height for PATCH, I like it. |
I've fixed it so it works great in your repo even with a.b.c versions specified in version.json. Those fixes were long overdue and are available in
That said, it sounds like you're considering removing the PATCH version from version.json, leaving just major.minor, which serves a lot of folks well, and will allow version numbers to be more precise (because both patch and revision integers in an assembly file version can be used to pinpoint the exact commit). |
Only to track simple links at the moment we don't have the gallery enabled https://www.myget.org/feed/coverlet-dev/package/nuget/coverlet.msbuild |
We should provide official nightly build to allow users to consume fix/features ASAP and avoid to release official nuget packages, this help for some reason to me:
New features fix could be "tested" in real project, for instance corefx codebase could pickup nuget package from private feed and do feedback very quick, corefx is used every day by a lot of dev(@ViktorHofer).
Adding documetation for VSTest Integration #402 We are about to become
The cross platform solution for Code Coverage generation for .NET Core projects(in a consistent manner).
likely a lot of user will use coverlet from non win system.DataCollector
will be picked up as nuget package, with private feed they can simply updatePackageReference
add private feed and consume fix/features in a fast way(@vagisha-nidhi).We could start using:
BTW I don't know if foundation could help with better choice cc: @onovotny
Maybe azure blob storage?
@tonerdo I propose also to move CI to Azure Pipelines, I found command trigger very useful to re-run pipeline https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#comment-triggers at the moment I cannot re-run appveyor CI from PR, I don't know if it's supported.
/cc @tonerdo @petli
The text was updated successfully, but these errors were encountered: