Removed "date&time" when processing project with "platformio run" command // Resolve #1343

This commit is contained in:
Ivan Kravets
2018-06-15 14:53:48 +03:00
parent 46a62de14c
commit 389783adae
2 changed files with 8 additions and 9 deletions

View File

@ -10,7 +10,9 @@ PlatformIO 3.0
* Don't export ``CPPPATH`` of project dependent libraries to frameworks * Don't export ``CPPPATH`` of project dependent libraries to frameworks
(`issue #1665 <https://github.com/platformio/platformio-core/issues/1665>`_) (`issue #1665 <https://github.com/platformio/platformio-core/issues/1665>`_)
* Handle "architectures" data from "library.properties" manifest in * Handle "architectures" data from "library.properties" manifest in
`lib_compat_mode = strict <http://docs.platformio.org/en/latest/librarymanager/ldf.html#compatibility-mode>`__ `lib_compat_mode = strict <http://docs.platformio.org/en/page/librarymanager/ldf.html#compatibility-mode>`__
* Removed "date&time" when processing project with `platformio run <http://docs.platformio.org/page/userguide/cmd_run.html>`__ command
(`issue #1343 <https://github.com/platformio/platformio-core/issues/1343>`_)
* Fixed issue with invalid LD script if path contains space * Fixed issue with invalid LD script if path contains space
3.5.3 (2018-06-01) 3.5.3 (2018-06-01)
@ -28,7 +30,7 @@ PlatformIO 3.0
(`issue #1612 <https://github.com/platformio/platformio-core/issues/1612>`_) (`issue #1612 <https://github.com/platformio/platformio-core/issues/1612>`_)
* Configure a custom path to SVD file using `debug_svd_path <http://docs.platformio.org/page/projectconf/section_env_debug.html#debug-svd-path>`__ * Configure a custom path to SVD file using `debug_svd_path <http://docs.platformio.org/page/projectconf/section_env_debug.html#debug-svd-path>`__
option option
* Custom project `description <http://docs.platformio.org/en/latest/projectconf/section_platformio.html#description>`_ * Custom project `description <http://docs.platformio.org/en/page/projectconf/section_platformio.html#description>`_
which will be used by `PlatformIO Home <http://docs.platformio.org/page/home/index.html>`_ which will be used by `PlatformIO Home <http://docs.platformio.org/page/home/index.html>`_
* Updated Unity tool to 2.4.3 * Updated Unity tool to 2.4.3
* Improved support for Black Magic Probe in "uploader" mode * Improved support for Black Magic Probe in "uploader" mode
@ -54,9 +56,9 @@ PlatformIO 3.0
- Multiple themes (Dark & Light) - Multiple themes (Dark & Light)
- Ability to specify a name for new project - Ability to specify a name for new project
* Control `PIO Unified Debugger <http://docs.platformio.org/en/latest/plus/debugging.html>`__ * Control `PIO Unified Debugger <http://docs.platformio.org/en/page/plus/debugging.html>`__
and its firmware loading mode using and its firmware loading mode using
`debug_load_mode <http://docs.platformio.org/en/latest/projectconf/section_env_debug.html#debug-load-mode>`__ option `debug_load_mode <http://docs.platformio.org/en/page/projectconf/section_env_debug.html#debug-load-mode>`__ option
* Added aliases (off, light, strict) for * Added aliases (off, light, strict) for
`LDF Compatibility Mode <http://docs.platformio.org/page/librarymanager/ldf.html>`__ `LDF Compatibility Mode <http://docs.platformio.org/page/librarymanager/ldf.html>`__
* Search for a library using PIO Library Registry ID ``id:X`` (e.g. ``pio lib search id:13``) * Search for a library using PIO Library Registry ID ``id:X`` (e.g. ``pio lib search id:13``)

View File

@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from datetime import datetime
from hashlib import sha1 from hashlib import sha1
from os import getcwd, makedirs, walk from os import getcwd, makedirs, walk
from os.path import getmtime, isdir, isfile, join from os.path import getmtime, isdir, isfile, join
@ -197,10 +196,8 @@ class EnvironmentProcessor(object):
"%s: %s" % (k, ", ".join(util.parse_conf_multi_values(v)))) "%s: %s" % (k, ", ".join(util.parse_conf_multi_values(v))))
if not self.silent: if not self.silent:
click.echo("[%s] Processing %s (%s)" % click.echo("Processing %s (%s)" % (click.style(
(datetime.now().strftime("%c"), self.name, fg="cyan", bold=True), "; ".join(env_dump)))
click.style(self.name, fg="cyan", bold=True),
"; ".join(env_dump)))
click.secho("-" * terminal_width, bold=True) click.secho("-" * terminal_width, bold=True)
self.options = self._validate_options(self.options) self.options = self._validate_options(self.options)