typetools / typetools/checker-framework

Display hg revision in version information of non-release builds

Open
#229 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
1.1k
Forks
440
Avg merge
1d 12h
Merged PRs (30d)
134

Description

Calling "javac -version" currently displays something like:

javac 1.7.0-jsr308-1.6.4

Regardless of how many commits happened in the jsr308-langtools or 
checker-framework repositories since the last release.
For non-release builds it would be useful to additionally display parts of the 
output of "hg tip", e.g.

javac 1.7.0-jsr308-1.6.4 (dev build; jsr308-langtools: 051b0d96ed42 
checker-framework: 22d84fc38c4f)

Original issue reported on code.google.com by wdi...@gmail.com on 15 Jun 2013 at 1:24

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the implementation and build/version-generation path behind javac -version, then inspect how version information is supplied by the jsr308-langtools and checker-framework repositories. Done means non-release builds include the requested repository revisions while release builds retain their existing version output.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.