jacob404 / promod-future

GNU General Public License v3.0
7 stars 1 forks source link

Add a build script for distribution #224

Closed rpdelaney closed 6 years ago

rpdelaney commented 8 years ago

Since everybody runs linux now anyway, we could package a build script with promod.

:question: Should the build script include an spcomp binary, or attempt to download and compile it from source?

@jacob404 @jbzdarkid : Do you want this attached to a milestone or should I just work in a branch until it's ready to go?

jbzdarkid commented 8 years ago

Branch. Some things to think about:

For my shitty attempt before I joined the team, see here.

rpdelaney commented 8 years ago

I'd suggest a git repo within a git repo (!).

A submodule?

What language are you going to write the script in?

POSIX shell.

jbzdarkid commented 8 years ago

Yes.

rpdelaney commented 8 years ago

@jbzdarkid added a build script in python. I have some reservations about having python2 dependencies in the build app, especially if we plan to use it for distribution eventually. Any objections to me rewriting it in POSIX?

jbzdarkid commented 8 years ago

What python2 deps does it have? I can upgrade to py3, if you need.

rpdelaney commented 8 years ago

Sorry, I meant to say that I think we should avoid dependencies entirely: as nearly as possible, the build app should be self-contained and portable.

jbzdarkid commented 8 years ago

Python felt like the most portable way to distribute, since (iirc) bash isn't on windows and batch isn't on unix.

rpdelaney commented 8 years ago

POSIX sh is everywhere: http://pubs.opengroup.org/onlinepubs/009695399/utilities/sh.html

jbzdarkid commented 8 years ago

6:00 PM - darkid »« \a\a\a Let's play!: so in a nutshell:

  1. Promod (official) should release a config.
  2. Promod should require that server owners that they use this config 2a. Server owners can modify the config slightly (readyup cosmetic changes, e.g.)
  3. (optional) Promod should release a plugin which verifies server owners are using this config. 6:01 PM - Kiss me ;) ♡ #March 1st: yea 6:01 PM - Kiss me ;) ♡ #March 1st: and jump rocks/bhop scripts should be nulled

(excerpt) Kissme getting frustrated at non-standard configs. This would be a good moment to standardize, or at least create a match config. I put it here because with a build script the above is very easy to enforce.