Code Monkey home page Code Monkey logo

build-scripts's People

Contributors

andrewrady avatar billbogaiv avatar czy5074 avatar kendaleiv avatar khalidabuhakmeh avatar lightyeare avatar schilco-rimdev avatar sobieck avatar tgharold avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

build-scripts's Issues

Use "new" symbol package format when publishing

🔧 Enhancement Request

For symbol deployments to NuGet, it no longer supports the *.symbols.nupkg format—versus the "newer" *.snupkg-format.

To accommodate this requirement, we can either wait until Cake publishes the update that includes cake-build/cake#3331 or manually modify the cake-scripts to include ArgumentCustomization re;

DotNetCorePack(clientProjectPath, new DotNetCorePackSettings
{
Configuration = configuration,
MSBuildSettings = new DotNetCoreMSBuildSettings().SetVersion(packageVersion),
NoBuild = true,
OutputDirectory = artifactsDir,
IncludeSymbols = true
});

Sample update

DotNetCorePack(clientProjectPath, new DotNetCorePackSettings
{
    Configuration = configuration,
    MSBuildSettings = new DotNetCoreMSBuildSettings().SetVersion(packageVersion),
    NoBuild = true,
    OutputDirectory = artifactsDir,
    IncludeSymbols = true,

    // New code...
    ArgumentCustomization = x => x.Append("-p:SymbolPackageFormat=snupkg")
});

Also ref. https://docs.microsoft.com/en-us/nuget/create-packages/symbol-packages-snupkg

Who is asking for the feature?

@billbogaiv

What business problem is this hoping to solve?

Improve debug experience when using packages—we'll be able to see "source-code" variable names (versus compiled-names), etc.

Look into centralizing some logic into published Cake addins

🔧 Enhancement Request

  • AddIn to calculate the version from version.txt combined with the CI build number
  • AddIn to find the solution file

(Alternately, find existing addins for these.)

Who is asking for the feature?

RIMdev

What business problem is this hoping to solve?

Reduce the amount of code in some of the .cake files, with unit tests wrapped around them.

Publish .snupkgs (nuget packages with debug symbols)

🔧 Enhancement Request

There's a newer .snupkgs file extension / format that we could be using instead.

https://blog.myget.org/post/2020/03/05/myget-nuget-symbols-snupkgs.html

Who is asking for the feature?

RIMdev

What business problem is this hoping to solve?

Provide debug symbols to the backend developers.

References

Suggested fix

from Creating symbol packages (.snupkg)

<PropertyGroup>
    <IncludeSymbols>true</IncludeSymbols>
    <SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

Note: This approach would require updating 8 or 9 projects that create Nuget packages. We may want to try and tackle it from the build script side first.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.