forked from platformio/platformio-core
Added a new "name" configuration option to customize a project name // Resolve #4498
This commit is contained in:
@ -17,10 +17,11 @@ PlatformIO Core 6
|
|||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
* Added support for Python 3.11
|
* Added support for Python 3.11
|
||||||
|
* Added a new `name <https://docs.platformio.org/en/latest/projectconf/sections/platformio/options/generic/description.html>`__ configuration option to customize a project name (`pull #4498 <https://github.com/platformio/platformio-core/pull/4498>`_)
|
||||||
* Made assets (templates, ``99-platformio-udev.rules``) part of Python's module (`issue #4458 <https://github.com/platformio/platformio-core/issues/4458>`_)
|
* Made assets (templates, ``99-platformio-udev.rules``) part of Python's module (`issue #4458 <https://github.com/platformio/platformio-core/issues/4458>`_)
|
||||||
* Updated `Clang-Tidy <https://docs.platformio.org/en/latest/plus/check-tools/clang-tidy.html>`__ check tool to v15.0.5 with new diagnostics and bugfixes
|
* Updated `Clang-Tidy <https://docs.platformio.org/en/latest/plus/check-tools/clang-tidy.html>`__ check tool to v15.0.5 with new diagnostics and bugfixes
|
||||||
* Removed dependency on the "zeroconf" package and install it only when a user lists mDNS devices (issue with zeroconf's LGPL license)
|
* Removed dependency on the "zeroconf" package and install it only when a user lists mDNS devices (issue with zeroconf's LGPL license)
|
||||||
* Show the real error message instead of "Can not remove temporary directory" when "platform.ini" is broken (`issue #4480 <https://github.com/platformio/platformio-core/issues/4480>`_)
|
* Show the real error message instead of "Can not remove temporary directory" when |PIOCONF| is broken (`issue #4480 <https://github.com/platformio/platformio-core/issues/4480>`_)
|
||||||
|
|
||||||
6.1.5 (2022-11-01)
|
6.1.5 (2022-11-01)
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
2
docs
2
docs
Submodule docs updated: 5a88ddffa3...5b7d5d4998
@ -82,7 +82,9 @@ class ProjectGenerator:
|
|||||||
tpl_vars = {
|
tpl_vars = {
|
||||||
"config": self.config,
|
"config": self.config,
|
||||||
"systype": util.get_systype(),
|
"systype": util.get_systype(),
|
||||||
"project_name": os.path.basename(self.project_dir),
|
"project_name": self.config.get(
|
||||||
|
"platformio", "name", os.path.basename(self.project_dir)
|
||||||
|
),
|
||||||
"project_dir": self.project_dir,
|
"project_dir": self.project_dir,
|
||||||
"original_env_name": self.original_env_name,
|
"original_env_name": self.original_env_name,
|
||||||
"env_name": self.env_name,
|
"env_name": self.env_name,
|
||||||
|
@ -133,6 +133,11 @@ ProjectOptions = OrderedDict(
|
|||||||
#
|
#
|
||||||
# [platformio]
|
# [platformio]
|
||||||
#
|
#
|
||||||
|
ConfigPlatformioOption(
|
||||||
|
group="generic",
|
||||||
|
name="name",
|
||||||
|
description="A project name",
|
||||||
|
),
|
||||||
ConfigPlatformioOption(
|
ConfigPlatformioOption(
|
||||||
group="generic",
|
group="generic",
|
||||||
name="description",
|
name="description",
|
||||||
|
Reference in New Issue
Block a user