Giter VIP home page Giter VIP logo

Comments (5)

SDGGiesbrecht avatar SDGGiesbrecht commented on May 7, 2024 1

@yonaskolb, you can get the version list from git ls‐remote --tags without recloning the whole repository.

(All you have to do is sort the versions.)

from mint.

yonaskolb avatar yonaskolb commented on May 7, 2024

This would also resolve #12 in a brute force way.
What we would lose out on is the download time each time you update, but I guess Swift PM projects aren't usually that big so it's not a huge issue

from mint.

yonaskolb avatar yonaskolb commented on May 7, 2024

One question to consider now though is what happens when mint run is called without a specific version. Because we don't have the repo cached we can't get the latest tag, which means the whole repo will have to be downloaded again.

We either leave it like this, or assume "master" which make the behaviour different from run and install/update

from mint.

yonaskolb avatar yonaskolb commented on May 7, 2024

I think I'm just going to leave it as it is and document that leaving the version out will require a git clone

from mint.

SDGGiesbrecht avatar SDGGiesbrecht commented on May 7, 2024

See here for a full implementation if you want to use git ls-remote.

from mint.

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.