Coder Social home page Coder Social logo

Comments (13)

denelon avatar denelon commented on May 17, 2024 5

🛳

from winget-create.

palenshus avatar palenshus commented on May 17, 2024 3

Yep, we used "preview" to indicate the all the preview releases, but once we hit 1.0, we'd switch to /v1 or /1x or maybe just /1 for all the 1 major version releases, then /2, etc. "latest" will always point to the latest release, breaking change or not.

Okay, sounds like we're all on board with the implementation, I'll PR it

from winget-create.

JanDeDobbeleer avatar JanDeDobbeleer commented on May 17, 2024 1

In case anyone stumbles upon this in the meantime, I created the following workaround.

from winget-create.

denelon avatar denelon commented on May 17, 2024 1

Thanks for sharing @JanDeDobbeleer

from winget-create.

JanDeDobbeleer avatar JanDeDobbeleer commented on May 17, 2024 1

My thoughts on this is that, when I install an executable, I expect it to be able to run standalone. However, I get the context. Making both available and leaving the choice to the consumer is the best way forward, next to adding the current requirements to the documentation (I just filed a PR for the current state).

from winget-create.

denelon avatar denelon commented on May 17, 2024 1

@JanDeDobbeleer we agree. Would you prefer that we convert this Issue into a Feature to capture that work, or close this bug and create a new feature to add a standalone .exe for the dependencies included version? We will continue to offer both based on your feedback 😊

from winget-create.

JanDeDobbeleer avatar JanDeDobbeleer commented on May 17, 2024 1

@denelon how you handle this in regards to ticketing is up to you (and what works best). I'm not attached to this issue outside the context of looking for a solution. I would only add a reference here in case you create a new feature/roadmap issue (people always tend to end up in the closed one 😅).

from winget-create.

JanDeDobbeleer avatar JanDeDobbeleer commented on May 17, 2024 1

Off topic, but nonetheless, we need a ship emoji reaction for this vibe.

from winget-create.

palenshus avatar palenshus commented on May 17, 2024

Thanks for filing @JanDeDobbeleer! We made a conscious decision to publish a non-self-contained binary as we felt users would be running on machines with .NET installed. Adding self-contained changes the exe size from 31MB to 91MB. We could re-evaluate this though, or possibly publish a second, self-contained, exe. @denelon / @KevinLaMS, thoughts?

from winget-create.

palenshus avatar palenshus commented on May 17, 2024

I'm torn on how to do this elegantly. Right now our release has wingetcreate.exe, and two aka urls that point to it:

https://aka.ms/wingetcreate/latest
https://aka.ms/wingetcreate/preview

I could add another exe, and two more aka.ms urls, like this: wingetcreate-self-contained.exe, and

https://aka.ms/wingetcreate/latest/self-contained
https://aka.ms/wingetcreate/preview/self-contained

That doesn't feel particularly elegant to me, so if anyone has a better idea let me know, otherwise I'll go ahead with that. Thanks!

from winget-create.

palenshus avatar palenshus commented on May 17, 2024

Here's what that would look like. https://microsoft.visualstudio.com/Apps/_build/results?buildId=35532464&view=artifacts&pathAsName=false&type=publishedArtifacts

from winget-create.

JanDeDobbeleer avatar JanDeDobbeleer commented on May 17, 2024

@palenshus I don't necessarily mind that approach. You do have 4 artifacts. The alternative is working with query params which is also weird...

from winget-create.

denelon avatar denelon commented on May 17, 2024

@palenshus at some point we may have breaking changes, Is the thinking to keep the URLs above and add a version number in the future? It's a pile of URLs to maintain, but it seems to be helpful. If we start to exceed the limits of GitHub for hosting the releases, we could move the artifacts to another CDN in the future.

I agree with @JanDeDobbeleer on avoiding the query parameters.

https://aka.ms/wingetcreate/1/latest

from winget-create.

Related Issues (20)

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.