Splitting code and content repositories, looking for maintainers

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
onetwothree
Site Admin
Posts: 706
Joined: 22.09.2018
With us: 6 years 2 months

Splitting code and content repositories, looking for maintainers

Post #1by onetwothree » 12.01.2020, 19:44

Quite long time ago we (dev team) decided to split code and content into separate repositories.

Main point for this are:
  • Smaller application updates, users don't need to download several dozens of megabytes when only application was changed.
  • More frequent content updates for all actual versions.
  • Smaller repository size: 1.7 and 1.6.2 live in two different branches, so to update both we need duplicate files in both branches. In a separate repo we'll keep data only once.
  • Potentionally better integration with other Celestia-related projects like Celestia Origin.

According with I created a new repository https://github.com/CelestiaProject/CelestiaContent. It contains copy of data, extras, extras-standard, images, models and textures directories. Since today we stop accepting content-related changes to the main repository.

We also looking for volunteers to maintain this new repository. The most important task from my PoV is to replace non-free files with files with free licenses (see here).

Avatar
SevenSpheres
Moderator
Posts: 826
Joined: 08.10.2019
With us: 5 years 2 months

Post #2by SevenSpheres » 12.01.2020, 19:56

I could definitely help, but not with making new, free textures (besides, Askaniy was going to do that). I had suggested making an issue to track data updates; I guess I'll do that in this repository?
My Addons: viewtopic.php?f=23&t=19978 • Discord server admin
Celestia versions: 1.5.1, 1.6.1, 1.6.2, 1.7.0, and some unofficial versions like Celestia-ED

Avatar
LukeCEL
Posts: 373
Joined: 26.09.2017
With us: 7 years 2 months

Post #3by LukeCEL » 12.01.2020, 19:58

How will compiling and installing work with two different repositories? Also, will the new repository retain the history of the data files?

Topic author
onetwothree
Site Admin
Posts: 706
Joined: 22.09.2018
With us: 6 years 2 months

Post #4by onetwothree » 12.01.2020, 20:12

SevenSpheres wrote:I guess I'll do that in this repository?
feel free

LukeCEL wrote:How will compiling and installing work with two different repositories?

We will produce 2 installation packages: one for the application and another one for data. Alternatively we can use content repo as git submodule (as we do with some 3rd party dependencies) and produce a single package for cases when several packages are not possible like macOS bundle.

LukeCEL wrote:Also, will the new repository retain the history of the data files?

Hmm, I just copied them, maybe it worth to recreate using the current repo and remove code directories.

Avatar
LukeCEL
Posts: 373
Joined: 26.09.2017
With us: 7 years 2 months

Post #5by LukeCEL » 12.01.2020, 21:11

onetwothree wrote:maybe it worth to recreate using the current repo and remove code directories.

I think that would be a good idea.

Avatar
SevenSpheres
Moderator
Posts: 826
Joined: 08.10.2019
With us: 5 years 2 months

Post #6by SevenSpheres » 10.02.2020, 23:36

Could some people not on the Celestia Development Team (e.g. Askaniy, LukeCEL, and myself) be given write access to this repository? That would probably make things easier.
My Addons: viewtopic.php?f=23&t=19978 • Discord server admin
Celestia versions: 1.5.1, 1.6.1, 1.6.2, 1.7.0, and some unofficial versions like Celestia-ED

Avatar
Lafuente_Astronomy
Moderator
Posts: 726
Joined: 04.08.2018
Age: 26
With us: 6 years 4 months
Location: Cebu City, Cebu Province, Philippines
Contact:

Post #7by Lafuente_Astronomy » 11.02.2020, 10:23

SevenSpheres wrote:Could some people not on the Celestia Development Team (e.g. Askaniy, LukeCEL, and myself) be given write access to this repository? That would probably make things easier.

Well, the devs could use some extra help. What do you say, devs?
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.

Topic author
onetwothree
Site Admin
Posts: 706
Joined: 22.09.2018
With us: 6 years 2 months

Post #8by onetwothree » 11.02.2020, 17:53

Done.

Avatar
SevenSpheres
Moderator
Posts: 826
Joined: 08.10.2019
With us: 5 years 2 months

Post #9by SevenSpheres » 14.03.2020, 02:31

Since the CelestiaContent repository is taking a very long time to be finalized, I decided to just go ahead and make some pull requests there. The issues with these PRs are making me think that splitting the repositories was a bad idea that creates more problems than it solves.
My Addons: viewtopic.php?f=23&t=19978 • Discord server admin
Celestia versions: 1.5.1, 1.6.1, 1.6.2, 1.7.0, and some unofficial versions like Celestia-ED


Return to “Development”