Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12420] CLI: Change iOS logging calls from debug() to info() on full rebuilds

GitHub Issuen/a
TypeStory
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2013-01-27T02:26:27.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.2, Release 3.1.0, 2013 Sprint 02 JS, 2013 Sprint 02
ComponentsCLI
Labelscli, ios
ReporterTony Lukasavage
AssigneeChris Barber
Created2013-01-24T22:45:09.000+0000
Updated2017-03-14T18:36:16.000+0000

Description

Currently all the logging calls in the checkIfShouldForceRebuild() function in ios's \_build.js module are debug() calls. I feel that a forced rebuild has a large enough impact on build time that it merits listing the output as an info() call, so that developers will see it by default, rather than only when they increase their log level to "debug". Clarity on these messages can significantly improve the user experience as they provide good, actionable information.

Comments

  1. Tony Lukasavage 2013-01-24

    PR submitted: https://github.com/appcelerator/titanium_mobile/pull/3777
  2. Chris Barber 2013-01-26

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3796 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3797
  3. Chris Barber 2013-01-26

    To test: 1) create a project 2) build a project 3) change something like the in the tiapp.xml; fyi there are 26 different things that can trigger a rebuild 4) re-build the project 5) look for "forcing rebuild: "; each line should be an "info" line, not "debug"
  4. Lee Morris 2017-03-14

    Closing ticket as fixed.

JSON Source