One of the largest steps toward cleaning up our projects was getting each game and extension split into their own repositories and building independently.
Part of the reason for doing this was to provide a Oxide extensions and its core separately and free from any game-related code. Having these projects separate would allow game developer and plugin developers to grab and use what they need, without having to haul around every other game they may not need or have interest in. This new setup also provides for faster builds as the build server won't have to create a new build for each and every project, only those that have had changes made to them.
While not entirely recent, you may have also noticed that we no longer store game DLLs in our GitHub repositories, but instead download those on-demand from Steam based on if you own the game or not. For most games, the dedicated servers are freely available and do not require a login, but it's best that we keep any copyrighted game code out of the repositories, just to be safe!
You can see the various new repositories at Oxide · GitHub. If you're looking for builds for a particular game, you can find those under the Releases tab of the extension's repo (ie. Oxide.Rust). We're also still providing the "latest" URL at Release Latest · OxideMod/Oxide · GitHub.
GitHub repository changes
Discussion in 'News and Announcements' started by Wulf, Nov 16, 2017.
-
Wulf Community Admin
-
Will the latest rust binaries always be at https://github.com/OxideMod/Oxide/releases/download/latest/Oxide-Rust.zip ?
-
Wulf Community Admin
-
-
Sorry for being such a lay-person Wulf.......put just so I am clear, I/We.....need to now download both this repository as well as the new build file?
You have just separated the extensions from the main Oxide build, such as Rust:io and the like?
Thanks -
Wulf Community Admin
-
Will there be a links like https://github.com/OxideMod/Oxide.Rust/releases/download/latest/Oxide.Rust.zip as a replacement for old link? Currently its isn't available
-
Wulf Community Admin
-
-
When will this take effect?
-
Wulf Community Admin
-
For everyone that needs to get the latest release for their Auto Update Scripts, you can get it without the latest tag via the GitHub API:
https://api.github.com/repos/OxideMod/Oxide.Rust/releases/latest
Take a look at the browser_download_url, that will always point to the latest release
Code:curl -s https://api.github.com/repos/OxideMod/Oxide.Rust/releases/latest | jq -r ".assets[] | select(.name | test(\"${spruce_type}\")) | .browser_download_url"
Source: How to download the latest release from Github -
-
@Captian Cock That wouldn't work for upgrade scripts as you would have to manually change the version number every time. The correct repository would be something like
Code:https://github.com/OxideMod/Oxide.Rust/releases/download/latest/Oxide.Rust.zip
-
Wulf Community Admin
-
I check the OxideMod release version number against my last known local download to see if there has been an update. After today's changes, I use this version of the command-line Captian Cock posted to get the isolated version number
Code:curl -s https://api.github.com/repos/OxideMod/Oxide.Rust/releases/latest | jq -r ".tag_name"
-
which link can I use to download the update in rustide?
-
I have been checking the api against the Rust plugin version generated in the oxide logs. I noticed the last update the version that displays in the logs is not the same as the version listed on the Git latest api.
Is this just a bug from all the recent changes, or should I change the way my script compares versions? Is the version listed on GitHub more accurate than the version generated in the logs?
Thanks -
Wulf Community Admin
Last edited: Nov 17, 2017 -