To keep this commit small, `hashurl` was removed from QtPackage, and
`get_hash` constructs the hash url based on the url of the 7z archive
to download. I think that in the future, QtArchive and QtPackage could
be refactored to construct this url more appropriately. However, this
would be a complicated change that doesn't belong in this commit.
This recreates the legacy behavior, where `aqt tool` would fail to
install a tool variant when the version in the xml file does not match
the version requested in cli arguments.
This also recreates a bug where `aqt tool` cannot install tools that
do not have a valid semantic version.
This change alters the variable name "target" to the more appropriate
"arch", and adds appropriate parameter names to the QtArchive
constructor call, so that the test runs properly
This also updates the use of the 'QtPackage.url' data member to
'QtPackage.archive_url', which is more current.
* Use global variable to hold Settings
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
* Settings global instance to hold configurations
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
* Revert to Settings class to helper module
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
* Revert Settings class variables
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
* PEP8
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
* CI: change actions to use macos-11
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
* Revert "CI: change actions to use macos-11"
CI: macos-11 is just for private preview
This reverts commit f1d576f4bf.
* Add cuteci intaller
* Check qtaccount.ini existence
* Fix subprocess call
* sub command show elapsed time
* test: cli: update help message exception
* Update URL base handling
* old version installer accept environment variable
- qtaccount: QTLOGIN and QTPASSWORD variable
* Change cuteci sub command to 'offline_installer'
* Update qscript to deselect QtCreator from installation
* Reuse downloaded installer file
* Update test and fix MANIFEST
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
* 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>