Comments (10)
Punting GenerateFileFromTemplate for now. Unifying our templating syntaxes will likely be more contentious than DownloadFile and others.
from arcade.
@natemcmaster from the things that are under the ASP list, are those packages or scripts something we are going to move to Arcade because other repos will consume it?
@weshaggard I see that ILLinker is used in corefx, coreclr and source-build. Is the idea here to move the reference for the package to Arcade (probably SDK?) so that the repos that use it have the same version and configuration?
from arcade.
Since opening this, the following aspnet tasks have become first-class MSBuild tasks:
- ZipArchive (named Zip in MSBuild)
- UnzipArchive (named Unzip)
- DownloadFile
- ComputeChecksum (named GetFileHash)
The only remaining task which may be useful to share is GenerateFileFromTemplate. This is not currently available as a package, but is bundled in KoreBuild. I'd be happy to have this become part of MSBuild or an Arcade task library.
from arcade.
ILLinker is currently in an independent repo and at least for the time being should remain there. I expect that to be an option package that corefx/coreclr pull in and not be part of the SDK.
To get an idea of some of the buildtools -> arcade tasks you can check out our project board at https://github.com/dotnet/corefx/projects/3.
from arcade.
Thanks @natemcmaster . Could you elaborate more on the need and who will use GenerateFileFromTemplate?
from arcade.
To get an idea of some of the buildtools -> arcade tasks you can check out our project board at https://github.com/dotnet/corefx/projects/3.
Thanks for pointing me there @weshaggard . That helps to solve other questions.
from arcade.
We use GenerateFileFromTemplate for simple named-variable substitution during the build. We use it in a dozen or so places when we need to generate static content during build time. Example usage:
<GenerateFileFromTemplate TemplateFile="MyFile.cs.in" OutputPath="obj/MyFile.cs" Properties="Var=$(SomeValue)" />
// MyFile.cs.in
public class Class1
{
public string GetVar() => "${Var}";
}
from arcade.
That is #204.
from arcade.
Created issue #348 for porting Repack to Arcade
from arcade.
Looks like the items that should be tracked are being tracked. Closing
from arcade.
Related Issues (20)
- Update pipeline templates to use `NetCore1ESPool-Publishing-Internal` pool HOT 4
- Timeouts during `XHarness Android Helix Testing (Windows)` leg in PRs HOT 2
- Poison bot commit messages HOT 2
- `send-to-helix.yml` should support specifying the project path as a template parameter HOT 1
- [Feature request] Increase visibility of helix logs for passing tests HOT 8
- RIP out old VersionTools that is unneccessary
- Add a property to asset manifests for .NET Core owned packages HOT 1
- AsmDiff: unmanaged keyword getting confused with struct
- AsmDiff: RequiresPreviewAttribute not getting auto added
- Investigate migration to symbol.exe for symbol publishing HOT 3
- AzDO issue #5877 HOT 2
- Update release version in Generate-sbom.yml HOT 5
- Arcade release/7.0 PR failures HOT 1
- Add an initial implementation of the Arcade official templates, compatible with 1ES pipeline templates. HOT 4
- Avoid failing when GuardianConfiguration artifact already exists HOT 2
- 1ESPT conversion cleanup HOT 5
- Cannot use pwsh local tool with arcade HOT 2
- Use outputs and outputparentdirectory in the official Arcade templates to optimize Guardian scanning on artifact uploads
- XliffTasks compatibility to Multilingual App Toolkit HOT 1
- GenerateFileFromTemplate: allow a user-specified variable prefix string
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arcade.