Commit Graph

  • cdf03c14d4 Testlib: include important env variables in help Castulo Martinez 2020-06-10 09:41:37 -07:00
  • defd541061 Fixing a false positive in a "clean" test Castulo Martinez 2020-06-08 13:08:11 -07:00
  • 68b4eee984 Adding flags to set data and cache in swupd Castulo Martinez 2020-06-05 10:26:19 -07:00
  • 40472f5a21 Updating "clean" to remove new and old cache dirs Castulo Martinez 2020-06-05 09:18:50 -07:00
  • 8d54e6c995 Separating the cache from the data used by swupd Castulo Martinez 2020-06-04 11:04:18 -07:00
  • 91173f50b2 heuristics: Use a sorted list algorithm to apply heuristic rules Otavio Pontes 2020-05-14 12:54:09 -07:00
  • 99823e0d66 sys: Use a list for get_mounted_directories() Otavio Pontes 2020-05-12 13:59:18 -07:00
  • a9301c660a heuristics: Create heuristics rules Otavio Pontes 2020-05-08 10:06:35 -07:00
  • 8d40ad38bd heuristics: Remove function with unused result Otavio Pontes 2020-05-12 12:40:06 -07:00
  • e3326a4e34 Removing dead code in clean.c Castulo Martinez 2020-05-21 12:15:33 -07:00
  • b4cc6e6ae3 Release 4.2.1 v4.2.1 Castulo Martinez 2020-05-21 09:07:46 -07:00
  • 1330204558 Fix syntax error in configure.ac Patrick McCarty 2020-05-19 14:34:36 -07:00
  • 5bb4ef2337 swupd.bash: Make swupd.bash POSIX compliant Otavio Pontes 2020-05-18 14:12:05 -07:00
  • 721aae6358 clean: Clean manifests in deprecated location Otavio Pontes 2020-05-19 08:28:29 -07:00
  • 9d995c1ad5 Move manifest deltas to the manifest dir in state Castulo Martinez 2020-05-13 12:25:03 -07:00
  • 8e4c017365 Moving downloaded manifests to their own directory Castulo Martinez 2020-05-13 11:58:33 -07:00
  • 926773041f Release 4.2.0 v4.2.0 Otavio Pontes 2020-05-15 10:20:05 -07:00
  • c83391321c Revert "Move manifest deltas to the manifest dir in state" Otavio Pontes 2020-05-15 08:18:45 -07:00
  • d5d3c599d2 Revert "Moving downloaded manifests to their own directory" Otavio Pontes 2020-05-15 08:18:37 -07:00
  • 24ecf6c913 delta: Improve message on delta errors Otavio Pontes 2020-05-14 09:03:50 -07:00
  • 845b74f95b Move manifest deltas to the manifest dir in state Castulo Martinez 2020-05-13 12:25:03 -07:00
  • 336fee7a9d Moving downloaded manifests to their own directory Castulo Martinez 2020-05-13 11:58:33 -07:00
  • e473385084 Bug_Fix: Only update templates if repos exist Castulo Martinez 2020-05-14 09:28:53 -07:00
  • 5ff46653cf actions: Create another job to check for API changes Otavio Pontes 2020-05-14 09:32:53 -07:00
  • 062cab09cf curl: Remove '*' character in error output Otavio Pontes 2020-05-14 08:38:07 -07:00
  • 9958f9c4ce Moving some remaining functions to statedir.c Castulo Martinez 2020-05-13 10:30:36 -07:00
  • 7263b2d774 verify: Don't apply heuristic to os-install Otavio Pontes 2020-05-12 12:18:57 -07:00
  • 66d002d0ce Repairig amemory leak in delta.c Castulo Martinez 2020-05-12 15:22:20 -07:00
  • 260fed75d5 thread_pool: Number of threads can be zero Otavio Pontes 2020-05-12 12:32:26 -07:00
  • e552a95645 Add function to remove the content of a directory Castulo Martinez 2020-05-11 13:08:33 -07:00
  • cf263bbd07 Move function to set the path to the statedir Castulo Martinez 2020-05-11 11:49:53 -07:00
  • 62bb6bd8a0 Function to get the version from statedir Castulo Martinez 2020-05-11 11:42:00 -07:00
  • 8ba1812c6f Function to get the delta pack from statedir Castulo Martinez 2020-05-11 11:34:05 -07:00
  • 251c2cb68f Functions to get the manifests directory and delta Castulo Martinez 2020-05-11 11:28:02 -07:00
  • 74ec454110 Function to get the path to the swupd_lock file Castulo Martinez 2020-05-11 10:42:43 -07:00
  • a3a1ad1d3d Function to get telemetry record from statedir Castulo Martinez 2020-05-11 10:34:21 -07:00
  • a993c1a3fc Enforce warning to check for integer conversion errors Otavio Pontes 2020-05-07 09:30:19 -07:00
  • 043351ab09 Fix integer to float conversion errors Otavio Pontes 2020-05-07 09:06:23 -07:00
  • e1fd274599 Fixing multiple unsigned to signed int conversion errors Otavio Pontes 2020-05-06 13:58:58 -07:00
  • 235ea872a8 strings: Use correct variable type for str_len return Otavio Pontes 2020-05-06 14:12:06 -07:00
  • 2a7f181e00 int: Fix some integer conversion errors when using malloc Otavio Pontes 2020-04-28 14:06:47 -07:00
  • 9fd1632ef0 int: Add functions to safely convert signed ints to unsigned Otavio Pontes 2020-04-28 10:21:40 -07:00
  • 5f67a46354 string: Add function to convert from string to unsigned ints Otavio Pontes 2020-04-28 12:13:28 -07:00
  • fb43852440 motd: Remove motd code that was not being used Otavio Pontes 2020-05-12 09:17:45 -07:00
  • 07fb739c10 test: Add test to make sure we won't forget '\n' on log messages Otavio Pontes 2020-05-12 10:21:52 -07:00
  • 7f5c1b6ab3 log: Adding missing '\n' at the end of log messages Otavio Pontes 2020-05-12 10:21:36 -07:00
  • 14bbc2c44d Add functions to get manifest from the statedir Castulo Martinez 2020-05-08 15:38:53 -07:00
  • eee1585f64 Add functions to get fullfile tars from statedir Castulo Martinez 2020-05-08 12:39:09 -07:00
  • 9844f2a1d0 Add function to get delta dir from statedir Castulo Martinez 2020-05-08 10:33:52 -07:00
  • 858965f52e Move function to create state dirs to statedir mod Castulo Martinez 2020-05-07 11:56:28 -07:00
  • 39bfd77831 Add function to get staging files from statedir Castulo Martinez 2020-05-07 10:24:16 -07:00
  • ca2601efc7 Consolidate functions to track bundles Castulo Martinez 2020-05-07 10:00:17 -07:00
  • 7e921eca64 Tracking dir functions in statedir.c Castulo Martinez 2020-05-07 09:48:43 -07:00
  • 49131e7059 heuristics: Remove duplicated heuristics check Otavio Pontes 2020-05-08 09:02:20 -07:00
  • 6613fc5ffa heuristics: Add test to validate heuristics Otavio Pontes 2020-05-08 09:01:08 -07:00
  • d237e4d499 heuristics: don't set is_boot for files that are not kernel files Otavio Pontes 2020-05-07 14:57:14 -07:00
  • 3bb6c8a9de heuristics: Consolidate main heuristics with the ignore heuristics Otavio Pontes 2020-05-07 13:24:06 -07:00
  • 46400708e6 heuristics: Consolidate need_update_boot and need_update_bootloader Otavio Pontes 2020-05-07 13:23:10 -07:00
  • bca38243d8 3rd-party: add bundle-remove --orphans flag Castulo Martinez 2020-05-05 09:12:14 -07:00
  • 4d0a6d29a1 Implement bundle-remove --orphans flag Castulo Martinez 2020-05-04 15:53:39 -07:00
  • 430ac8b0a7 exit_codes: Add header documentation Otavio Pontes 2020-04-30 15:51:45 -07:00
  • 9f4e466ed3 swupd_cmds: Adding header documentation to file. Otavio Pontes 2020-04-30 15:43:05 -07:00
  • 8fb81bad0f swupd_cmds: Unecessary strlen used to compare. Otavio Pontes 2020-04-30 15:40:10 -07:00
  • 8d7a7dad6e Organizing src/ directories in categories Otavio Pontes 2020-04-30 13:40:25 -07:00
  • 516e29bad8 autotools: Add src to the default include list Otavio Pontes 2020-04-21 10:52:09 -07:00
  • 4e2e81fa4d Makefile: Adding -Wshadow to prevent accident shadowing Otavio Pontes 2020-05-06 13:30:38 -07:00
  • 3870dc5181 mixin: Remove some mixin leftovers Otavio Pontes 2020-05-07 08:30:22 -07:00
  • fc1f874c89 macros: Create wrapper for malloc and calloc functions Otavio Pontes 2020-04-28 13:41:24 -07:00
  • 8876e25bc2 verifytime: Missed a return on ENOENT error Otavio Pontes 2020-05-05 14:27:46 -07:00
  • 039f47d51c verifytime: Initialize variables Otavio Pontes 2020-05-06 08:38:15 -07:00
  • e8000ab614 config: CONFIG_FILE_PATH shouldn't be treated as a path Otavio Pontes 2020-05-05 12:52:48 -07:00
  • 13a684f196 sys: Fixing documentation of ls_sys Otavio Pontes 2020-05-05 12:21:29 -07:00
  • 076aeff0d0 target_root: Use run_commmand to execute tar|tar command Otavio Pontes 2020-04-27 10:48:33 -07:00
  • 04eacb16be verifytime: Making verifytime completely independent again Otavio Pontes 2020-04-30 11:06:29 -07:00
  • e9c103b6e4 verifytime: Fix integer signal conversion errors Otavio Pontes 2020-04-30 09:43:45 -07:00
  • 0b47050848 3rd-party: add --orphans flag for bundle-list Castulo Martinez 2020-04-30 16:05:26 -07:00
  • 4cd51ca5d8 Add --orphans flag to bundle-list Castulo Martinez 2020-04-30 12:49:26 -07:00
  • b27e51356d Functions to list installed and tracked bundles Castulo Martinez 2020-04-30 10:46:30 -07:00
  • d29865f8a9 swupd.bash: Fixing tests Otavio Pontes 2020-05-01 13:04:41 -07:00
  • e4d0468cfe swupd.bash: Multiple improvements Lucius Hu 2020-05-01 02:31:53 -04:00
  • 3f87d09f2b Updating copyright headers of files changed on 2020 Otavio Pontes 2020-05-01 13:55:23 -07:00
  • 86ef6bfde5 Testlib: Fixing functions that use a test ID Castulo Martinez 2020-05-01 10:58:52 -07:00
  • 59d5215c91 scripts: Remove shellcheck all from standard check in build script Otavio Pontes 2020-04-30 14:02:36 -07:00
  • 67dd98a5f1 Test: Use global_setup for bundle-list tests Castulo Martinez 2020-04-30 11:34:50 -07:00
  • 998ed76b4e Release 4.1.0 v4.1.0 Otavio Pontes 2020-04-30 13:56:35 -07:00
  • d2c053cdb3 test: Create test to validate if we can repair files that have type change Otavio Pontes 2020-04-27 14:49:31 -07:00
  • f2c0413dcc verify: Don't dereference symlinks on repair Otavio Pontes 2020-04-29 13:53:52 -07:00
  • 4436d33e43 target_root: Handle invalid directory or missing directory the same way Otavio Pontes 2020-04-29 13:28:47 -07:00
  • ce0943982a shellcheck: Error SC2119 doesn't apply to our use cases Otavio Pontes 2020-04-29 12:12:37 -07:00
  • a3c1f97c57 shellcheck: Unify shellcheck script Otavio Pontes 2020-04-29 12:55:03 -07:00
  • 694c39b1f0 verify: Debug info for every checked file Otavio Pontes 2020-04-29 10:05:22 -07:00
  • 203b9e35ca macros: Create a wrapper for free() Otavio Pontes 2020-04-28 09:27:55 -07:00
  • e15ee0a6d6 sys: Always prefer to use basename and dirname from sys.c Otavio Pontes 2020-04-28 09:12:58 -07:00
  • 766be95913 Test: show_target shellcheck warning Castulo Martinez 2020-04-28 17:18:23 -07:00
  • 2d71700157 curl: exit if the file cannot be created/appended Castulo Martinez 2020-04-28 16:50:27 -07:00
  • b58e6c20ca Fail to be compliant if --quiet tests change Castulo Martinez 2020-04-28 09:37:48 -07:00
  • e57b9e6948 Testlib: adding help with description for all funcs Castulo Martinez 2020-04-24 15:58:53 -07:00
  • 8a6eb85efe Testlib: function to print help menus of commands Castulo Martinez 2020-04-24 15:57:34 -07:00
  • d51a3863f4 helpers: Add check for allocation errors Otavio Pontes 2020-04-27 14:56:33 -07:00
  • 201950445a Reporting if a file was fixed or not with --quiet Castulo Martinez 2020-04-27 15:20:50 -07:00