Opened 8 years ago

Closed 8 years ago

#17857 closed enhancement (fixed)

enhanced "sage -version" script

Reported by: Vincent Delecroix Owned by:
Priority: minor Milestone: sage-6.6
Component: scripts Keywords:
Cc: Thierry Monteil, Nathann Cohen Merged in:
Authors: Vincent Delecroix Reviewers: Volker Braun
Report Upstream: N/A Work issues:
Branch: 79ff780 (Commits, GitHub, GitLab) Commit: 79ff78075af9151d3516f3e367c82cdf0dfcfac0
Dependencies: Stopgaps:

Status badges

Description

Add the option -dumpversion to the Sage command line to print only the Sage version

$ sage -version
Sage Version 6.6.beta1, Release Date: 2015-02-21
$ sage -dumpversion
6.6.beta1

We also simplify the sage -version part by reading the file sage-version.sh instead of parsing sage-banner!!

Change History (4)

comment:1 Changed 8 years ago by Vincent Delecroix

Branch: u/vdelecroix/17857
Commit: 76687a4059aaba6f8890f060fbd24d939f3bed0f
Priority: majorminor
Status: newneeds_review

New commits:

76687a4trac #17857: enhanced "sage -version"

comment:2 Changed 8 years ago by git

Commit: 76687a4059aaba6f8890f060fbd24d939f3bed0f79ff78075af9151d3516f3e367c82cdf0dfcfac0

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

79ff780trac #17857: enhanced "sage -version"

comment:3 Changed 8 years ago by Volker Braun

Reviewers: Volker Braun
Status: needs_reviewpositive_review

comment:4 Changed 8 years ago by Volker Braun

Branch: u/vdelecroix/1785779ff78075af9151d3516f3e367c82cdf0dfcfac0
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.