Commit Graph

106 Commits

Author SHA1 Message Date
Mateusz Szczesny
cf3ca397bd [BH-1842] Fix dependabot alerts
GitHub's dependabot suggests we might be using outdated
and vulnerable python libraries. This commit updates our
requirements to use more recent verions of some of the
libraries.
2024-01-30 11:54:26 +01:00
Mateusz Szczesny
e1b7f5047c [BH-1720] Changed misc-tools to point to current master
After some previous commits to misc-tools, the MuditaOS misc-tools
submodule version was not updated. Now the version in the MuditaOS
repository will be up to date.
2023-09-05 14:55:01 +02:00
Maciej-Mudita
1b03981b06 [BH-1701] Add extended user heap statistics for debugging
Added extended statistics to help track potential memory leaks:
* used user heap size per task
* number of successful allocations
* number of successful frees
2023-05-31 14:39:33 +02:00
Bartosz
9ba061a544 [MOS-000] Reworked translation verification tool
Added removal of unused keys in files
Refactored code
2023-04-06 10:32:25 +02:00
Mateusz Piesta
37665c2971 [MOS-000] Fixed minor issue in db migration script
* Removed doubled copyright header from 'up/down/devel.sql' when committing
databases.
* During installing, 'devel.sql' was created even if specific revisions
didn't contain one.
* Removed unnecessary product-specific .lua scripts.
2023-04-03 11:52:03 +02:00
Bartosz
29005b0efd [MOS-000] Added tool for translations verification
Added script for verifying if the translation json:
- has duplicates
- has empty entries
- has missing entries
It has possibility to fix those files by removing the duplicates
and pretty-printing the file without duplicates
2023-03-30 12:53:28 +02:00
Maciej-Mudita
acc126316d [MOS-000] Update tools/misc
Sub-repo update to latest master
2023-03-22 12:40:18 +01:00
Mateusz Piesta
a11a994f22 [MOS-922] Add database migration docs
* Added database migration docs
* Updated database migration tool
2023-03-01 09:34:51 +01:00
Bartosz
01137c6951 [MOS-000] Move commit message checks to CI repo
Moved script to CI tools repo
2023-02-28 14:02:04 +01:00
Bartosz
c68624ee37 [MOS-000] Update commit checks
Increased max line length to 100 chars, allowed
auto revert commits to pass CI checks
2023-02-15 16:19:38 +01:00
Lukasz Mastalerz
d7c8a8a6bf [CP-1210] Contacts imported from SIM dont show up in Mudita Center
Fix for imported contacts from SIM don't show up in Mudita Center.
Added functionality to send notification after all imported contacts are
added to the database.
2023-01-26 15:12:10 +01:00
Maciej-Mudita
e6adfdb39a [MOS-75] Fix incorrect data in pure heapstats tool
"pure heapstats" command was returning incorrect
system heap data
2023-01-25 16:50:28 +01:00
Mateusz Piesta
424f5eaa12 [MOS-855] Restore process update
Fixed issues with restoring from legacy backups
and cases when the database set fetched from backup package
is different than the system one.
2023-01-19 16:41:56 +01:00
Bartosz
f731cab807 [MOS-805] Prepare update package - rewritten script
Rewritten script for generating update package
2023-01-19 16:41:56 +01:00
Bartosz
bb2df2a32c [MOS-803] Fixes
Fixes for deviceInfo endpoint, scripts
 and missing migration files in sysroot
2023-01-19 16:41:56 +01:00
Mateusz Piesta
6f05c75c88 [MOS-835] Per product layout of database migration scripts
Implemented DB init migration and version.json update
2023-01-19 16:41:56 +01:00
Lefucjusz
64ff02ab0f [MOS-783] Fixed issues with generating imgs
Fixed:
- improper block count in Harmony,
resulting in ~300MB unallocated space;
- invalid rsync parameters, resulting
in nested 'factory' directory structure
creation;
- minor fixes.
2023-01-19 16:41:56 +01:00
Lefucjusz
178fba165e [MOS-783] First part of new dir structure implementation
Works:
    - generating .img for Pure;
    - Pure boots after flashing new image and
    seems to be working fine;

    Not yet:
    - generating update package;
    - generating image for Harmony;
    - simulator;
    - path-related unit tests fail
    due to paths being hardcoded
    in test scenarios.
2023-01-19 16:41:56 +01:00
Mateusz Piesta
0a9846e4a8 [MOS-694] Move DB initialization from OS to build scripts
* Switched to DB initialization at compile time
* Organized and cleaned up db files directories(not finished completely)
* Fixed DB related unit tests
* Minor improvements to CMake
* Small fixes for GCC12 build
2023-01-19 16:41:56 +01:00
Adam Wulkiewicz
ec6c8c31af [BH-1599] Add characters to the py tool
latin1 supplement
2023-01-04 01:11:39 +01:00
patrycja-paczkowska
7ddf723f93 [BH-1599][BH-1573] Shortcuts translations
Add and fix shortcuts translations.
Fix translations in Meditation app settings.
2022-12-07 16:17:28 +01:00
Lefucjusz
c0ccc32c81 [MOS-834] Create script to generate EEPROM image
Create script that can be used to create
an EEPROM image in a convenient way.
2022-12-01 14:24:58 +01:00
Marcin Zieliński
4b34f821f3 [MOS-823] Update 'misc' submodule reference
Added a possibility to use a custom GDB for crash analysis.
2022-11-25 15:50:55 +01:00
Lefucjusz
1fbd133c4c [MOS-734] Fix script after moving releases to private repo
Submodule update after fixing the crashdump
analyzer script.
2022-09-26 11:49:58 +02:00
Lucjan Bryndza
4a86902f71 [MOS-409] Remove old crash debug script
Remove the old crash debug script insted of
debug_crash_dump.sh please use
tools/misc/crashdump/crashdump_backtrace.sh
2022-05-19 14:41:31 +02:00
Marek Niepieklo
9c0e1a4d88 [MOS-342] Fix warning in disk image build
Added PART3_SIZE parameter to generation of user partition
2022-03-25 14:19:45 +01:00
wojtekrzepecki
f0503057f7 [MOS-109] Add current measurement scope
added current measurement transfer over logs to plot
it on PC side
2022-02-14 13:00:47 +01:00
Bartosz Cichocki
ea573ee734 [MOS-154] Update commit message check
Added new project to the check
2022-02-07 13:26:19 +01:00
Marek Niepieklo
7d5a08a471 [CP-1005] Macflash tool to flash Pure on macOS
Added macflash.sh and macflash_setup.sh scripts
2022-02-07 11:08:03 +01:00
Adam Dobrowolski
8af2dffb7b [EGD-8148] Download asset documentation update
related documentation updated, written. Obsolete documentation removed

Co-authored-by:
 Bartosz Cichocki <sp2fet@gmail.com>
 Wojciech Rzepecki <74544942+wojtekrzepecki@users.noreply.github.com>
2022-01-11 14:06:28 +01:00
Adam Dobrowolski
410af7e2e0 [EGD-8145] Download asset untaring accepts any relative path
download_asset.py:
    either ./ or none - both are proper relative paths
music assets are taken from the assets release
    Removed bell mp3 assets from MuditaOS repository
    Removed assets for PurePhone from the repository
2022-01-05 09:23:14 +01:00
Adam Dobrowolski
df7d19658c [EGD-8144] PurePhone assets split mechanism
As we do not have artifactory etc. we download public assets from
public repository.

download_asset mechanism:
* added tar with unpack for releases on github
* download script create parent directory
* When there is no parent directory - then create it, not the file as
  dir
* Lessened logs status
* download release files for Pure works ok
* added option to load multiple elements from tar
* added option to load stuff from own PC

CMake fixes:
* Add option to not pass Luts.bin to the image
* Added dependencies:
    * Assets cmake
    * DiskImage
    * Generall: dependencies instead of runtime globals
    * Fixed UT for bell

Added description file to fownload files:
* Files downloaded from MuditaOSPublicAssets repository Bell
* PurePhone assets copied to build dir not to image dir
* Added test assets and bell assets
* Luts and test assets unpacked to right place
* Luts proper on img on phone

EGD-8066 sq
2022-01-03 15:53:20 +01:00
Przemyslaw Brudny
41dca5b375 Merge remote-tracking branch 'origin/stable' 2021-12-08 00:49:00 +01:00
Bartosz Cichocki
169beb3ec4 [EGD-7817][EGD-0000] Allow multiple Jira tickets in commit message
Fixed for commits fixing more than one issue
2021-12-03 09:56:48 +01:00
Przemyslaw Brudny
6c9ef5a20a Merge remote-tracking branch 'origin/stable' 2021-12-01 00:56:48 +01:00
Artur Śleszyński
68af24d8e5 [CP-557] Remove audio files from bell update package
The package is too big and update fails.
2021-11-26 15:20:13 +01:00
Bartosz Cichocki
9b9c44b565 [EGD-8000] Fix commit name check for community builds
Community commits were incorectly verified during checks on CI.
In details - commit list to check was incorrectly created thus
covered much more commits than it had to
2021-11-23 15:33:12 +01:00
Przemyslaw Brudny
0323d7cfad Merge remote-tracking branch 'origin/stable' 2021-11-18 23:51:50 +01:00
Adam Dobrowolski
2fed826c28 [EGD-7947] Unified aproach for download_asset
Improved timing. Uses cached file for both json and direct
downloads if possible.
Improved logging. Clear information what's being downloaded.
Removed older script.
2021-11-18 16:16:25 +01:00
Lucjan Bryndza
f80facf3f3 [EGD-7980] Add tools for analyse crashumps
Add tools for analayse crashdumps from the release
build. Now user is able to get crashdump and tag number
and the tool is able to automatically retrive and analyse
backtrace

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2021-11-18 10:17:31 +01:00
Adam Dobrowolski
3c0538b8d9 [EGD-7973] Fixed luts file problem
Luts file was to big to download via api which limit is 1MB
2021-11-16 12:29:35 +01:00
Adam Dobrowolski
c1ec1d8bb0 [EGD-7973] Fixed luts file problem
Luts file was to big to download via api which limit is 1MB
2021-11-16 10:34:07 +01:00
Przemyslaw Brudny
90117445f1 Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	tools/download_asset2.py
2021-11-15 21:04:18 +01:00
Adam Dobrowolski
8a61e57ffc [EGD-7932] Added downloader for assets for Bell
With this all fonts and Luts bin are downloaed for other repo which
is closed from others. With minimum changes to our cmake and flow
Added cache dir as set in cmake for CI
CI has to use common cache to not download data all the time
Jenkinsfile updated to install lacking dependency
2021-11-12 13:02:27 +01:00
Adam Dobrowolski
589dbd8867 [EGD-7932] Added logging od dir on 404
We want to know what we want to know
2021-11-12 13:02:27 +01:00
Adam Dobrowolski
a73211d7b1 [EGD-7932] Added logging od dir on 404
We want to know what we want to know
2021-11-10 16:54:36 +01:00
Adam Dobrowolski
c467dc9a2f [EGD-7932] Added downloader for assets for Bell
With this all fonts and Luts bin are downloaed for other repo which
is closed from others. With minimum changes to our cmake and flow
Added cache dir as set in cmake for CI
CI has to use common cache to not download data all the time
Jenkinsfile updated to install lacking dependency
2021-11-10 16:54:36 +01:00
Bartosz Cichocki
260c2a57c7 [EGD-7912] Add signing update package SHA
To fully operate on signed packages we have to sign checksum
2021-11-05 12:20:35 +01:00
Bartosz Cichocki
90dee999c0 [EGD-7912] Add signing update package SHA
To fully operate on signed packages we have to sign checksum
2021-11-05 11:31:35 +01:00
Adam Dobrowolski
e732ebbcc1 [EGD-7443] Documentation updated
Co-authored-by: Bartosz Cichocki
Co-authored-by: Paweł Olejniczak
2021-11-03 12:46:22 +01:00