Skip to content

Conversation

@rodrigost23
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the Package Add Use this to request a package to be added label Oct 14, 2025
@rodrigost23 rodrigost23 requested a review from Elsie19 November 17, 2025 11:38
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")
Copy link
Member

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.

Copy link
Contributor Author

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).

Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Package Add Use this to request a package to be added

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants