2
0
mirror of https://github.com/meganz/MEGAcmd synced 2025-08-31 13:55:10 +00:00
Commit Graph

2114 Commits

Author SHA1 Message Date
Diego Ximenez
6d5fcbc126 Remove references to legacy build system in Dockerfile 2024-07-26 16:00:15 +02:00
Diego Ximenez
216c8586bd Remove files from legacy build systems 2024-07-26 15:25:51 +02:00
Diego Ximenez
99578360e2 Merge branch 'fix/CMD-425_fix_integration_tests_on_windows' into 'develop'
CMD-425. Fix integration tests on Windows

Closes CMD-425

See merge request apps/MEGAcmd!767
2024-07-25 23:41:21 +12:00
Diego Ximenez
0bc8d0179e Use log_level_max explicitly instead of an int in integration tests main
Also, improvements to sdk/cmd log levels in MegaCMDLogger.
2024-07-25 12:53:14 +02:00
Diego Ximenez
fdb6b62ace Allow performSafeLog to work when testing also 2024-07-24 20:40:36 +02:00
Diego Ximenez
e0bb6b61d9 Revert previous commit 2024-07-24 20:38:32 +02:00
Diego Ximenez
a24b0cfda5 Add expected failure to integration tests 2024-07-24 20:31:56 +02:00
Diego Ximenez
b81874aaa8 Fix exit_code.txt path in Windows Jenkinsfile 2024-07-24 20:24:04 +02:00
Diego Ximenez
648f708485 Fix syntax error in bat step in Windows Jenkinsfile 2024-07-24 20:16:18 +02:00
Diego Ximenez
f8bfab39c7 Add missing bracket in Windows Jenkinsfile 2024-07-24 20:01:21 +02:00
Diego Ximenez
b71ddaa6b6 Remove extra characters added by mistake to Windows Jenkinsfile 2024-07-24 20:00:20 +02:00
Diego Ximenez
9846ab1570 Pass the exit code to Jenkins via a file in integration tests 2024-07-24 19:58:58 +02:00
Pablo M
762d5c970f Merge branch 'task/CMD-455_new_cmake_packaging_macos' into 'develop'
CMD-455. New cmake/vcpkg packaging for macOS

Closes CMD-455

See merge request apps/MEGAcmd!771
2024-07-24 21:10:54 +12:00
Diego Ximenez
c1343ca583 Use the build id as the pipe suffix in Jenkinsfile on Windows 2024-07-23 19:34:35 +02:00
Diego Ximenez
afe257e3ef Set log level to verbose for both SDK and CMD in integration tests 2024-07-23 19:31:59 +02:00
Pablo Martin
44ca665606 remove megacmdversion.h (now templatized) 2024-07-23 13:00:11 +02:00
Pablo Martin
dd238f35f3 move web_ico.ico & remove icon.rc inclusions 2024-07-11 18:11:34 +02:00
Pablo Martin
bb3cae3b6b do not set executables as WIN32 except the updater
given they're not UI apps
2024-07-11 16:56:21 +02:00
Pablo Martin
9a4b7e8fb3 fix wrong cmakelist 2024-07-11 14:26:02 +02:00
Pablo Martin
c9da8e001f fixes for win compilation
- rename mega-cmd-server to MEGAcmdServer
- have windows former icon.rc substitute by a templatized version and
applied to MEGAcmdServer executable
2024-07-11 12:53:56 +02:00
Pablo Martin
8c70e2d42a missing basepath in create_tarball.sh 2024-07-11 10:40:03 +02:00
Pablo Martin
5325fee9d2 fix missing resource bundling and stripping 2024-07-10 19:00:43 +02:00
Pablo Martin
4b71aa3fbb place unsetting of filesystem support for megacmdexecuter.cpp in the right place 2024-07-10 18:12:30 +02:00
Pablo Martin
2f620b2aa8 missing commitlines and other fixes
disable filesystem usage in megacmdexecuter.cpp for macos x86_64 (not
available until macOS 10.15! and building for 10.13 there)
2024-07-10 17:55:37 +02:00
Pablo Martin
87c16fb0e7 have version controlled by cmake now & adjustments for macos build
- adjustments in installer_mac to gather executable from different
bundles
- have main bundle be named MEGAcmd
- fix missing )
- have updater included
- support install bundle
- have info.plist include version (configured by cmake)
2024-07-10 16:34:47 +02:00
Pablo Martin
3d82e3e041 do not install in macos, and have all execs be bundles 2024-07-10 13:44:14 +02:00
Pablo Martin
f38d43050d remove VCPKGPATH bits 2024-07-10 13:10:00 +02:00
Pablo Martin
553b2b4f50 initial changes to provide support for new cmake packaging in macos 2024-07-10 12:56:04 +02:00
Diego Ximenez
e6aa9cc4ab Merge branch 'develop' into fix/CMD-425_fix_integration_tests_on_windows 2024-07-05 15:04:13 +02:00
Diego Ximenez
7f6184296a Merge branch 'task/CMD-400_upload_test_server_logs_as_jenkins_artifacts' into 'develop'
CMD-400. Upload server logs generated from test runs as Jenkins artifacts

Closes CMD-397, CMD-487, CMD-378, CMD-485, and CMD-400

See merge request apps/MEGAcmd!762
2024-07-06 00:48:00 +12:00
Diego Ximenez
72562e8160 Add script again to integration tests in Windows Jenkinsfile
Since it's needed to use try-catch aparently.
2024-07-05 14:41:34 +02:00
Diego Ximenez
af5463d6f7 Do not convert PSA name to printable ASCII
Note: deferred to CMD-425, since this is a Windows-only issue and might
need further investigation.
2024-07-05 14:23:55 +02:00
Diego Ximenez
1fdbb2e8b7 Use a reference for the logged stream creation function 2024-07-05 14:19:46 +02:00
Diego Ximenez
5f3e6630e2 Do not explicitly upload XML test results on Linux Jenkinsfile
Since they're already uploaded with `junit`.

Also: move the docker cleanup step to the end of each test stage.
2024-07-05 14:09:43 +02:00
Diego Ximenez
dbae9c56c7 Remove unnecessary script steps in Jenkins files 2024-07-05 13:41:43 +02:00
Pablo M
286bca3ae2 Merge branch 'fix/CMD-506_fix-non-interactive-commands-install-path-linux' into 'develop'
CMD-506. Fix installation path of mega-xxxx commands

Closes CMD-506

See merge request apps/MEGAcmd!769
2024-07-04 21:30:00 +12:00
Pablo Martin
2817c66151 fix install permissions 2024-07-04 11:23:24 +02:00
Diego Ximenez
2a66dcab2b Merge branch 'task/CMD-294_autogenerate_user_guide' into 'develop'
CMD-294. Autogenerate user guide

Closes CMD-294

See merge request apps/MEGAcmd!754
2024-07-04 20:08:25 +12:00
Pablo Martin
9e46d91767 fix installation path of mega-xxxx commands 2024-07-04 08:35:17 +02:00
Diego Ximenez
bfbc0029c7 Merge branch 'develop' into task/CMD-294_autogenerate_user_guide 2024-07-03 21:10:20 +02:00
Diego Ximenez
91b5c65313 Do not allow empty results when uploading integration tests output 2024-07-03 12:14:15 +02:00
Diego Ximenez
41f4952191 Remove unnecessary gtest args in Jenkins integration tests 2024-07-03 11:22:45 +02:00
Pablo M
45f4acffd2 Merge branch 'task/CMD-481_cmake_vcpkg_linux_packaging' into 'develop'
CMD-481 - Generate linux packages with cmake + vcpkg

Closes CMD-481

See merge request apps/MEGAcmd!753
2024-07-03 20:37:38 +12:00
Diego Ximenez
1d6e976bee Merge branch 'task/CMD-430_document_new_platform_directories' into 'develop'
CMD-430. Update log prefix from API to SDK and update DEBUG.md

Closes CMD-430

See merge request apps/MEGAcmd!761
2024-07-03 20:22:32 +12:00
Diego Ximenez
7de654a486 Remove setmode usage in tests
Jennkins integration tests were failing on windows because of this
(possibly because of strange interactions with GTest's usage of the
console). Not the ideal solution.
2024-07-02 19:17:17 +02:00
Diego Ximenez
235f40bb3c Fix incorrect win32 define conditional 2024-07-02 19:08:40 +02:00
Pablo Martin
bd7ab983c7 Merge remote-tracking branch 'origin/develop' into task/CMD-481_cmake_vcpkg_linux_packaging
Conflicts:
	vcpkg.json <- (spaces, chose develop)
2024-07-02 18:56:57 +02:00
Diego Ximenez
b10ddefcb0 Merge branch 'fix/CMD-488_crash_upon_update_failure_restoration' into 'develop'
CMD-488. Crash upon restoration after update failure

Closes CMD-488

See merge request apps/MEGAcmd!759
2024-07-03 04:43:34 +12:00
Diego Ximenez
abd7bda794 Properly set utf8 mode when logging to console on Windows
Plus, some format updates to the logger header file.
2024-07-02 15:11:38 +02:00
Diego Ximenez
a7b7459b1e Fix integration tests on Windows 2024-07-01 20:11:04 +02:00