tools/stx
Scott Little d98a34ad1b import-stx: Avoid divide by zero
Fix a divide by zero error seen when the number_of_users
function returns zero.

At issue is that 'users' only counts logins, and can miss
builds running under automation such as jenkins.

Add code to detect potential automation accounts, just
jenkins so far, and to always return a value greater than
zero.

Also adding a few .gitignore entries for files generated by
stx build related scripts.

Closes-bug: 1959606
Signed-off-by: Scott Little <scott.little@windriver.com>
Change-Id: I1369aa159088a17c24cc996be1ef2d36ecdc9cf6
2022-01-31 13:17:16 -05:00
..
bin stx tool: Initial the stx tool for starlingx debian building 2021-06-10 21:55:18 -04:00
dockerfiles Merge "pkgbuilder: Support 'jobs' option and tmpfs directory" 2022-01-15 05:14:01 +00:00
lib/stx import-stx: Avoid divide by zero 2022-01-31 13:17:16 -05:00
stx-build-tools-chart/stx-builder stx tool: Add the env variable CENGN_STRATEGY 2022-01-26 04:13:06 -05:00
toCOPY pkgbuilder: Set the local repo with high priority in chroot 2022-01-28 19:32:38 +08:00