protonscr

Alias for latest dxvk release?

dxvkclosed
doitsujin/dxvk#462 · opened 2018-06-28 by shmerl · updated 2018-07-07 · 11 comments · github
Sshmerl 2018-06-28 github

Some projects like winetricks can benefit from linking to a fixed URL that always points to the latest release of dxvk, to avoid constantly bumping the version in their code. Is there any way to do it?

This suggests that it can be https://github.com/doitsujin/dxvk/releases/latest but it doesn't seem to do anything.

Sshmerl 2018-06-28 github

https://api.github.com/repos/doitsujin/dxvk/releases/latest also produces:

{
  "message": "Not Found",
  "documentation_url": "https://developer.github.com/v3/repos/releases/#get-the-latest-release"
}
Ddoitsujin maintainer 2018-06-28 github

I'm not aware of any way to do this on github.

There might be some workarounds like adding a text file to the repo containing a URL pointing to the latest release or something, but that's kind of cumbersome.

ZZeroFault 2018-06-28 github

You could try to create a tagged release called latest. Then edit the tag to update the binaries each release if you want.

Sshmerl 2018-06-28 github

You can also use Github "pages" and simply create some fixed link that always points to the latest release. It will still need to be updated somehow, but you can script it by querying the latest tag for example.

Aaustin987 2018-06-28 github

Editing tags is bad practice, afaik..

Sshmerl 2018-06-28 github

@austin987 : May be winetricks can simply calculate the latest tag? It can use git for that (though that becomes a prerequisite).

Aaustin987 2018-06-28 github

@shmerl, that would require checking out the git repo, currently we just download the binaries.

Brainstorming: Do you have a release script? The script could provide a stable URL when publishing a release.

Sssorgatem 2018-07-04 github

There could be a file named RELEASE or VERSION, containing the latest version number/release, and the url can be deduced with just that (I do this for the dxvk-bin PKGBUILD).

Ddoitsujin maintainer 2018-07-04 github

Looks like the links pointing to the raw repository files are stable (such as https://raw.githubusercontent.com/doitsujin/dxvk/master/README.md) so i guess that's actually an option.

Edit: Done as of 357a75eb88f0c192fd6ed614c98ca8efa7af7df8. Please let me know if that works.

Aaustin987 2018-07-07 github
Ddoitsujin maintainer 2018-07-07 github

Great, thanks for reporting back.

Nothing extracted yet.