Commit Graph

60 Commits

Author SHA1 Message Date
Gamso
e99cb752eb fix syntax 2020-11-24 20:05:44 +01:00
Gamso
ef12e34f85 Add filter on doc and example packages when option "all_extra" is enabled.
Add test.
2020-11-24 19:48:03 +01:00
Hiroshi Miura
51fe856d1c Refactor: drop settings.py
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-11-22 15:25:22 +09:00
Hiroshi Miura
59a07f02e7 PEP8
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-09-16 11:05:10 +09:00
Hiroshi Miura
943f2dcf05 Add list command
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-09-16 09:58:16 +09:00
Gamso
91b78c24f2 Add check on packages name to download (#159)
* Add check on packages name to download only packages for platforms specified.

* More stronger check with using platforms from combinations.json.

* Add test

Co-authored-by: Gamso <gamso@live.fr>
2020-09-11 14:41:53 +09:00
Hiroshi Miura
d807f80b67 Fix to if .. is not None
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-08-18 18:08:57 +09:00
Hiroshi Miura
6032d67965 Check whether download archives is None 2020-08-18 17:34:58 +09:00
Hiroshi Miura
b5a84acfad Can use qt6_ as an archive base name
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-06-19 00:55:19 +09:00
Hiroshi Miura
5cf0fa2ae0 Do not raise exception for unknown option combinations
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-06-13 19:42:07 +09:00
Hiroshi Miura
cab78ff8fb Refactoring
- Refactoring archives classes to use inhert functions
- define installer.finalize() and call it explicit from cli.py

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-31 14:24:53 +09:00
Hiroshi Miura
358819e6b4 Add subcommand to intall doc/src/examples
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-31 12:56:32 +09:00
Hiroshi Miura
72c4589e7d Patch qmake as finalize process (#130)
* Patch qmake hard coded path with installed prefix(#100)
* AP: Update tests
 - Test android target with 5.14.x
 - Test ios target on mac
* Does not patch mac framework when android, ios and wasm
* Update changelog
* GHA: Update to run qmake to check patch
  - Check qmake works well if patched.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-21 21:56:04 +09:00
Hiroshi Miura
fcb5b45631 CLI: Add --archives option
when specify '--archive qtbase qttools' then
aqt installs these subset of installation.

There is no gurantee it works, and it is an advanced
option.

Implemented #126

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-19 12:14:25 +09:00
Hiroshi Miura
32d4cb7e6e Tool: fix download url construction with full_version
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-03 15:39:30 +09:00
Hiroshi Miura
10aa3c230b Fix Tools intallation
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-02 12:38:30 +09:00
Hiroshi Miura
6bf28e5afb Update Error Handling
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-02 12:19:40 +09:00
Hiroshi Miura
048d129768 Fix handling of QtArchive variables
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-02 12:19:40 +09:00
Hiroshi Miura
a097878bc0 test: Add unit test for archives.py
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-02 08:40:41 +09:00
Hiroshi Miura
f662ed11d0 Add debug message when failing parse package information
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-02 07:55:37 +09:00
Hiroshi Miura
79b5a297b5 Check version number and improve error messages (#102)
* Check Qt versions and report 404 error

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-03-01 11:35:39 +09:00
Hiroshi Miura
996537a0bd Fix #81: support extra modules in Qt5.9
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-01-13 23:32:40 +09:00
Hiroshi Miura
7148599017 Default to use internal extraction (#80)
* Default to use py7zr
* Bamp up required py7zr >=0.5b5
* Drop --internal cli option

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-01-11 00:51:25 +09:00
Hiroshi Miura
fb28712de8 Add option to add all extra modules (#79)
* Add all extra modules installation feature

implement #75

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-01-07 12:26:45 +09:00
Hiroshi Miura
97e9af09b3 Revert mirror selection to original
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-11-29 21:01:24 +09:00
Hiroshi Miura
ea79fe6b74 PEP8
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-11-29 13:04:15 +09:00
Hiroshi Miura
fbf413be50 Improve mirror handling
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-11-24 21:56:41 +09:00
Hiroshi Miura
a678da038c PEP8
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-11-24 15:51:49 +09:00
Hiroshi Miura
ac7121d1ea Use original site for update.xml
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-11-24 15:50:17 +09:00
Hiroshi Miura
f0facbac77 Fix inconsitent module handling when wasm_32 is specified
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-11-24 12:01:32 +09:00
Hiroshi Miura
ffcef8b304 Update autodoc
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-11-24 11:21:49 +09:00
Hiroshi Miura
73ba2b67de Support wasm components installation (#55)
* Support for WebAssembler

- Qt 5.12 provide tech preview for wasm, and 5.13 and later it supports.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-11-16 23:44:50 +09:00
Hiroshi Miura
c85c9d0112 Support explicit spec for extra modules
Original commit by: Hiroshi Miura <miurahr@linux.com>
2019-11-16 13:40:13 +01:00
Hiroshi Miura
e937dff283 Add CI test for tool installation (#47)
* Test: Update target Qt versions
* Add tools test
* tools: fix errors

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-10-08 09:26:24 +09:00
Hiroshi Miura
bdf09c09ed Fix installation target directory
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-10-07 14:18:32 +09:00
Hiroshi Miura
b6a294df0d PEP8
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-10-07 14:16:42 +09:00
Hiroshi Miura
d325136c5e Fix error for nonetype
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-10-07 14:12:30 +09:00
Hiroshi Miura
346f2ce436 Experimental implementation for tools installer
- command line
  `python -m aqt tools tools_ifw windows desktop qt.tools.ifw.31`

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-10-07 14:11:24 +09:00
Hiroshi Miura
e8de2e7869 Add MANIFEST.in for distributing logging.yml
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-09-28 16:23:47 +09:00
Hiroshi Miura
79eb91492a Fix attribute not exist error
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-09-28 15:51:02 +09:00
Hiroshi Miura
acb3366923 Improve logging
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-09-28 15:20:20 +09:00
Hiroshi Miura
886376d81b Add logging argument options
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-09-28 11:41:53 +09:00
Hiroshi Miura
a7c56c87b7 Support installarion of mingw runtime
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-06-02 13:47:48 +09:00
Hiroshi Miura
98a843c591 Fix problematic import
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-06-01 17:53:05 +09:00
Hiroshi Miura
74a3459773 Improve error message
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-06-01 14:31:39 +09:00
Hiroshi Miura
9434a15808 PEP8 again 2019-05-30 10:17:28 +09:00
Hiroshi Miura
e73c776d84 PEP8
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-05-30 08:07:59 +09:00
Hiroshi Miura
69e60e511f change option name to -base not to be same as python module option
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-05-30 08:03:31 +09:00
Hiroshi Miura
b34a8099e6 Add mirror url option
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-05-29 22:20:01 +09:00
Hiroshi Miura
30836c5c9f Refactoring metalink
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-05-26 21:48:32 +09:00