#463 closed task (fixed)
Set up source/data snapshots
Reported by: | Philip Taylor | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Pre-Alpha 1 |
Component: | Non-game systems | Keywords: | |
Cc: | Patch: |
Description
Rather than forcing everyone to download from SVN, there should be a few downloadable-over-HTTP snapshots provided:
- Linux/OSX SVN working copy, so people can run
svn up
. - Windows SVN working copy, so people can run TortoiseSVN update.
- (These differ because of line endings. Also, we should ideally have a separate Linux SVN URL that excludes the Windows binaries, but that's not critical.)
- (These need to be done for a sufficiently old version of the SVN client, so it'll work for users with those old versions.)
- Linux/OSX data files (just the
binaries/data/
directory), to be used by most distro packages. - Linux/OSX build files (everything that's not
binaries/data/
), to be used by people who are creating packages and by source-based distros. - Windows data files plus executables (like Linux data plus
binaries/system/
, and with Windows line endings), to be used by non-developers on Windows.
These don't all need to be updated constantly, but hopefully it'll be fairly frequent and so it should be automated as much as possible. Maybe use Wine to generate the Windows working copies.
In the non-SVN distributions, svn_revision.txt
should be set to something appropriate.
Windows files should be .7z (because .zip is far too inefficient). Linux files should be .tar.gz or maybe .7z/.tar.lzma (if it's efficient enough to be worthwhile).
Put the files on releases.wildfiregames.com
so we can move the hosting around easily.
Change History (9)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Looks like .7z is about 15% more efficient than .tar.bz2 for the files that are needed on Linux. They're each about 100MB in total. I guess disk space is cheap enough that it's maybe best to have both formats, because some people will care about waiting to download the extra 15MB and some people won't want to bother installing 7-Zip.
Possible file naming convention: 0ad-r07362-{unix-svn,win-svn,unix-data,unix-build,win}.{7z,tar.bz2}
, using the SVN revision number (with room for expansion without breaking the sorting order) to identify the version, plus symlinks from 0ad-latest-...
for the latest published release.
comment:3 by , 14 years ago
Hmm, SVN doesn't work in Wine (I get "svn: Network socket initialization failed" like in here). That makes working copy snapshots more irritating to produce. I'm tempted to not bother, and instead fix #455 and tell people to just do an SVN checkout if they want it, and just provide the non-SVN non-updatable packages.
comment:4 by , 14 years ago
You may want to use xz ( http://tukaani.org/xz/ ) rather than 7z/lzma (tar already support it with -J option).
comment:5 by , 14 years ago
Yeah, I discovered that when looking at this yesterday :-) . Seems to be the new standard thing to use (at least glibc and Arch went with it), and it's basically the same LZMA compression, so it sounds like a good idea. Didn't know about the -J - apparently it was added in a release a year ago, but my tar is too old, so I guess we should give instructions for both tar xJ
and xv|tar x
.
Should have something here to test this weekend, hopefully.
comment:9 by , 12 years ago
Milestone: | → Pre-Alpha 1 |
---|
(I probably meant .tar.bz2, not .tar.gz)