Version rules
A version in plinto.conf is matched against what your version group has, and must match exactly one release. There are no ranges and no "latest".
| You write | It matches |
|---|---|
Guava = 33.7.2-jre |
that version |
MyLib = 1.0 |
the newest release of the line 1.0 the group pins (1.0-4) |
Java = 25 |
the release the group's pointer 25 points at (25.0.4.10.1) |
A pointer is checked first: when the group points Java 25 somewhere, Java = 25 means that release.
What doesn't match:
- A prefix.
Java = 25.0doesn't match25.0.4.10.1, unless the group points25.0there. - A version the group doesn't have. The error says what it has:
HelloApp needs Guava 34, but version group main pins Guava 33.7.2-jre
To get it, import it into the group, then plinto update.
Pointers
The group keeps them: in the Groups app, Point a line of … points a line such as 25 at one of the group's releases. A line is letters, digits and dots, such as 25, 4.x or v0. An import moves a pointer only when you ask, with --point 25.
On a package's page in the Code app, Point a version points a line in the group the package follows, at any of its versions: one the group doesn't have yet is built into it at its commit as the line moves, an import reusing its release.