Board index FlightGear Development

Why is FGDATA hosted via git?

FlightGear is opensource, so you can be the developer. In the need for help on anything? We are here to help you.
Forum rules
Core development is discussed on the official FlightGear-Devel development mailing list.

Bugs can be reported in the bug tracker.

Why is FGDATA hosted via git?

Postby D-ECHO » Sat Nov 05, 2016 7:52 am

Hi!
I was always happy to be able to download only some directories when using fgaddon/svn, but as I recently had to re-download the Models directory, I had to git clone the whole fgdata thing (approx. 1GB) instead of just the small part I needed. Why isn't FGDATA also hosted via svn? That could AFAIK make things some kind of easier...
Regards
D-ECHO
 
Posts: 2462
Joined: Sat May 09, 2015 1:31 pm
Pronouns: Bea (she/her)
Version: next

Re: Why is FGDATA hosted via git?

Postby Thorsten » Sat Nov 05, 2016 7:59 am

I guess because a use case where you need just a few directories of FGData and don't just pull the update of the repository is pretty rare and prone to problems (also, the SourceForge GUI allows you to download individual files).

I can readily see that you may want to have the 777 ER but not the MiG-15bis on your harddisk, and that's going to work without problems, but if you pull just Effects/ from FGData without pulling Shaders/ (and possibly also Textures/ and Materials/ and preferences.xml) you're going to be in a lot of trouble.

See, to the degree that we can (and do) assign Effects to models, it's not even clear that 'just' updating Models/ does what you expect it to.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Why is FGDATA hosted via git?

Postby D-ECHO » Sat Nov 05, 2016 8:22 am

Okay, I understand that my use case is rather unusual, but what would be lost/the problem if it was SVN. The thing is that I accidentally removed more from the Models than I wanted to and now I have not enough hardspace left to download all of fgdata again :D
D-ECHO
 
Posts: 2462
Joined: Sat May 09, 2015 1:31 pm
Pronouns: Bea (she/her)
Version: next

Re: Why is FGDATA hosted via git?

Postby Hooray » Sat Nov 05, 2016 9:37 am

Agree with Thorsten - that's extremely rare, and people doing this sort of thing need to be enormously familiar with fgfs internals to make it work. This is the sort of maintenance work that people like Torsten and James have to do every once a while, and even they seem to be baffled by all those complex interdependencies, despite being among the top 5 most experienced contributors currently involved in FlightGear.

In other words, it's highly unlikely that the pain/gain is worth it, and even if we had this working right now, it would be even more unlikely that people would know how to use this sort of thing properly, it would cause tons of work around here - just imagine what partial fgdata updates have been causing here in terms of workload caused on the forum.

FlightGear is a highly monolithic application, and has been for the last 15+ years, it is only just about to become more modular, but that is causing new challenges, such as tracking dependencies between different components (think OSG, SG, FG, FGDATA, FGADDON)
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Why is FGDATA hosted via git?

Postby Thorsten » Sat Nov 05, 2016 10:06 am

The thing is that I accidentally removed more from the Models than I wanted to and now I have not enough hardspace left to download all of fgdata again


Well, if you would run FGData as a GIT repository, you could just check out whatever you deleted from the branch you want without having to download anything. So that's clearly not a use case that needs additional support.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am


Return to Development

Who is online

Users browsing this forum: No registered users and 12 guests