inexorgame-obsolete / deprecated-cube-engine-inexor

UNMAINTAINED: Please have a look at the vulkan-renderer
https://inexor.org
zlib License
11 stars 1 forks source link

find a new structure to bundle InexorFlex and InexorCore #419

Closed a-teammate closed 6 years ago

a-teammate commented 7 years ago

This is issue is about the file structure or the way to glue InexorFlex and InexorCore back together to one application.

This is an extended issue of #37

aschaeffer commented 7 years ago
Audience Target bundle format
Developers git submodules
Linux-Users deb/rpm/snap/flatpack/... Package
Windows-Users Installer

The file structure of the target bundle formats are different. In fact we need scripts to create a package or an installer automatically. This could be triggered by a new github tag.

Fohlen commented 7 years ago

For now the structure (for the release will be as following)

This currently involves having npm installed, see #364 Which could be deprecated by installers / packages in the future. Closing this for now

a-teammate commented 7 years ago

No, that would only work sanely for people using the prebuilt package from GitHub.

I would prefer a setup which is aimed towards developers in the file-structure. Meaning: looks as closely as possible like a monolithic package e.g. --- inexor -------- inexor-core -------------- bin -------------- src ... -------- inexor-flex -------------- config -------------- interfaces -------------- src

Is this somehow possible?

Fohlen commented 7 years ago

@a-teammate the structure would look like

--- inexor ------ inexor-core < -- we assume that this is the CWD --------- bin <-- compiled binary is here --------- src ------ inexor-flex <-- this will be in %APPDATA%./node_modules/ --------- src --------- server --------- bin ------ %APPDATA% or custom paths --------- bin <-- downloaded binary is here --------- interfaces --------- config --------- media --------- releases

you can configure all of the custom paths (which are determined by XDG standard paths) via NODE_ENV variables currently. We can ship a default .nodenv file for development, as we like

a-teammate commented 7 years ago

so you have APPDATA/releases and inexor/inexor-core? or was that a typo?

Fohlen commented 7 years ago

APPDATA/releases is where the bundles from GitHub land. inexor-core is your git clone of inexor-core ?

a-teammate commented 7 years ago

Why make them different folders if they're actually containing the same?

Fohlen commented 7 years ago

How would you determine the difference between a version-commit and the compiled one? One is for developers, one is for user-wide installation?

aschaeffer commented 6 years ago

I think this ticket is (almost) resolved:

If we can close this issue, please change the milestone to 0.9.0-alpha first.

Fohlen commented 6 years ago

The architecture for this has been provided and implemented and is already live for ^0.9.0-preview. Closing the ticket.