Skip to content

Dart version CLI option #1718

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DartBot opened this issue Feb 16, 2012 · 9 comments
Closed

Dart version CLI option #1718

DartBot opened this issue Feb 16, 2012 · 9 comments
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. type-enhancement A request for a change that isn't a bug
Milestone

Comments

@DartBot
Copy link

DartBot commented Feb 16, 2012

This issue was originally filed by [email protected]


It is difficult to identify which version of Dart is installed. Normally, programming languages include a -v, -version, and/or --version CLI option.

$ dart -version
Unable to find '-version'
=$ dart -v
Unable to find '-v'
$ dart --version
dart [<vm-flags>] <dart-script-file> [<dart-options>]

Version numbers are important for resolving bugs and API compatibility issues. Could we add a version flag?

@sethladd
Copy link
Contributor

Removed Type-Defect label.
Added Type-Enhancement, Area-VM, Triaged labels.

@iposva-google
Copy link
Contributor

Carl, can you please work with Siva to find a solution that works both for users of the standard tool chain (SVN) and at least does not break for git users?


cc @a-siva.
Set owner to @lexprfuncall.
Added Accepted label.

@iposva-google
Copy link
Contributor

Grabbing as this involves coordinating with build system, buildbots and release process. I had quite a few conversations with Rico on this topic already. Carl, if I need a help with a git repo in this context I'll ping you.


cc @ricowind.
Set owner to @iposva-google.

@lexprfuncall
Copy link

Check for .git directory and "git svn info" will give you the same revision information you would otherwise get from svn itself.

$ git svn info
Path: .
URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Repository Root: https://dart.googlecode.com/svn
Repository UUID: 260f80e4-7a28-3924-810f-c04153c831b5
Revision: 11486
Node Kind: directory
Schedule: normal
Last Changed Author: [email protected]
Last Changed Rev: 11486
Last Changed Date: 2012-08-28 17:51:32 -0700 (Tue, 28 Aug 2012)

@iposva-google
Copy link
Contributor

Added this to the M1 milestone.

@iposva-google
Copy link
Contributor

Issue #3012 has been merged into this issue.

@iposva-google
Copy link
Contributor

Added Started label.

@iposva-google
Copy link
Contributor

dart --version
Dart VM version: 0.1.2.0_13630_iposva (Fri Oct 12 11:22:30 2012)


Added Fixed label.

@DartBot
Copy link
Author

DartBot commented Oct 12, 2012

This comment was originally written by [email protected]


Thanks!

@DartBot DartBot added Type-Enhancement area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. labels Oct 12, 2012
@DartBot DartBot added this to the M1 milestone Oct 12, 2012
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed type-enhancement labels Mar 1, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

5 participants