Comments (4)
@Vorlent can you clarify "has no concept of versions"?
do you mean, that dependencies always use HEAD? if yes, then that isn't the case. However, there are certainly improvements that can be made. It doesn't for example, do ranges. You can use a specific git tag/commit. For example...
https://github.com/WallarooLabs/wallaroo/blob/master/machida/bundle.json#L8
from pony-stable.
Okay I didn't know about the ability to specify versions inside tags.
Handling the minor and patch versions with tags this way is perfectly okay as long as the library does not have any breaking changes. But when backwards compatiblity is broken you need to be able to use two major versions of the same library in one program. Does pony-stable handle this in any way?
Let's take the pony-inspect library. Suddenly one day version 2.0.0 of pony-inspect is released. How do I use it via pony-stable?
Does pony-stable offer a solution beyond just putting the major version into the package name like this?
use "inspect"
use "inspect2"
from pony-stable.
you would change the version in your bundle.json to match the API you are using in your code:
{
"deps": [
{ "type": "github",
"repo": "jemc/pony-inspect",
"tag": "2.0.0"
}
]
}
you would version your bundle.json along with your changes to upgrade to whatever the API changes were for the new version of pony-inspect.
from pony-stable.
Ok. Thank you.
from pony-stable.
Related Issues (20)
- git submodules are not initialized on fetch
- Remove usage of `regex`
- Turn "regex" code back on in integration test
- Release 0.2.1 HOT 8
- Remove extra apt-get calls in circleci config
- Revisit how version is set HOT 2
- Update release process and release script to add new features
- Get a release into cloudsmith so ponyup works
- Appveyor setup doesn't trigger release
- Update Linux installation instructions
- Tack - 0.1.0 release HOT 3
- pony-stable Arch package seems broken for some CPUs HOT 3
- illegal hardware instruction HOT 3
- Add FreeBSD support
- "integration.Env(invalid bundle.json in nested dir)" test periodically fails HOT 3
- Release 0.1.5 and 0.1.6 HOT 19
- Release 0.2.0 HOT 15
- Use `cli` package to define the command line instead of deprecated `options` package HOT 1
- Syntax errors when trying to build from source on Windows 10 HOT 4
- Builds that contain cyclic dependencies cause an infinite loop HOT 2
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 pony-stable.