Comments (5)
@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.
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.
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.
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.
See here for a full implementation if you want to use git ls-remote
.
from mint.
Related Issues (20)
- Allow custom scripts in the Mintfile
- Running (or rather, building) swiftlint 0.50.0-rc.1 fails HOT 4
- Mint 0.17.3 isn't available on brew HOT 1
- i can't install mint HOT 5
- Cannot install IBLinter with latest Mint HOT 1
- `mint run`, but referring to SPM executable name, instead of GitHub repo name? HOT 1
- Support Artifact Bundle
- Cannot find bundle with Bundle.module HOT 5
- mint does not fail when Mintfile does not exists at the specified path HOT 2
- Enable locking versions in `Mintfile.lock` or sth similar HOT 4
- mint which usage HOT 1
- _InternalSwiftSyntaxParser (no such module '_InternalSwiftSyntaxParser')
- Mint doesn't install dependencies HOT 1
- add `cleanup` command
- Having an issue while installing mint on Mac M2 Pro HOT 5
- Add Swift 5.9 support HOT 2
- Can `mint run` be used without an internet connection? HOT 2
- Force mint run to use locally installed version HOT 4
- Brew version vs latest commit on repo are different. What's the plan?
- Installing from version ranges
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 mint.