Coder Social home page Coder Social logo

Comments (4)

isaacabraham avatar isaacabraham commented on July 19, 2024

Better to improve the existing one than have two surely?

  • "replace the bootstrapper" - what does this mean?
  • cache paket on agent - this will probably be difficult (impossible?) to do since as far as I'm aware there's no way to keep the same physical agent across builds / releases. The only way to do this as far as I know (and we've done this) is to host our own VM and install the ADO build agent on it.
  • credential manager - that would be great - integrating that into the main task and just have it run "automatically" would be way better than having multiple tasks.

from vsts-fsharp.

matthid avatar matthid commented on July 19, 2024

"replace the bootstrapper" - what does this mean?

It means the task doesn't run the bootstrapper on the agent because the task is downloading paket

cache paket on agent - this will probably be difficult (impossible?) to do since as far as I'm aware there's no way to keep the same physical agent across builds / releases.

While that is true, there is a task library api to cache tools between runs, maybe they use it for internal optimizations. But it definitely optimizes the scenario where you run your own agents.

that would be great - integrating that into the main task and just have it run "automatically" would be way better than having multiple tasks.

Yep that one is probably a no-brainer.

However, is investing the time worth it? What I have noticed is that the fake-task is already enough for the general use-case. It already does setup everything and you don't really need any paket task at all.

from vsts-fsharp.

isaacabraham avatar isaacabraham commented on July 19, 2024

It means the task doesn't run the bootstrapper on the agent because the task is downloading paket

Nice to have this feature but is it really needed - with magic mode you just replace the bootstrapper to paket.exe anyway?

While that is true, there is a task library api to cache tools between runs, maybe they use it for internal optimizations. But it definitely optimizes the scenario where you run your own agents.

When you run your own agent paket is cached on the machine anyway, so it just works.

However, is investing the time worth it? What I have noticed is that the fake-task is already enough for the general use-case. It already does setup everything and you don't really need any paket task at all.

What about people that don't use FAKE at all and just want to use Paket in isolation - I think having the separation and ability to choose one or the other is a good thing. Of course, we could also just say that if you use FAKE, then you don't need the Paket task at all?

from vsts-fsharp.

matthid avatar matthid commented on July 19, 2024

What about people that don't use FAKE at all and just want to use Paket in isolation

Yep even in those scenarios I'm not sure a separate task gives any advantages: As paket is integrated in the dotnet build process you can just use the "setup paket credential manager" task and run dotnet build, why add another task if you might need the "setup" task anyway? So we are only really tasking about legacy project format then...

from vsts-fsharp.

Related Issues (16)

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.