Commit Graph

  • 290ec7e503 Remove parameter --display-files from search-file Otavio Pontes 2019-03-14 12:21:59 -07:00
  • f1c2884917 search: Definitely removing -t option from search-file Otavio Pontes 2019-03-14 12:27:39 -07:00
  • 67e4e8dda9 Autocompletion for --debug and --quiet Castulo Martinez 2019-03-28 00:18:35 +00:00
  • aabc453fd1 manifest: Add manifest parser unit tests Otavio Pontes 2019-03-26 17:00:04 -07:00
  • 22f1b8c40a global: Make --quiet and --debug official Otavio Pontes 2019-03-26 12:57:08 -07:00
  • 35577dbb76 verify: Always print files that were incorrect in the system Otavio Pontes 2019-03-26 14:33:31 -07:00
  • 6d52b7594d verify: Use a different exit code when system is not correct Otavio Pontes 2019-03-26 14:20:45 -07:00
  • 94a331622f verify: Don't print information about verify status if --quiet is used. Otavio Pontes 2019-03-26 13:25:34 -07:00
  • 1ebb4deae4 manifests: Don't abort on unknown flags Otavio Pontes 2019-03-21 12:58:04 -07:00
  • 93315b13b8 manifest: cleaning up the manifest parser and optimizing strcmps Otavio Pontes 2019-03-21 12:19:02 -07:00
  • f8c271603f manifest: Use functions from log to print output Otavio Pontes 2019-03-21 11:44:55 -07:00
  • 2863136c80 manifest: Don't use constants for string sizes on strncmp() calls Otavio Pontes 2019-03-21 11:39:18 -07:00
  • fd02a3ab58 manifest: Use correct size for fgets Otavio Pontes 2019-03-21 11:33:08 -07:00
  • 3278b4be2a manifest: Organize manifest parser in a single file Otavio Pontes 2019-03-21 10:43:04 -07:00
  • 1abd798b44 manifest: Don't process header actions anymore Otavio Pontes 2019-03-21 10:31:04 -07:00
  • d4a9402ae9 info: Using functions from log.h instead of fprintf Otavio Pontes 2019-03-25 16:31:53 -07:00
  • 4c72eda304 hashdump: Fix renamed function call Otavio Pontes 2019-03-25 16:15:04 -07:00
  • c545a02378 Use logger to print all messages in screen Castulo Martinez 2019-03-21 17:56:48 +00:00
  • ddfb13b842 Moving functions to report progress to own file Castulo Martinez 2019-03-19 20:32:59 +00:00
  • 3ee15154fe Replacing printf with appropriate logger function Castulo Martinez 2019-03-15 20:10:42 +00:00
  • 0cfb92ddf2 Test for bundle-add --json-output flag Castulo Martinez 2019-03-14 22:30:01 +00:00
  • a294fcb0d7 Use percentages to report progress when not a tty Castulo Martinez 2019-03-14 21:39:48 +00:00
  • a6b94a1773 Report partial progress of bundle-add in JSON Castulo Martinez 2019-03-14 19:58:57 +00:00
  • 7d1ceb3806 Add functions to report progress Castulo Martinez 2019-03-14 01:31:47 +00:00
  • d7b5193d49 Function to report a status in JSON stream Castulo Martinez 2019-03-13 21:46:39 +00:00
  • 06e798c760 Make logging json files more generic Otavio Pontes 2019-03-12 15:32:03 -07:00
  • a09476380e Implementing the --json-output in bundle-add Castulo Martinez 2019-03-12 19:21:36 +00:00
  • e13b448e37 Function to format a message before printing Castulo Martinez 2019-03-08 22:26:50 +00:00
  • 933b83412c Add a --json-output flag to bundle-add Castulo Martinez 2019-03-08 01:31:05 +00:00
  • dd278c9da8 Adding the --quiet flag to hashdump Castulo Martinez 2019-03-21 22:50:06 +00:00
  • abc5624e62 verify: break line in error message to make it more readable Otavio Pontes 2019-03-20 12:50:35 -07:00
  • 0ff049c325 update: Print help if parameters are incorrect Otavio Pontes 2019-03-20 13:10:49 -07:00
  • 4fea295a23 info: Use parameters defined as global parameters Otavio Pontes 2019-03-15 16:02:47 -07:00
  • f53524072f Balance tests in jobs in Travis Castulo Martinez 2019-03-20 00:08:12 +00:00
  • ed041ab1c9 Run static analysis in a different test stage Castulo Martinez 2019-03-19 21:06:45 +00:00
  • 1c59253f3a Run tests in multiple jobs when building swupd Castulo Martinez 2019-03-18 17:31:30 +00:00
  • ba0dc9d75d Using parallelization similar to number of cores Castulo Martinez 2019-03-18 01:20:31 +00:00
  • 7d060d60f1 Build swupd only if code analysis passes Castulo Martinez 2019-03-18 00:33:22 +00:00
  • dfb23879cb Adding missing test for deltas to Makefile.am Castulo Martinez 2019-03-15 20:29:33 +00:00
  • eb4ae95bbf Remove unecessary srand() calls Otavio Pontes 2019-03-07 13:38:53 -08:00
  • 7d4bf8b433 update: move variable to correct file Otavio Pontes 2019-03-08 09:13:24 -08:00
  • 0095689db7 thread_pool: Run tasks in same thread if threads are not supported Otavio Pontes 2019-03-05 13:12:27 -08:00
  • 88aaa29505 Set signature verification enabled as default Otavio Pontes 2019-03-06 16:30:58 -08:00
  • 6b8dd6f817 Adding option to choose how to order results Castulo Martinez 2019-03-06 00:39:04 +00:00
  • 2d720a2e86 Removing score-based ordering from search Castulo Martinez 2019-03-05 21:50:06 +00:00
  • 3798a7efe3 test: Swupd-search test was incorrect Otavio Pontes 2019-03-06 08:41:23 -08:00
  • 5269627f9c search: Rename search-legacy to search-file Otavio Pontes 2019-03-05 13:54:42 -08:00
  • 78f93d11ea modules: Take swupd-inspector out of swupd Otavio Pontes 2019-03-05 13:29:25 -08:00
  • c5a271299c Add search-file to autocompletion script Castulo Martinez 2019-03-04 18:48:26 +00:00
  • 44f83ade9b Testlib: file renames should be in all packs Castulo Martinez 2019-02-28 00:30:04 +00:00
  • 446735ff2a Testlib: file updates should be in all packs Castulo Martinez 2019-02-27 23:11:16 +00:00
  • 167b25442b Testlib: Dirs added in updates should be in packs Castulo Martinez 2019-02-27 19:29:14 +00:00
  • 35aca608ce Testlib: Files added in updates should be in packs Castulo Martinez 2019-02-26 23:52:31 +00:00
  • d78e1405ea Testlib: making update_bundle more modular Castulo Martinez 2019-02-26 23:31:03 +00:00
  • 70264e33ea Fixing the time shown using update -t Castulo Martinez 2019-03-01 23:56:19 +00:00
  • 23dbbbafa8 Running local search when searching Castulo Martinez 2019-02-28 23:01:43 +00:00
  • 8798c4c154 testlib: Consolidate minversion implementation Castulo Martinez 2019-02-25 21:45:17 +00:00
  • c8272d85f2 testlib: Add minversion support to bump_format John Akre 2018-10-02 13:27:12 -07:00
  • 890c9caf17 Fix missed dereferencing operator in string hash function Brandon Hong 2019-02-25 09:29:39 +08:00
  • 085b520050 Add swupd-inspector command into swupd Otavio Pontes 2019-02-13 21:44:07 -08:00
  • 2e2b83e93e Checking if update scripts exist before running Castulo Martinez 2019-02-16 00:42:08 +00:00
  • 260f710da9 Release v3.19.0 v3.19.0 Otavio Pontes 2019-02-14 10:05:45 -08:00
  • 17e8708bb4 Curl: Don't set curl fail on error when checking the connection Otavio Pontes 2019-02-13 16:05:24 -08:00
  • 3a689186dc Update issue templates Otavio Pontes 2019-02-13 14:26:12 -08:00
  • 7c26d67699 staging: Another memory leak Otavio Pontes 2019-02-13 13:45:58 -08:00
  • 9d3fdbfea7 curl: Rewrite that message again Otavio Pontes 2019-02-13 13:38:58 -08:00
  • 7861ea501e curl: Getting even better on message if swupd fails to connect to server Otavio Pontes 2019-02-13 12:52:21 -08:00
  • e54fb1e9ed Fix some code styles Otavio Pontes 2019-02-13 12:56:34 -08:00
  • 00c3400c9c globals: Free string left behind Otavio Pontes 2019-02-12 13:32:55 -08:00
  • ad8177bee6 staging: Ensure staging doesn't escape path_prefix William Douglas 2019-01-25 13:33:40 -08:00
  • 6da50ee5d7 Fix manually installed bundle tracking and add tests William Douglas 2019-02-13 09:49:43 -08:00
  • 44adf33ca3 Clarify function purpose with rename William Douglas 2019-02-13 09:48:26 -08:00
  • 00d7c1b366 Adding path_prefix for versionstamp Castulo Martinez 2019-02-12 18:06:11 +00:00
  • 284162665e fullfile: Reduce the number of parallel downloads Otavio Pontes 2019-02-12 13:55:02 -08:00
  • 3276d23c00 curl: Stop download in parallel as soon as we have download errors Otavio Pontes 2019-02-12 13:53:21 -08:00
  • 4f6064beff curl: Make messages consistent Otavio Pontes 2019-02-12 15:18:09 -08:00
  • b6422f89d1 curl: Improve error messages when using fallback SSL certificates Otavio Pontes 2019-02-12 10:17:52 -08:00
  • c03b1bd521 test: Fix wrong test Otavio Pontes 2019-02-12 12:41:21 -08:00
  • f8eef790f9 update: Print total bytes downloaded in MB Otavio Pontes 2019-02-11 17:38:10 -08:00
  • 53a0984da9 update: Use manifest-deltas in swupd on update Otavio Pontes 2019-02-11 15:45:00 -08:00
  • 2f612ef711 sys: Add a helper function to check if a file exists Otavio Pontes 2019-02-11 15:33:37 -08:00
  • e7d19dd888 curl: Check for errors before using value from curl_easy_getinfo call Otavio Pontes 2019-02-11 12:35:55 -08:00
  • 71b334159a update: Be consistent in exit codes when trying to update to the same version Otavio Pontes 2019-02-11 12:59:43 -08:00
  • 0a51655abe Moving update specific function from version to update Otavio Pontes 2019-02-11 10:43:06 -08:00
  • 2c885f28f3 Providing option to disable compiler optimizations Castulo Martinez 2019-02-08 23:42:24 +00:00
  • c17c232f85 docs: Fix documentation on --force option Otavio Pontes 2019-02-11 10:32:43 -08:00
  • 70200b3251 test: Fix tests broken by curl changes Otavio Pontes 2019-02-08 15:17:41 -08:00
  • 093ac7630a travis: Use a newer curl to build swupd tests Otavio Pontes 2019-02-08 14:15:11 -08:00
  • 29d8e122e2 Telemetry: include bytes transferred wherever applicable. Auke Kok 2019-02-08 12:06:05 -08:00
  • 880191fd1b Return non-0 code if search does not find entries Castulo Martinez 2019-02-01 18:20:55 +00:00
  • 0f63bfe858 Replacing switch for ifs in retry_download_loop Castulo Martinez 2019-01-31 21:19:43 +00:00
  • cf8f81ccb4 Test for configurable download retries Castulo Martinez 2019-01-30 19:46:17 +00:00
  • b135d49deb Testlib: option to force a response in web server Castulo Martinez 2019-01-30 19:41:59 +00:00
  • 0721ddfdba Adding configurable download retries Castulo Martinez 2019-01-30 00:13:33 +00:00
  • 49907d4a60 Consistent timeouts for sync and async downloads Castulo Martinez 2019-01-29 20:54:21 +00:00
  • e28c24a50a Refactoring retry code for fullfiles Castulo Martinez 2019-01-29 20:35:44 +00:00
  • 8648e83c33 test: Add first swupd unit test Otavio Pontes 2019-01-28 22:40:19 +00:00
  • 3eebc10b73 strings: Move str to int conversion functions to strings module Otavio Pontes 2019-01-28 21:32:39 +00:00
  • 6b49ca562b Checking if the boot script exist before running Castulo Martinez 2019-01-31 00:28:41 +00:00
  • 90834ae18f docs: Remove generated manpages from repository Otavio Pontes 2019-01-28 20:31:45 +00:00