openubmc-bingo 0.6.9__py3-none-any.whl → 0.6.11__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of openubmc-bingo might be problematic. Click here for more details.

bmcgo/__init__.py CHANGED
@@ -9,4 +9,4 @@
9
9
  # MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
10
10
  # See the Mulan PSL v2 for more details.
11
11
 
12
- __version__ = '0.6.9'
12
+ __version__ = '0.6.11'
bmcgo/cli/cli.py CHANGED
@@ -242,8 +242,9 @@ class Command(object):
242
242
  """HIDDEN: entry point for executing commands, dispatcher to class
243
243
  methods
244
244
  """
245
- if not self._check_conan() or not self._check_conan_profile():
245
+ if not self._check_conan():
246
246
  return 1
247
+ self._check_conan_profile
247
248
  try:
248
249
  command = args[0][0]
249
250
  except IndexError: # No parameters
@@ -313,13 +314,12 @@ class Command(object):
313
314
  def _check_conan_profile(self):
314
315
  profile_dir = os.path.join(tools.conan_home, "profiles")
315
316
  if os.path.isdir(profile_dir):
316
- return True
317
+ return
317
318
 
318
319
  if misc.conan_v2():
319
- log.warning("检测到依赖conan2.0但未正确初始化,请切换到产品仓执行一次构建,以安装和配置工具链")
320
+ log.info("检测到依赖conan2.0但未正确初始化,需要切换到产品仓执行一次构建,以安装和配置工具链")
320
321
  else:
321
- log.warning("检测到依赖conan1.0但未正确初始化,请切换到产品仓执行一次构建,以安装和配置工具链")
322
- return False
322
+ log.info("检测到依赖conan1.0但未正确初始化,需要切换到产品仓执行一次构建,以安装和配置工具链")
323
323
 
324
324
  def _check_conan(self):
325
325
  need_conan_v2 = False
@@ -699,7 +699,7 @@ class TaskClass(Task):
699
699
  graph_cmd = f"conan graph info . {base_cmd} -f json --lockfile={self.lockfile} --out-file={self.graphfile}"
700
700
  self.run_command(graph_cmd)
701
701
  self.success(f"start build dependency packages of {self.config.board_name}")
702
- bcp = BuildConans(self.graphfile, self.graphfile, base_cmd, self.config.from_source, self.config.log_path)
702
+ bcp = BuildConans(self.graphfile, self.lockfile, base_cmd, self.config.from_source, self.config.log_path)
703
703
  bcp.build()
704
704
 
705
705
  cmd = f"conan create . {base_cmd} --build=missing"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: openubmc-bingo
3
- Version: 0.6.9
3
+ Version: 0.6.11
4
4
  Summary: Tools provided by openubmc
5
5
  Home-page: https://openubmc.cn
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,4 +1,4 @@
1
- bmcgo/__init__.py,sha256=H1vNju-JkVTTHzbQe3YxQWPLnjMc71rbXm0aiozfv0M,561
1
+ bmcgo/__init__.py,sha256=f9jG-AQzuUOV5FcUHlWTuKHojRVWOYy0WRWLjzY7f68,562
2
2
  bmcgo/bmcgo.py,sha256=uD4TsfjrFB5aQPIS6WRUVc9ShXX-dSImY9ezkB13g1w,685
3
3
  bmcgo/bmcgo_config.py,sha256=-HZcTsnccE5wUsgGJ59kq8sDdu8feftIbpyoFvyvBhU,11264
4
4
  bmcgo/errors.py,sha256=QW1ndrJcJ2Ws7riOznPKVvZsNlrYk73eZol7w8gJTPU,3076
@@ -7,7 +7,7 @@ bmcgo/logger.py,sha256=rcMqJnyQ5Ag3k04KLEskrG8ZJ508OOU_JH4fMFiGOqQ,6644
7
7
  bmcgo/misc.py,sha256=w0vzsD7uzrsxTly5Y1viLgYTKHhLP4sxa499XwbqHnU,6986
8
8
  bmcgo/worker.py,sha256=OXz5Gam3pmZjgQeoGJrYy73ZrQszCOxk9X19nbeBI_A,15710
9
9
  bmcgo/cli/__init__.py,sha256=BDXz8BcSlCkfo5UYt6j2rm89-HiYA1ZzfpFhy99MH-0,538
10
- bmcgo/cli/cli.py,sha256=kuNrwKpg5Zbi9TG0jhlObkAJ3xJtj35sBIh-q2bmlyU,25583
10
+ bmcgo/cli/cli.py,sha256=KhencIa6l77zCkf9ssxCG3kmK1O2u0RsK-Ge_AJly-Y,25556
11
11
  bmcgo/cli/config.conan2.yaml,sha256=SAtM_6_qOjZbkgUT5fzWbhbq4aWCayqE8o4xJ2vBRww,261
12
12
  bmcgo/cli/config.yaml,sha256=tbnFhz2TTrl2-ALpHHujbXB1ymZpjGC4f0zTfqfUZfM,194
13
13
  bmcgo/codegen/__init__.py,sha256=eplRBfR_obzVWMQtIeX1RRq6DOEezBx_l1EqcZYLRPM,775
@@ -224,7 +224,7 @@ bmcgo/tasks/__init__.py,sha256=VapgzhPMmB7dzPIRohoVm1jjfVn_v97cYNCRmkxScaU,539
224
224
  bmcgo/tasks/download_buildtools_hm.py,sha256=f4UxStARc8Z8DnT_5O6ONajQ7P0sKyJ8brixr43fHVQ,5988
225
225
  bmcgo/tasks/misc.py,sha256=GK_bSDLGZW0FxywB2ICG1iIEz2y2QoCb1YQQk8SYOIA,711
226
226
  bmcgo/tasks/task.py,sha256=ayh9mxKKLtk2XKzjqXOl6Pe8fcg7S1nTks153hKT9Rw,18321
227
- bmcgo/tasks/task_build_conan.py,sha256=u0Qwp_R9nFpAc5ZAX6Gw9ojm_qhxaewea50_e8008Lk,49971
227
+ bmcgo/tasks/task_build_conan.py,sha256=euVymOxVKwCv4FJMAh_dPU-Ii0WujWIXdg_I5l8Cj-A,49970
228
228
  bmcgo/tasks/task_build_rootfs_img.py,sha256=JKEvldJnLWu2IdVSntuVowocQwdVtBQUpxzhplYauPI,29209
229
229
  bmcgo/tasks/task_build_wbd_up.py,sha256=X9-0Qqad-s3mGfJBMeBQvfZ99KlWcgaMluDr_zv6Z-o,3122
230
230
  bmcgo/tasks/task_buildgppbin.py,sha256=epBxxrYFPgoTzpBgPzSRXcUs-ia_BJWsLGflylEJS7I,6614
@@ -264,8 +264,8 @@ bmcgo/utils/installations/install_plans/qemu.yml,sha256=lT7aKag60QUH6hTGFKa3hGRq
264
264
  bmcgo/utils/installations/install_plans/studio.yml,sha256=APR3GM-3Q11LFfe8vh7t3LztDn4LLEpNHRUNjkaVekA,143
265
265
  bmcgo/utils/installations/installers/apt_installer.py,sha256=nPaCb4cobSi9InN_aHsEPtQ0k4FgsCUWE5_VgBPvcRE,3769
266
266
  bmcgo/utils/installations/installers/pip_installer.py,sha256=dDdios1EQ7fzt90r02pZeoM3jCmjslLzkSvzd2hgRVM,3241
267
- openubmc_bingo-0.6.9.dist-info/METADATA,sha256=dR-Pnq-u-cJmQ3sYwM3AI0-v7cLHM2Z6qZxDk9oIY-o,1009
268
- openubmc_bingo-0.6.9.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
269
- openubmc_bingo-0.6.9.dist-info/entry_points.txt,sha256=UUoUP-vAWTgg9vEYbRwYqOBHgpRtkngdzMPb-ocz90g,42
270
- openubmc_bingo-0.6.9.dist-info/top_level.txt,sha256=9AcvCAt1nZcOgMsGt6T07mg2Bgtdet-3mHTwg91axgI,6
271
- openubmc_bingo-0.6.9.dist-info/RECORD,,
267
+ openubmc_bingo-0.6.11.dist-info/METADATA,sha256=GwLK6z6A84kM7Yl82K0fVA31QClRhg6EIKLJGuYubhI,1010
268
+ openubmc_bingo-0.6.11.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
269
+ openubmc_bingo-0.6.11.dist-info/entry_points.txt,sha256=UUoUP-vAWTgg9vEYbRwYqOBHgpRtkngdzMPb-ocz90g,42
270
+ openubmc_bingo-0.6.11.dist-info/top_level.txt,sha256=9AcvCAt1nZcOgMsGt6T07mg2Bgtdet-3mHTwg91axgI,6
271
+ openubmc_bingo-0.6.11.dist-info/RECORD,,