bones_was_here [Sun, 23 Mar 2025 00:40:44 +0000 (10:40 +1000)]
rsync: support updating the mappingsupport package, reduce timestamp noise
The mappingsupport package has been available via rsync for years but it
didn't include the updater and wasn't recognised by it.
It also lacked the license (now required by the updater).
bones_was_here [Tue, 18 Mar 2025 05:35:44 +0000 (15:35 +1000)]
rsync: implement mirror support with push updates and autoselect
bones_was_here [Wed, 26 Feb 2025 01:54:20 +0000 (11:54 +1000)]
rsync: implement SSL/TLS, change URL
I've added rsync TLS termination to the xonotic.org reverse proxy and
updated its rsyncd config. Legacy Xonotic rsync updaters are still
supported.
These client scripts use openssl to verify the server certificate and
protect the rsync connection.
Changed the URL so the server config no longer needs to define a module
for every package, so rsync URLs can also be browsable via https, and so
we don't confusingly use beta.xonotic.org to update to a stable release.
bones_was_here [Wed, 26 Feb 2025 01:56:50 +0000 (11:56 +1000)]
rsync: improve status messages, fix target selection
Fixes printing the wrong message "release" when updating from an
autobuild zip. That code can't distinguish between rsync and release
reliably (because an autobuild zip has the release-style pk3 names) and
doesn't need to.
Fixes the "secret trick" potentially clobbering the filesystem:
downloading update-to-autobuild.sh separately to /home/user/Downloads/
and running from there it downloaded Xonotic to ~/Downloads/Xonotic/,
but if run again it detected that new Xonotic/ directory and set the
rsync target to ../../.. (ie /). That fallback target is no longer
supported as it's a bit odd to download a complete copy via the updater,
but it can still be done by creating the script parent directories.
Moves the main "Do you want to continue" after other messages so the
user is better informed about what they're confirming.
bones_was_here [Thu, 20 Mar 2025 11:40:11 +0000 (21:40 +1000)]
rsync: optimise file matching and deletion, print stats in human-readable units
bones_was_here [Wed, 19 Mar 2025 19:52:42 +0000 (05:52 +1000)]
rsync: mostly replace Windows batch script with POSIX shell script
This makes advanced features easier to implement because the language is
more powerful and standardised, and allows most of the code to be shared
by all platforms.
The Linux script is better so this brings various improvements.
Fixes minor inconsistencies in Windows file excludes.
bones_was_here [Tue, 11 Mar 2025 21:00:09 +0000 (07:00 +1000)]
rsync: automate Windows binary maintenance
Sources from msys2 rather than cygwin because msys2 uses ~standard
pacman which allows a linux build server to fetch the current bins
cleanly, also msys2 has newer rsync and openssl.
Increases minimum Windows rsync OS requirement to Windows 10 x64,
see https://www.msys2.org/docs/windows_support/
Removes redundant copy and chmod batch steps.
The chmod was a workaround only needed due to running rsync with
--executability (needed on linux but it was probably a mistake to use it
on windows where it causes problems due to windows' lack of a direct
equivalent of the unix execute permission).
Reduces remaining batch spam.
bones_was_here [Mon, 17 Mar 2025 23:05:33 +0000 (09:05 +1000)]
rsync: improve robustness of scripts, fix non-interactive mode
POSIX shell:
- In non-interactive mode an infinite loop occurred unless the --yes
argument was passed.
- `which` is a non-standard program, `command -v` is a POSIX standard
shell builtin.
- `exec` prevents potential glitches when the script is updated by rsync
while still running.
Windows batch:
- Variable assignments persisted after batch exit, potentially
interfering with other batch execution.
- If copying failed the window closed before the error could be read.
bones_was_here [Wed, 26 Feb 2025 01:50:02 +0000 (11:50 +1000)]
rsync: reduce duplication of literals, print the update operation more clearly
Linux: clarifies the message about the update being performed
Windows: adds that message
bones_was_here [Sat, 1 Mar 2025 17:38:15 +0000 (17:38 +0000)]
Merge "CONTRIBUTING.md updates"
Source branch: 'drjaska/contributing'
Target branch: 'master'
Closes xonotic-data.pk3dir#2943
See merge request xonotic/xonotic!121
bones_was_here [Sat, 1 Mar 2025 17:31:47 +0000 (03:31 +1000)]
Makefile: suppress an expected error message, further tweak help text
bones_was_here [Sat, 1 Mar 2025 17:13:17 +0000 (17:13 +0000)]
Merge "Slightly improve make help output"
Source branch: 'drjaska/Makefile'
Target branch: 'master'
See merge request xonotic/xonotic!117
Dr. Jaska [Sat, 1 Mar 2025 17:13:17 +0000 (17:13 +0000)]
Slightly improve make help output
bones_was_here [Sat, 1 Mar 2025 17:12:45 +0000 (17:12 +0000)]
Merge "Update pom.xml to use 1.8"
Source branch: 'nexdemorecorder'
Target branch: 'master'
See merge request xonotic/xonotic!114
bones_was_here [Fri, 21 Feb 2025 21:54:52 +0000 (07:54 +1000)]
CONTRIBUTING: update maintainer section
bones_was_here [Fri, 21 Feb 2025 20:50:03 +0000 (06:50 +1000)]
CONTRIBUTING: brevity adjustments
bones_was_here [Fri, 21 Feb 2025 20:28:28 +0000 (06:28 +1000)]
CONTRIBUTING: update licensing section
drjaska [Sat, 15 Feb 2025 12:27:52 +0000 (14:27 +0200)]
CONTRIBUTING: grammar improvements
drjaska [Sat, 15 Feb 2025 12:14:16 +0000 (14:14 +0200)]
Add XONRELEASE TODO in style guide
Closes https://gitlab.com/xonotic/xonotic-data.pk3dir/-/issues/2943
Rudolf Polzer [Sat, 2 Nov 2024 12:36:28 +0000 (13:36 +0100)]
Don't prune kicked users.
Rudolf Polzer [Sat, 2 Nov 2024 12:09:05 +0000 (13:09 +0100)]
Reset score for kicked users.
Rudolf Polzer [Wed, 30 Oct 2024 21:03:05 +0000 (22:03 +0100)]
Fix comment in powerbot.
terencehill [Thu, 5 Sep 2024 23:22:27 +0000 (01:22 +0200)]
Fix demotc-race-record-extractor.sh not detecting CTF records
Bug introduced in !113
bones_was_here [Wed, 28 Aug 2024 13:17:13 +0000 (23:17 +1000)]
Adjust autobuild retention again
bones_was_here [Wed, 7 Aug 2024 17:25:07 +0000 (03:25 +1000)]
Get DP version string from the correct repo...
bones_was_here [Wed, 7 Aug 2024 16:25:48 +0000 (02:25 +1000)]
Set DP version string
bones_was_here [Tue, 6 Aug 2024 13:09:49 +0000 (13:09 +0000)]
Merge branch 'AppStream-fixes' into 'master'
Modernize the AppStream metadata
See merge request xonotic/xonotic!118
AsciiWolf [Sun, 4 Aug 2024 14:00:08 +0000 (16:00 +0200)]
Modernize the AppStream metadata
- Switch to a rDNS app id format that is now required
- Various fixes to make the file adhere to modern standards
- Remove my copyright/update contact
bones_was_here [Tue, 23 Jul 2024 06:49:37 +0000 (16:49 +1000)]
Include all stormkeep files required by pipeline
Dr. Jaska [Mon, 22 Jul 2024 20:42:02 +0000 (20:42 +0000)]
Merge branch 'drjaska/script-cleanup' into 'master'
Clean up misc/tools/tag-release.sh
See merge request xonotic/xonotic!116
Dr. Jaska [Mon, 22 Jul 2024 20:42:02 +0000 (20:42 +0000)]
Clean up misc/tools/tag-release.sh
terencehill [Tue, 30 Apr 2024 09:20:30 +0000 (09:20 +0000)]
demotc-race-record-extractor.sh: remove useless rc case (gametype name is always uppercase)
terencehill [Tue, 30 Apr 2024 09:19:12 +0000 (09:19 +0000)]
Merge branch 'ctsdemoextractor' into 'master'
Fix demotc-race-record-extractor.sh not detecting CTS and CTF records
See merge request xonotic/xonotic!113
MxCraven [Mon, 22 Apr 2024 14:21:17 +0000 (14:21 +0000)]
Update pom.xml to use 1.8
MxCraven [Mon, 22 Apr 2024 14:17:39 +0000 (14:17 +0000)]
Update demotc-race-record-extractor.sh. Capitalised CTS and CTF to make pattern recognition work. Thank you Des <3
bones_was_here [Fri, 22 Mar 2024 03:26:31 +0000 (13:26 +1000)]
Fix macOS SDL2 framework permissions
Rudolf Polzer [Tue, 19 Mar 2024 11:32:42 +0000 (04:32 -0700)]
Fix frameworks path.
It works with this path too, and is more standard.
Rudolf Polzer [Tue, 19 Mar 2024 01:34:56 +0000 (21:34 -0400)]
autobuild: add SDL2.framework to Xonotic.app
Oopsie...
bones_was_here [Sun, 25 Feb 2024 22:00:20 +0000 (08:00 +1000)]
Adjust autobuild retention
Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
bones_was_here [Sun, 25 Feb 2024 13:17:01 +0000 (13:17 +0000)]
Merge branch 'bones_was_here/CONTRIBUTING.md' into 'master'
Add a CONTRIBUTING.md
See merge request xonotic/xonotic!106
bones_was_here [Thu, 14 Sep 2023 16:36:17 +0000 (02:36 +1000)]
Add a CONTRIBUTING.md
This is based on wiki pages and DP's CONTRIBUTING.md and it adds some
policies that previously were expected but not documented.
This is intended to replace policy and licensing sections of the wiki,
partly to collate these and partly because only the Team should be able
to push updates to them.
Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
bones_was_here [Wed, 3 Jan 2024 19:51:48 +0000 (05:51 +1000)]
Remove execute bit from Windows rsync update scripts
Nicer tab completion on Linux. Windows doesn't support the execute bit
anyway.
bones_was_here [Sun, 31 Dec 2023 12:41:25 +0000 (22:41 +1000)]
Only (re)generate the libd0 Makefile when necessary in dev/git builds
Also fixes the `distclean` case: that target deletes the Makefile so we
need to generate it again before we can build.
bones_was_here [Wed, 27 Dec 2023 14:09:08 +0000 (00:09 +1000)]
Remove buildfiles: second copy of SDL for Mac specific to dev/git builds, and related workarounds for old DP
Mac users will need a newer version which can be installed from homebrew
as mentioned in https://gitlab.com/xonotic/darkplaces/-/blob/master/README.md#macos
bones_was_here [Wed, 27 Dec 2023 05:39:46 +0000 (15:39 +1000)]
Use default (shared linking) instead of dlopen for libjpeg in Windows dev/git builds
bones_was_here [Tue, 26 Dec 2023 11:00:47 +0000 (21:00 +1000)]
Explicitly specify linking of all autobuild engine libs
bones_was_here [Mon, 25 Dec 2023 18:56:51 +0000 (04:56 +1000)]
Parallel build fixes and minor cleanups
Fixes parallel builds which were broken in
584edbe3c5a1f0ab189d84d4d7b4a921f8064160 by insufficient RTFM.
Enables parallel schroot builds.
bones_was_here [Mon, 25 Dec 2023 18:01:18 +0000 (04:01 +1000)]
Fix Windows autobuild
...but why did it work when tested without hacks?
Previously this was hacked differently in the sdl2-config in the repo.
bones_was_here [Mon, 25 Dec 2023 17:08:14 +0000 (03:08 +1000)]
Fix Linux autobuild
bones_was_here [Mon, 25 Dec 2023 16:05:47 +0000 (02:05 +1000)]
Fix libd0 autobuild
bones_was_here [Mon, 25 Dec 2023 15:50:41 +0000 (01:50 +1000)]
Merge branch 'libcleanup' into 'master'
Remove precompiled libraries
See merge request https://gitlab.com/xonotic/xonotic/-/merge_requests/110
bones_was_here [Mon, 25 Dec 2023 15:22:17 +0000 (01:22 +1000)]
Remove builddeps: osx/sdl
This is now fetched from upstream in autobuilds, people compiling from
git can install it from homebrew.
bones_was_here [Mon, 25 Dec 2023 09:37:34 +0000 (19:37 +1000)]
Remove buildfiles: win32/*.dll win64/*.dll
We're autobuilding these from maintained sources.
bones_was_here [Mon, 25 Dec 2023 09:31:16 +0000 (19:31 +1000)]
Remove builddeps: win32/dx win64/dx win32/zlib win64/zlib
We're autobuilding zlib and developers can install it from MSYS2 pacman,
dx is obsolete.
bones_was_here [Mon, 25 Dec 2023 09:27:21 +0000 (19:27 +1000)]
Remove builddeps: linux64/d0_blind_id linux64/gmp linux64/ode
We're building libd0, obtaining libgmp from the system, and will build
and ship libode if people want it.
drjaska [Thu, 21 Dec 2023 21:01:44 +0000 (23:01 +0200)]
Remove builddeps: win32/gmp win64/gmp win32/sdl win64/sdl
bones_was_here [Sun, 24 Dec 2023 07:38:35 +0000 (17:38 +1000)]
Remove builddeps: linux32/*
These files have been unused for years.
bones_was_here [Mon, 25 Dec 2023 15:34:28 +0000 (01:34 +1000)]
Merge branch 'bones_was_here/libs' into 'master'
Autobuild libd0 for Linux, always build libd0 in dev/git builds, fetch SDL2 for Mac, fixes & cleanup
See merge request https://gitlab.com/xonotic/xonotic/-/merge_requests/111
bones_was_here [Mon, 25 Dec 2023 15:12:11 +0000 (01:12 +1000)]
Increase minimum Mac OS X version to 10.7
This is the minimum for building with SDL 2.28.5
Even so,
ld: warning: dylib (../../../.deps/SDL2.framework/SDL2) was built for newer macOS version (10.11) than being linked (10.7)
bones_was_here [Mon, 25 Dec 2023 13:18:19 +0000 (23:18 +1000)]
Fetch SDL2 from upstream for Mac autobuilds
bones_was_here [Mon, 25 Dec 2023 09:14:02 +0000 (19:14 +1000)]
Remove libode from Linux autobuilds
This is still supported if the system has the lib installed. We can
build and ship the library (for Windows too) if people want to use it,
in the meantime we can remove the precompiled version from the repo.
bones_was_here [Mon, 25 Dec 2023 09:06:03 +0000 (19:06 +1000)]
Autobuild libd0 for Linux
We're already doing this for Windows.
bones_was_here [Sun, 24 Dec 2023 08:40:53 +0000 (18:40 +1000)]
Remove support for precompiled versions of libd0 in dev builds
bones_was_here [Sun, 24 Dec 2023 08:22:15 +0000 (18:22 +1000)]
Improve reliability and portability of compiling libd0 in dev builds
bones_was_here [Wed, 18 Oct 2023 12:18:09 +0000 (22:18 +1000)]
autobuild SDL2 for Windows
bones_was_here [Mon, 25 Dec 2023 11:35:40 +0000 (11:35 +0000)]
Merge branch 'bones_was_here/dpmaster' into 'master'
Upgrade DarkPlaces Engine
See merge request xonotic/xonotic!104
bones_was_here [Sun, 24 Dec 2023 12:07:04 +0000 (22:07 +1000)]
Makefile: remove kludge from libd0 linking
drjaska [Thu, 21 Dec 2023 21:01:13 +0000 (23:01 +0200)]
Windows: use build-environment-supplied libSDL2 in developer builds
This requires developers to have installed SDL2 from MSYS2's `pacman` as
documented in https://gitlab.com/xonotic/xonotic/-/wikis/Repository_Access
Fixes failure to build current DP on Windows: the precompiled SDL2 in
this repo is too old.
Removes the need for manually maintaining that library and storing it in
this repo.
bones_was_here [Tue, 18 Jul 2023 13:24:25 +0000 (23:24 +1000)]
Upgrade DarkPlaces Engine
bones_was_here [Mon, 25 Dec 2023 09:47:21 +0000 (19:47 +1000)]
Don't include git build system in autobuilds
bones_was_here [Mon, 18 Dec 2023 02:59:10 +0000 (12:59 +1000)]
Makefile: improve robustness
Defines all build stages in terms of files generated/required instead of
using PHONY targets.
Ensures `clean` target completes before build targets start and that
no other targets can run while a clean or update target is running.
Works around d0_blind_id autotools flakiness.
Fixes clean targets failing and causing an abort if the d0_blind_id
Makefile doesn't exist.
bones_was_here [Sun, 17 Dec 2023 12:49:25 +0000 (22:49 +1000)]
Misc build updates
Switch to apple's special linker.
Avoid multithreaded flakiness with mac builds.
Strip linux and windows bins (mac bins already were stripped), we almost
never get backtraces for bugs and the few people who are able to produce
one are also able to compile a debug binary.
Unset *nix executable bit on windows dlls.
Dr. Jaska [Thu, 9 Nov 2023 17:10:07 +0000 (17:10 +0000)]
Merge branch 'docs-for-client-and-server-on-same-machine' into 'master'
Added docs for running a client and a dedicated server on same machine
See merge request xonotic/xonotic!109
Tobias [Thu, 9 Nov 2023 17:10:06 +0000 (17:10 +0000)]
Added docs for running a client and a dedicated server on same machine
Rudolf Polzer [Tue, 24 Oct 2023 19:48:34 +0000 (21:48 +0200)]
Declare Xonotic.app as a game to macOS.
This should enable the new "Game Mode" from
https://support.apple.com/en-us/HT213658
To test, make Xonotic fullscreen, move menu to the top and see if a
gamepad icon appears in the top right.
Rudolf Polzer [Thu, 19 Oct 2023 14:19:39 +0000 (16:19 +0200)]
Powerbot: fix crash when a user is entirely unknown but has a managed PL.
bones_was_here [Tue, 17 Oct 2023 05:01:27 +0000 (15:01 +1000)]
DLL builds [win32]: allow newer versions of libgcc
bones_was_here [Sun, 15 Oct 2023 11:11:59 +0000 (21:11 +1000)]
Add support for schroot builds
Rudolf Polzer [Mon, 9 Oct 2023 20:05:18 +0000 (22:05 +0200)]
Fix "typo" in powerbot.
Rudolf Polzer [Mon, 9 Oct 2023 19:59:52 +0000 (21:59 +0200)]
Powerbot: limit size of power levels event in bytes, not count.
Guards against super long usernames or domain names.
Rudolf Polzer [Thu, 5 Oct 2023 20:41:24 +0000 (22:41 +0200)]
powerbot: Fix re-saving.
Rudolf Polzer [Sat, 30 Sep 2023 11:26:24 +0000 (13:26 +0200)]
Logging.
Rudolf Polzer [Sat, 30 Sep 2023 11:20:58 +0000 (13:20 +0200)]
Try to auto handle room upgrades.
Rudolf Polzer [Sat, 30 Sep 2023 11:06:03 +0000 (13:06 +0200)]
Allow naming rooms in the json config.
The name isn't used for anything yet, but makes it easier to update.
Rudolf Polzer [Sat, 30 Sep 2023 10:53:47 +0000 (12:53 +0200)]
Fix constant type.
Rudolf Polzer [Sat, 30 Sep 2023 10:52:24 +0000 (12:52 +0200)]
gofmt
Rudolf Polzer [Sat, 30 Sep 2023 10:51:29 +0000 (12:51 +0200)]
Powerbot: sync weekly only.
bones_was_here [Sun, 27 Aug 2023 14:02:49 +0000 (00:02 +1000)]
DLL builds: run autoreconf for libgmp
This is needed if configure.ac has been patched or the build system is
otherwise outdated.
bones_was_here [Sun, 27 Aug 2023 10:58:45 +0000 (20:58 +1000)]
DLL builds: always clean up first for reliability
bones_was_here [Sun, 27 Aug 2023 10:45:20 +0000 (20:45 +1000)]
DLL builds: switch from unstable to stable sources
bones_was_here [Sat, 5 Aug 2023 15:51:18 +0000 (15:51 +0000)]
Merge branch 'Spike29/disable_q3map2_backsplash' into 'master'
Disable q3map2 backsplash by default (in the -light stage)
See merge request xonotic/xonotic!105
Spike29 [Sat, 5 Aug 2023 10:52:14 +0000 (12:52 +0200)]
Disable q3map2 backsplash by default (in the -light stage)
bones_was_here [Mon, 3 Jul 2023 11:53:29 +0000 (21:53 +1000)]
Minor optimisation and cleanup of builds, mainly for rsync
Sets git-based mtimes for the vast majority of directories (files
already have this).
bones_was_here [Wed, 21 Jun 2023 10:36:38 +0000 (20:36 +1000)]
Release 0.8.6
bones_was_here [Mon, 19 Jun 2023 15:44:14 +0000 (01:44 +1000)]
omit misc/infrastructure from builds
bones_was_here [Mon, 19 Jun 2023 15:32:20 +0000 (01:32 +1000)]
Enable menu hotfix pk3
bones_was_here [Fri, 16 Jun 2023 16:37:50 +0000 (16:37 +0000)]
Merge branch 'Spike29/mappingsupport_cleanup' into 'master'
Mappingsupport pk3: don't include minimaps and empty scripts and sound directories
See merge request xonotic/xonotic!103
Spike29 [Fri, 16 Jun 2023 13:32:44 +0000 (15:32 +0200)]
mappingsupport: don't include minimaps and empty scripts and sound directories
bones_was_here [Sun, 4 Jun 2023 06:43:06 +0000 (16:43 +1000)]
mappingsupport: don't include lightmaps and levelshots from official map builds
bones_was_here [Thu, 1 Jun 2023 08:05:12 +0000 (18:05 +1000)]
autobuild-bsp: make the chat spam fancy