Board index FlightGear Support 3rd Party Repositories

Cloning fgdata with GIT submodules

Re: Cloning fgdata with GIT submodules

Postby IAHM-COL » Wed Apr 01, 2015 9:33 pm

I just want to make sure, Hooray, that you are not blowing this out of proportions ;)

I don't think anyone who spoke against Windows XP did so with any evil intention. They just spoke their opinions.

It's quite easy to see why many people will find reasonable to propose someone to migrate out of XP, when this is an outdated-no-longer-supported OS.

It has nothing to do with a master plan to affect the community, at all.
And JWocky's comment, in many cases, makes a lot of sense. I humbly fully agree with him that choosing and running a linux distro is a really great option to breeze new life to an older computer that can't cope out with progress on the Windows department. Such fact strikes as merely evident.

Now, Lesbof needs help with his FG set up. And all I am saying is that he already heard the Linux option, and he finds it unappealing.

All I am saying is that going back to the old Linux argument may be, evident, but it solves nothing here.

Yet, outlining that Linux is a better option over an unsupported OS should not ellicit overheated responses, full of probably unintended personal attacks.

Apart from that, I fully agree with you that FG would do some good by keeping multiples set-ups in mind, and trying to be functional on multiple systems. Which is not the direction most core-developers push this software anyways ---being heavier and harder in resources by the minute.
Decisions upon which JWOCKY has nothing to do, whatsoever.

Best,
IH-COL
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it? Probably not, because if they don’t recognise their freedoms, they’ll let their freedoms fall
User avatar
IAHM-COL
Retired
 
Posts: 4057
Joined: Wed Aug 08, 2012 6:40 pm
Location: Homey, NV (KXTA) - U.S.A
Callsign: HK-424D or ICAO4243
Version: 3.7-git
OS: Linux

Re: Cloning fgdata with GIT submodules

Postby Jabberwocky » Wed Apr 01, 2015 9:59 pm

Wow, people, hold your horses!
I made a comment about Windows and the argument for Linux aside that it works is, it is free ... whether or whether not Lester wants to consider this option is his own thing to decide.
Johan G. showed some humour presenting reasons why Windows is no virus, but Buckaroo took this waaaaayyyyyy too serious. Look at the calendar and relax, man!
And Hooray, just to be clear here: I never despised Nasal for "geeky reasons" and I never suggested to switch to Linux for "geeky reasons". The reasoning is in fact rather pragmatic: A windows license costs $119 or something in that area, Ubuntu for example comes for free. One has of course to be used to the action bar on the left instead of the bottom of the screen, but well. It is true though, that I occasionally referred to Nasal as the "programming language for masochists".
Jabberwocky
Retired
 
Posts: 1316
Joined: Sat Mar 22, 2014 8:36 pm
Callsign: JWOCKY
Version: 3.0.0
OS: Ubuntu 14.04

Re: Cloning fgdata with GIT submodules

Postby Hooray » Thu Apr 02, 2015 2:25 am

like I said, I am a Linux user myself (even ubuntu) - so I can fully relate to such advice, and would even support such efforts on a case by case basis - however, switching to a different OS is obviously a completely different topic, and not easily discussed on the FlightGear forums. And it also isn't as simple as getting accustomed to a new UI, there's more to that frankly...

OT: Regarding Nasal, you are in pretty good company actually - there are certainly more people disliking it than there are people who "like" it. That said, people with a programming background usually don't mind switching languages, no matter if that's means using C, C++, Python, Lua, Ada, Java, Perl, Python, Ruby, Erlang, LISP, Haskell or Nasal - which isn't unlike driving a car: once you know what the thing is supposed to do/look like, you can usually operate another vehicle pretty quickly, even though some things/concepts may different a bit here and there. :D

Thus, it's usually people who don't have the corresponding background to end up disliking niche solutions like Nasal for all the reasons discussed elsewhere - but not for technical reasons. The number of people intimately familiar with FG/Nasal internals and programming concepts in general is fairly low admittedly, but you won't find many among those who really have any technical issues with Nasal, despite its GC scheme not exactly being appropriate for a "semi-realtime" application like FG. The syntax is close enough to ECMAScript/JavaScript (or C/C++ for that matter) to say that you also wouldn't feel quite at home with either of those - despite those being established industry standards.

All the FG specific stuff (APIs, extension functions, libraries/bindings) would almost definitely look exactly the same no matter the programming language being used, absent some major cleanup work to re-organize the FlightGear main loop (e.g. using threading and/or HLA).

Then again, the main issue with Nasal is not what it looks like (syntax) or how it works internally (codegen/VM), and not even it being de-facto unmaintained, but the way it is integrated into the FG main loop and the fact that there are structural wrappers missing (think SGSubsystem and friends) to move away from completely unstructured "free-form" code that is merely using timers and listeners to implement complex subsystems in scripting space without having any way to formalize data/code dependencies - as well as the fact that existing FG/SG code isn't exposed to scripting space, which is why there's so much redundant (and inefficient) code being re-written from scratch -often by non-coders.

Even Nasal were to remain unmaintained for another decade, it could very well continue to thrive in FG (in terms of adoption rate and documentation/examples), as long as those issues are addressed, i.e. better interfacing with/exposure of existing SG/FG code, and more structural wrappers to actually implement subsystems using OOP (classes) instead of just timers and listeners. Fool-proof multi-threading support would another useful thing though.

However, thanks to Torsten's and Zakalawe's recent efforts (i.e. the "Phi" and Qt5 UI efforts), there's an increasing tendency/opportunity to move away from Nasal for certain purposes - so if anybody is looking for a "less-niché" solution than Nasal, you folks should feel quite at home using HTML5/JavaScript and/or Qt5.

Which is the beauty about open source and about providing a plethora of options - for people to make up their own minds and determine their own preferences.
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: Cloning fgdata with GIT submodules

Postby IAHM-COL » Thu Apr 02, 2015 2:53 am

FGDATA Next With submodules updated

Now in SVN Revision 511
New updates now in the 737-300

Test and enjoy

Best,
IHCOL
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it? Probably not, because if they don’t recognise their freedoms, they’ll let their freedoms fall
User avatar
IAHM-COL
Retired
 
Posts: 4057
Joined: Wed Aug 08, 2012 6:40 pm
Location: Homey, NV (KXTA) - U.S.A
Callsign: HK-424D or ICAO4243
Version: 3.7-git
OS: Linux

Re: Cloning fgdata with GIT submodules

Postby Jabberwocky » Sat Apr 04, 2015 12:04 am

My main "dislike"point with Nasal is, it is a script language by nature, not a fully formal programming language. Things like variable types caused a lot of trouble because some people think, they get a number, try to calculate something and boom, it was a string that can't be changed to a number.
The other thing is lack of verbosity sometimes. The error messages are all too often misleading. But hey, that's all in the arts and craft section ... kind of things, one works around.
Jabberwocky
Retired
 
Posts: 1316
Joined: Sat Mar 22, 2014 8:36 pm
Callsign: JWOCKY
Version: 3.0.0
OS: Ubuntu 14.04

Re: Cloning fgdata with GIT submodules

Postby IAHM-COL » Sun Apr 05, 2015 5:31 pm

FGDATA NEXT with Submodules Updated to SVN Rev 525

Hi ALL

The current update to FGDATA next with submodules includes the deletion of the now deprecated Aircraft/UIUC Submodule (SVN Revision 524)

The following steps should suffice to bring your repo to an updated and clean state (regardless of whether you had or had not initiated the removed Submodule)

Code: Select all
git pull
git submodule update


The UIUC project code remains as an available FGMEMBERs repo. The master branch is currently empty due to Revision 524, but there is a branch and a release that restores the un-deleted code, for study and revision of this legacy code:

https://github.com/FGMEMBERS/UIUC
https://github.com/FGMEMBERS/UIUC/tree/un-deleted

Some of its content has been merged into the respective aircrafts repo by Edward D'Avergne in previous commits.

Best,
IH-COL
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it? Probably not, because if they don’t recognise their freedoms, they’ll let their freedoms fall
User avatar
IAHM-COL
Retired
 
Posts: 4057
Joined: Wed Aug 08, 2012 6:40 pm
Location: Homey, NV (KXTA) - U.S.A
Callsign: HK-424D or ICAO4243
Version: 3.7-git
OS: Linux

Re: Cloning fgdata with GIT submodules

Postby IAHM-COL » Mon Apr 06, 2015 5:09 pm

Thanks Andino for the release of a new version of the Airbus A340-600HGW

Now added in FGMEMBERs and in FGDATA next as a new submodule :)

Best,
IHCOL
Image
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it? Probably not, because if they don’t recognise their freedoms, they’ll let their freedoms fall
User avatar
IAHM-COL
Retired
 
Posts: 4057
Joined: Wed Aug 08, 2012 6:40 pm
Location: Homey, NV (KXTA) - U.S.A
Callsign: HK-424D or ICAO4243
Version: 3.7-git
OS: Linux

Re: Cloning fgdata with GIT submodules

Postby IAHM-COL » Tue Apr 07, 2015 1:43 am

FGDATA NEXT now functional for upcoming FG 3.4.1! :D

[PS NOTE: FG dev cores will be releasing the 3.4.1 version soon, for which this FGDATA version applies. It had not been released yet. Thanks to R. Palmer for pointing that out ]

Thanks to the work by James Turner over the weekend, FGDATA next now contains a released tag for FG 3.4.1

This is outstanding news!

Now, we also have available the released tag for FGDATA next with submodules, allowing the use of this git repository to checkout the aircraft on the historical release, and thus bring the FGDATA next with submodules to any user of flightgear on the last release (3.4.1) or, as we had been using it, on the development branch (3.5)



Why is this important?

As some already know, gitorious currently host FGDATA for the current version 3.4, but gitorious is leaving the market of repository hosts. with FGDATA host in gitorious (a monolithic 28GB repo), one could clone fgdata with all the aircraft that belonged to the official FG distribution.
A new host had been stablished (sourceforge), and FGDATA has been separated of its longly contained Aircraft in the
Aircraft directory.

Current clones of FGDATA (next) from sourceforge will provide a "aircraft-less" directory for FG root; while the aircraft are being hosted and developed in an independent subversion repository.

Starting today, users of FG3.4 can take advantage of the work hosted in FGMEMBERs, and the FGDATA next with submodules to obtain a complete and modular FGDATA with all aircraft existent in FGDATA on the release date (JAN17-2015), including those exclusively existing in the SVN repository at that date.

Having the ability of restoring a complete and inclusive FGDATA is the largest advantage that this new tagged release provides to FG users on the current released version (3.4.1)

http://sourceforge.net/p/fgdata/submodu ... next/tree/
Image

What does "released-tag" means?

A released tag is a frozen state of previous development, usually on an "stable" status.
Non-developers usually experience and enjoy the stability of tagged releases, while developers surf the waves of the development branches.

A tagged release will not usually receive updates or new changes, increasing the stability of the features, and users tipically wait for the following release to fast-forward all exciting new features produced during those development waves --without suffering the consequences of the bleeding edge.

All FG aircrafts hosted in FGMEMBERS and belonging to this release had also been tagged on the last commit before Jan 17 2015, as FG3.4; These aircraft are the stable releases of the FG aircraft corresponding to the FG release 3.4.1, and expected to be fully functional with the release.

FGDATA next with submodules, release/3.4.0, effectively obtains any initialized submodule on the status pointed by the FG3.4 release, bringing the stability back to the end user

Example:
https://github.com/FGMEMBERS/f16 => Development branch FG3.5. Some features are not functional for FG3.4.1
https://github.com/FGMEMBERS/f16/releases => FG3.4 released. Functional on the last stable release!

I am an end-user with FG 3.4.1 installed. How can I use FGDATA next with submodules to recover the aircrafts?


Once you installed FG 3.4.1; you had obtained a copy of fgdata that only contains 2 aircraft (ufo and c172p), and some generic required folders.
Your software points to that directory with the flag --fg-root (which can be set in any launcher or the command line).

With the use of any git software, you can obtain FGDATA next with submodules release/3.4.0, and replace (redirectioning your software) to the newly obtained FGDATA

The important point here is that you MUST clone the tagged release, instead of the repository itself!
This is done with the "--single-branch" switch of the git clone command.
And specifying the branch in respect, with --branch <branchname> switch.

Cloning the released tag: For users of FG3.4.1 to obtain FGDATA next with submodules 3.4 Release


In the command line (of git) the following command does the job (Note this command is just a modification of git clone to specify the particular target)
Code: Select all
git clone http://git.code.sf.net/p/fgdata/submodules --branch release/3.4.0-submodules --single-branch


Once the clone is complete you had obtained a directory (fgdata) that works for FG 3.4.1
It contains all aircrafts in the FG3.4 release as submodules, and thus they are not downloaded to your repository yet!

Obtaining an Aircraft

To obtain an aircraft, apply the technique described above for intializing and updating any submodule,
example

Code: Select all
cd fgdata #enter the repository
git submodule init Aircraft/Citation #initialize a submodule
git submodule update   #update the submodules initialized


This effectively installs the Citation Bravo!
Note that after the release of 3.4, works by Chris Blues and Ludovic Brenta are occurred to further develop this aircraft into FG 3.6. But the steps above brings the Aircraft exactly as its status on FG 3.4, therefore no breakage or lack of stability occurs

Is it possible to test newer features with the stable release?
It is posible to test how does the aircraft works with the stable release. But no guarantee can be offered about compatibility!

In any case, try-it-out
Code: Select all
cd Aircraft/Citation #enter the aircraft directory
git checkout master  #test the master branch of this aircraft
git pull # get the latest progress on the master branch


That 's it. The master branch immediately brings you to the latest advances in the Citation. Launch Flightgear and hopefully the work is not terribly incompatible with FG 3.4.1

Oh! oh! This plane new advances do not work for FG 3.4.1


Well. When the S%%T hits the prop:

Code: Select all
cd fdgata ##enter the root of the repo again. You may require going down levels!
git submodule update ##Update the repo, means, bring it back to the stable release!


I want to uninstall an aircraft?

One other of the advantages of the submodule repository is that it allows the "deinitializing" or uninstallation of any aircraft obtained. Reducing your local hard-drive burden, and keeping your repo in a diet (only the aircrafts you care about)

Code: Select all
cd fgdata
git submodule deinit Aircraft/Citation


This step will de-initialize the Citation, meaning effectively reducing the repository and removing all code of this aircraft. Only the directory remains, but is an empty directory that serves the purpose of a pointer when you want to re-install :D

Can I get all aircraft

Yes. All FG3.4 aircraft.
Many additional aircraft had been added to FGDATA, that never reached Official Status, for x or y reason. But this additions occurred on the development branch FG 3.5, so they won't be available as an stable release until FG 3.6

But for many (481) aircrafts, this is luckily not the case. So you can get all FG 3.4 stable aircraft in a few commands (after you cloned the tagged release,as indicated above)


Code: Select all
git submodule init  # init without indicating a submodule, effectively means "all submodules"
git submodule update  #this will take a while. It is "several-coffees" time


When these commands finish, your new FG 3.4.1 FG installation, now will not only be blazing new, but also stable and contain all of the Aircrafts, FG is well known for.

A last word


Remember a released tag is an stable state of development. the typical command

Code: Select all
git pull


Will have no effect, and basically should reply consistently "Already up to date"
Meaning, nothing changed in the released tag.

Have fun, and enjoy this wonderful software, now, again, with all the aircraft we grew to love

Best,
IH-COL

PS:

For those wondering. The FGADDON subversion repository only holds bleeding edge aircraft, and cannot be used with stable releases.
Last edited by IAHM-COL on Tue Apr 07, 2015 4:18 pm, edited 1 time in total.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it? Probably not, because if they don’t recognise their freedoms, they’ll let their freedoms fall
User avatar
IAHM-COL
Retired
 
Posts: 4057
Joined: Wed Aug 08, 2012 6:40 pm
Location: Homey, NV (KXTA) - U.S.A
Callsign: HK-424D or ICAO4243
Version: 3.7-git
OS: Linux

Re: Cloning fgdata with GIT submodules

Postby IAHM-COL » Tue Apr 07, 2015 3:50 pm

FGDATA next with Submodules :: New Aircraft Motorcycle

Dear All

I am proud to present a new Motorcycle brought today by Mark Kraus

Yamaha-YZF: https://github.com/FGMEMBERS/Yamaha-YZF

Image

Now, Also available in Fgdata next with submodules (3.5) as

Code: Select all
Aircraft/Yamaha-YZF


Enjoy the ride :D
IH-COL

PS: For those not informed, Mark has also created a new course in Czech republic for the motorcycle fun!
This is Mark's Motorcycle scenery repository: https://github.com/FGMEMBERS/Motorcycle ... tomScenery
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it? Probably not, because if they don’t recognise their freedoms, they’ll let their freedoms fall
User avatar
IAHM-COL
Retired
 
Posts: 4057
Joined: Wed Aug 08, 2012 6:40 pm
Location: Homey, NV (KXTA) - U.S.A
Callsign: HK-424D or ICAO4243
Version: 3.7-git
OS: Linux

Re: Cloning fgdata with GIT submodules

Postby IAHM-COL » Fri Apr 10, 2015 3:55 pm

New Submodules!! :D

Thank to the work by Tikibar and Jormapaappa, we have three new very well developed airliners,

The MD-11: (an additional version of the McDouglas MD11, MD10, and MD12, also present as submodules)
Image

The 747-8i version by tikibar:

Now we happily follow tikibar's progress downstream :D
Image


The 757-200 version by tikibar:
Also we sit downstream of the newest changes by the author:
Image


Enjoy these magnificent FG jewels, now featured in FGMEMBERS and FGDATA next with submodule, with a GPL license.

Fly Free!
IH-COL
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it? Probably not, because if they don’t recognise their freedoms, they’ll let their freedoms fall
User avatar
IAHM-COL
Retired
 
Posts: 4057
Joined: Wed Aug 08, 2012 6:40 pm
Location: Homey, NV (KXTA) - U.S.A
Callsign: HK-424D or ICAO4243
Version: 3.7-git
OS: Linux

Re: Cloning fgdata with GIT submodules

Postby IAHM-COL » Sat Apr 11, 2015 1:04 am

Tracking a new Submodule

The pipistrel-virus-sw by NickR is now also being tracked downstream by the FGMEMBERs and FGDATA next with submodules :D
https://github.com/FGMEMBERS/pipistrel-virus-sw

Image

Have fun flying
IH-COL
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it? Probably not, because if they don’t recognise their freedoms, they’ll let their freedoms fall
User avatar
IAHM-COL
Retired
 
Posts: 4057
Joined: Wed Aug 08, 2012 6:40 pm
Location: Homey, NV (KXTA) - U.S.A
Callsign: HK-424D or ICAO4243
Version: 3.7-git
OS: Linux

Re: Cloning fgdata with GIT submodules

Postby IAHM-COL » Sun Apr 12, 2015 9:07 am

Some submodules being updated by HerbyW

Aircraft with new Branches by HerbyW (and checkout by default by the FGDATA next with submodules), now include

Code: Select all
Aircraft/Antonov-An-12
Aircraft/Antonov-An-22


Also, work by HerbyW is currently the master branch for two additional aircraft

Code: Select all
Aircraft/AN-225
Aircraft/shuttle


***

We are happy to announce HerbyW amazing and breathtaking work on the FG space era, with new modification over the "shuttle", the original shuttle work available for flightgear.

The model includes an amazing launcher as well:

Image

Thanks to HerbyW for this impressive work!

Everyone, enjoy the flights to beyond the atmosphere :D

IH-COL
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it? Probably not, because if they don’t recognise their freedoms, they’ll let their freedoms fall
User avatar
IAHM-COL
Retired
 
Posts: 4057
Joined: Wed Aug 08, 2012 6:40 pm
Location: Homey, NV (KXTA) - U.S.A
Callsign: HK-424D or ICAO4243
Version: 3.7-git
OS: Linux

Re: Cloning fgdata with GIT submodules

Postby wkitty42 » Mon Apr 13, 2015 3:01 pm

so now there's two shuttles???
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Cloning fgdata with GIT submodules

Postby IAHM-COL » Mon Apr 13, 2015 3:22 pm

amazing! Isn't it?
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it? Probably not, because if they don’t recognise their freedoms, they’ll let their freedoms fall
User avatar
IAHM-COL
Retired
 
Posts: 4057
Joined: Wed Aug 08, 2012 6:40 pm
Location: Homey, NV (KXTA) - U.S.A
Callsign: HK-424D or ICAO4243
Version: 3.7-git
OS: Linux

Re: Cloning fgdata with GIT submodules

Postby wkitty42 » Mon Apr 13, 2015 4:14 pm

no, sorry... not really... but i guess it isn't that much different than two identical craft with different FDMs driving them... eg: i can fly one SR-71 but the other is like breaking a wild bronco...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

PreviousNext

Return to 3rd Party Repositories

Who is online

Users browsing this forum: No registered users and 2 guests