[yt-svn] commit/yt: 5 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue May 6 12:11:04 PDT 2014


5 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/494efc45d23a/
Changeset:   494efc45d23a
Branch:      yt-3.0
User:        chummels
Date:        2013-12-12 21:43:35
Summary:     Adding command-line argument: "version" which mirrors "instinfo".  Changed both to include the actual yt version along with the changeset.
Affected #:  1 file

diff -r 7026b9ddfc20c9f9f05e654fdbf84c89a42007d1 -r 494efc45d23a5f5ebf1b54047045d8c87c79bd50 yt/utilities/command_line.py
--- a/yt/utilities/command_line.py
+++ b/yt/utilities/command_line.py
@@ -1037,7 +1037,7 @@
         mpd.upload()
 
 class YTInstInfoCmd(YTCommand):
-    name = "instinfo"
+    name = ["instinfo", "version"]
     args = (
             dict(short="-u", long="--update-source", action="store_true",
                  default = False,
@@ -1055,6 +1055,7 @@
 
     def __call__(self, opts):
         import pkg_resources
+        import yt
         yt_provider = pkg_resources.get_provider("yt")
         path = os.path.dirname(yt_provider.module_path)
         print
@@ -1071,10 +1072,11 @@
         vstring = get_yt_version()
         if vstring is not None:
             print
-            print "The current version of the code is:"
+            print "The current version and changeset for the code is:"
             print
             print "---"
-            print vstring.strip()
+            print "Version = %s" % yt.__version__
+            print "Changeset = %s" % vstring.strip()
             print "---"
             print
             if "site-packages" not in path:
@@ -1614,6 +1616,7 @@
 
     def __call__(self, opts):
         import pkg_resources
+        import yt
         yt_provider = pkg_resources.get_provider("yt")
         path = os.path.dirname(yt_provider.module_path)
         print
@@ -1631,10 +1634,11 @@
         if "site-packages" not in path:
             vstring = get_hg_version(path)
             print
-            print "The current version of the code is:"
+            print "The current version and changeset for the code is:"
             print
             print "---"
-            print vstring.strip()
+            print "Version = %s" % yt.__version__
+            print "Changeset = %s" % vstring.strip()
             print "---"
             print
             print "This installation CAN be automatically updated."


https://bitbucket.org/yt_analysis/yt/commits/164f0ac5db8c/
Changeset:   164f0ac5db8c
Branch:      yt-3.0
User:        chummels
Date:        2014-04-16 01:23:28
Summary:     Adding 'version' to command line arguments.  Shows current yt version and changeset.
Affected #:  1 file

diff -r 5acca4b24803da91accfcb8937aed96432fe7edd -r 164f0ac5db8c94fd21cdea7254d3904b955e4848 yt/utilities/command_line.py
--- a/yt/utilities/command_line.py
+++ b/yt/utilities/command_line.py
@@ -1037,7 +1037,7 @@
         mpd.upload()
 
 class YTInstInfoCmd(YTCommand):
-    name = "instinfo"
+    name = ["instinfo", "version"]
     args = (
             dict(short="-u", long="--update-source", action="store_true",
                  default = False,
@@ -1055,6 +1055,7 @@
 
     def __call__(self, opts):
         import pkg_resources
+        import yt
         yt_provider = pkg_resources.get_provider("yt")
         path = os.path.dirname(yt_provider.module_path)
         print
@@ -1071,10 +1072,11 @@
         vstring = get_yt_version()
         if vstring is not None:
             print
-            print "The current version of the code is:"
+            print "The current version and changeset for the code is:"
             print
             print "---"
-            print vstring.strip()
+            print "Version = %s" % yt.__version__
+            print "Changeset = %s" % vstring.strip()
             print "---"
             print
             if "site-packages" not in path:
@@ -1605,6 +1607,7 @@
 
     def __call__(self, opts):
         import pkg_resources
+        import yt
         yt_provider = pkg_resources.get_provider("yt")
         path = os.path.dirname(yt_provider.module_path)
         print
@@ -1622,10 +1625,11 @@
         if "site-packages" not in path:
             vstring = get_hg_version(path)
             print
-            print "The current version of the code is:"
+            print "The current version and changeset for the code is:"
             print
             print "---"
-            print vstring.strip()
+            print "Version = %s" % yt.__version__
+            print "Changeset = %s" % vstring.strip()
             print "---"
             print
             print "This installation CAN be automatically updated."


https://bitbucket.org/yt_analysis/yt/commits/630afb72876c/
Changeset:   630afb72876c
Branch:      yt-3.0
User:        chummels
Date:        2014-04-17 02:01:48
Summary:     Merging.
Affected #:  1 file



https://bitbucket.org/yt_analysis/yt/commits/d14062d109ec/
Changeset:   d14062d109ec
Branch:      yt-3.0
User:        chummels
Date:        2014-04-18 22:25:06
Summary:     Merging.
Affected #:  1 file



https://bitbucket.org/yt_analysis/yt/commits/3d177b90d3d6/
Changeset:   3d177b90d3d6
Branch:      yt-3.0
User:        chummels
Date:        2014-05-06 21:10:57
Summary:     Merged chummels/yt/yt-3.0 into yt-3.0
Affected #:  1 file

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list