-
-
Notifications
You must be signed in to change notification settings - Fork 166
add: artemisrgb-bin
#8149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
add: artemisrgb-bin
#8149
Conversation
db0e336 to
cc92456
Compare
| license=("custom:PolyForm Noncommercial License 1.0.0") | ||
| depends=("dotnet-runtime-8.0 | dotnet-runtime-7.0" "hicolor-icon-theme" "libc6" "bash" "zlib1g" "fontconfig" "libstdc++6") | ||
| makedepends=("unzip") | ||
| source=("${pkgname}-${pkgver}.zip::https://updating.artemis-rgb.com/api/artifacts/3795832408") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This URL isn't locked to a specific version that can be locked with pkgver, so I'm hesitant to approve this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The official website uses an API to get releases information, and returns artifact ID tied to a specific release.
Get releases:
$ curl 'https://updating.artemis-rgb.com/graphql' \
-X POST \
-H 'Accept: */*' \
-H 'content-type: application/json' \
--data-raw $'{"operationName":"GetReleases","variables":{"branch":"master","platform":"LINUX"},"query":"query GetReleases($branch: String\041, $platform: Platform\041, $after: String) {\\n publishedReleases(\\n first: 50\\n after: $after\\n where: {and: [{branch: {eq: $branch}}, {artifacts: {some: {platform: {eq: $platform}}}}]}\\n order: {createdAt: DESC}\\n ) {\\n pageInfo {\\n hasNextPage\\n endCursor\\n __typename\\n }\\n edges {\\n node {\\n id\\n version\\n createdAt\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n}\\n"}'
{"data":{"publishedReleases":{"pageInfo":{"hasNextPage":false,"endCursor":"MA==","__typename":"PageInfo"},"edges":[{"node":{"id":"12612f77-7bbd-4699-bef1-49e3c7fe2e79","version":"1.2025.0819.0","createdAt":"2025-08-19T07:15:36.000Z","__typename":"Release"},"__typename":"PublishedReleasesEdge"}],"__typename":"PublishedReleasesConnection"}}}
(Release version 1.2025.0819.0 with id 12612f77-7bbd-4699-bef1-49e3c7fe2e79)
Get release info:
$ curl 'https://updating.artemis-rgb.com/graphql' \
-X POST \
-H 'Accept: */*' \
-H 'content-type: application/json' \
--data-raw $'{"operationName":"GetRelease","variables":{"id":"12612f77-7bbd-4699-bef1-49e3c7fe2e79","platform":"LINUX","branch":"master"},"query":"query GetRelease($id: UUID\041, $branch: String\041, $platform: Platform\041) {\\n publishedRelease(id: $id) {\\n id\\n createdAt\\n commit\\n artifacts {\\n platform\\n artifactId\\n fileInfo {\\n downloadSize\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n nextPublishedRelease(branch: $branch, platform: $platform) {\\n id\\n __typename\\n }\\n}\\n"}'
{"data":{"publishedRelease":{"id":"12612f77-7bbd-4699-bef1-49e3c7fe2e79","createdAt":"2025-08-19T07:15:36.000Z","commit":"acd35176e1c6661a887e467ef4b294eddb532726","artifacts":[{"platform":"OSX","artifactId":3795834372,"fileInfo":{"downloadSize":108848192,"__typename":"ArtifactFileInfo"},"__typename":"Artifact"},{"platform":"LINUX","artifactId":3795832408,"fileInfo":{"downloadSize":106349827,"__typename":"ArtifactFileInfo"},"__typename":"Artifact"},{"platform":"WINDOWS","artifactId":3795842184,"fileInfo":{"downloadSize":119196807,"__typename":"ArtifactFileInfo"},"__typename":"Artifact"}],"__typename":"Release"},"nextPublishedRelease":{"id":"12612f77-7bbd-4699-bef1-49e3c7fe2e79","__typename":"Release"}}}
(Artifact ID for Linux is 3795832408).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm mostly concerned with pacup not being able to be used to update the pacscript, but if there's no other way, lmk and I'll approve the PR.
No description provided.