ef7160fe7c
Include default system and arch synonyms
...
Some projects use different system and arch names in their assets.
Sometimes due to convention or differeing tools and systems. For
example, on macOS 13.6, Python will return the system as `Darwin`.
However, some release assets will be named `macOS` or `macos`. Similarly
`arm64` and `aarch64` are used interchangeably.
This patch adds a few lists of synonymous values such that
release-gitter can make an attempt at matching the intended binary.
These lists of synonyms can be expanded to be more complete as time goes
on.
These synonyms are only used if there is no user provided mapping. In
the case that any user provided mapping exists, the map will be the
sole source of truth. Eg. If you provide a map for `Windows=>windows`,
no other values will be mapped and we won't assume that `Darwin=>macos`
anymore.
2024-05-14 14:15:35 -07:00
ddf509e9a4
Bump patch version to 2.2.1
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-10-31 20:42:28 -07:00
3eb5fb3d75
Bump version to v2.2.0
continuous-integration/drone/tag Build is failing
continuous-integration/drone/push Build is passing
2023-10-27 15:32:43 -07:00
ff803dbc31
Use hatch dynamic version so that we can increment before test uploads
continuous-integration/drone/push Build is failing
2023-10-27 14:25:02 -07:00
b0e327e2cd
Remove walrus operator to fix for python3.7
...
continuous-integration/drone/push Build is passing
Python 3.7 goes into end of support mode tomorrow, 2023-06-27, but will
likely be in wide use for some time after
2023-06-26 16:14:34 -07:00
ab1f25304b
Correct some argument help strings
continuous-integration/drone/push Build is failing
2023-06-12 11:08:45 -07:00
dfc12ed79e
Raise exception if trying to extract a member that doesn't exist
2023-06-12 11:08:21 -07:00
0f46808403
Add verbose flag to print version and asset downloaded
continuous-integration/drone/push Build is passing
2023-06-05 11:45:22 -07:00
d555284a01
Avoid installing pre-release versions unless explicitly asked
continuous-integration/drone/push Build is passing
2023-05-22 17:09:55 -07:00
869b0b25b4
Fix passing of version when using download_release
2023-05-22 17:05:28 -07:00
d6c0673a1d
Use new type annotations introduced in Python 3.10
continuous-integration/drone/push Build is passing
2022-10-11 12:42:07 -07:00
ab0603d1b9
Improve content type detection
...
continuous-integration/drone/push Build is passing
Cycle through detected content types and use the first supported one.
Adds tests to cover cases of priority and exceptions.
2022-10-11 12:20:57 -07:00
e6a269af3d
Add application/x-tar+xz as a known content type
2022-10-11 12:20:08 -07:00
fe0d9059aa
Recognize new zip content type
continuous-integration/drone/tag Build was killed
continuous-integration/drone/push Build is failing
2022-08-31 12:26:41 -07:00
8585380eae
Fix missing removeprefix in pseudo_builder.py
2022-06-30 19:48:35 -07:00
3f23ddd3cc
Support for python3.7 and python3.8
...
continuous-integration/drone/push Build is passing
Added tox targets as well
2022-06-30 15:37:24 -07:00
e046c9a92a
Add the ability to format in asset name into post download command
2022-06-08 08:50:20 -07:00
61496f3b18
Refactor some method names and Python API
2022-03-10 16:46:13 -08:00
c8607d0207
Add additional recognized content types for extract
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build was killed
2022-03-10 16:44:57 -08:00
f36c0b7ff7
Add additional tar/gzip headers
2022-01-10 11:50:07 -08:00
648784b91c
Add path argument
...
continuous-integration/drone/push Build is passing
This allows specifying a download directory.
Note: This is rhe directory, not name of the downloaded file(s)
2022-01-09 13:27:06 -08:00
020d9f442e
Add new fetching of git tags
2022-01-07 11:08:37 -08:00
c2ae14d48c
Update pre-commit and get tests passing
2022-01-05 20:27:37 -08:00
764d0f9e3a
Initial working
2022-01-05 17:01:44 -08:00