- About Scala
- In the Enterprise
- Scala Community
- Language Research
- In the Press
- The Scala Team
- Scala's Prehistory
- Contact Us
- Learning Scala
- Tour of Scala
- Scala API
- Setup & Getting Started
- Programming Guides
- Other Guides
- Code Examples
- Scala Developers
Re: tools/get-scala-revision.bat is broken
Sun, 2012-01-29, 22:30
On Sun, Jan 29, 2012 at 12:33 PM, iulian dragos wrote:
> The IDE only needs to have a monotonically increasing sequence of
> version numbers.
Where "increasing" is measured by...
If it figures out that 2.10 is later than 2.9 then I take it that it
> The date would be useful when dealing with daily snapshots, indeed.
> But it should come before the git hash, to ensure proper ordering.
That's what the "75" in the above is for. That's guaranteed to be
increasing for as long as it's describing against the same tag. It
would reset to 0 when we tag v2.10.0-M2, but I assume it figures out
that M2 is later than M1. Using the date doesn't even guarantee
proper ordering, because a commit can be dated earlier than its
parent, and if it's the date on which it was built it means even less
than the date of the commit.