Commit Graph

13 Commits

Author SHA1 Message Date
David Dalcino
301ff5173b Fix generate combinations (#757)
* fix generate_combinations issue with Linux Qt 6.7

Qt 6.7.0 changes the default arch for Linux from gcc_64 to linux_gcc_64.
This allows the generate_combinations.py script to account for that.

Also, Qt 6.7.0 is missing a few architectures that were present in
earlier versions of Qt6. This makes sure that the script can pick those
up.

* black (v 24.1.1)

New version of black formats metadata.py differently than before

* Fix broken generate_combinations.py script

Versions 6.5 and 6.2 must be complete versions

Don't try to fetch Qt6 for target==winrt; it doesn't exist
2024-02-10 15:53:27 +09:00
Hiroshi Miura
50afdb40a8 fix generate_combination
- Use 6.5.3 and 6.2.3 for detection

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-02-10 12:37:18 +09:00
David Dalcino
4994594112 fix generate_combinations issue with Linux Qt 6.7 (#756)
* fix generate_combinations issue with Linux Qt 6.7

Qt 6.7.0 changes the default arch for Linux from gcc_64 to linux_gcc_64.
This allows the generate_combinations.py script to account for that.

Also, Qt 6.7.0 is missing a few architectures that were present in
earlier versions of Qt6. This makes sure that the script can pick those
up.

* black (v 24.1.1)

New version of black formats metadata.py differently than before
2024-02-10 12:24:00 +09:00
Hiroshi Miura
d9c3280748 Update generate_combinations.py
- adjust MetadataFactory 2nd argument as MetadataFactory.ModulesQuery

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-11-23 18:01:14 +09:00
Hiroshi Miura
1dbd73450a Adjust code scanner warnings
- Replace map+filter and list+filter with list comprehension expression
- Use try/except for next(Iterator)
- Add test case for altlink that cause exception on next() in get_altlink
- Avoid exit but use sys.exit

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-11-21 07:34:45 +09:00
Dave Dalcino
c90b262984 remove extensions from ArchiveId 2022-11-16 16:14:55 -08:00
Dave Dalcino
caee04bcb3 Remove extensions 2022-11-16 16:14:54 -08:00
David Dalcino
ec073a6272 Fix incompatible type annotations 2022-03-10 18:29:18 -08:00
David Dalcino
38ae115e19 Fix module fetching in generate_combinations.py 2021-09-17 14:50:13 -07:00
David Dalcino
6b85baefd5 Fix broken generate_combinations.py
Fix #342. This problem was related to refactoring the List subcommand,
which changed the ArchiveId.category to receive "qt" or "tools",
instead of "qt5", "qt6", or "tools"
2021-07-25 23:35:16 -07:00
David Dalcino
e3d28a803c Use library instead of ad-hoc code
This replaces `pretty_print_combos` with `json.dumps`, and
`compare_combos` with `jsoncomparison.Compare`.
2021-07-23 13:28:36 -07:00
David Dalcino
c7f720944a black & isort 2021-07-19 20:32:51 -07:00
David Dalcino
89873da8b3 Implement GH Action that checks combinations.py
This is set to run once per month, and on every push.
Before merging this PR, "push" should be removed from the list of
events that trigger the script, which should not be run so frequently.
The "push" event is turned on for testing only.
2021-07-19 20:26:52 -07:00