- Posts: 521
Documenting the ini file
- RandMental
- Topic Author
- Offline
rbe2012 wrote: Oops, this was not intended... documentation is often boring
But to be honest: I thought about that too. This thread showed again that many (only some?) people edit their config files instead of using a potentially complex user interface to change the values. A documentation should point to the corresponding place in the gui.
Should we open a new thread beyond "How To"?
For me the big advantage of understanding and being able to read the Modelxx.ini files is that one can quickly read through a file provided by someone and understand how the TX is configured and how it will behave - all in one place on one screen.
The alternative would be to connect your tx to the PC, load the ini file and go through each screen trying to remember each detail - not a good use of my time.
Please Log in or Create an account to join the conversation.
- rbe2012
- Offline
- So much to do, so little time...
- Posts: 1433
Now let's make a real job of it. Where should we start?
I see these steps (all comments in brackets are my opinion):
- search a place to save intermediate and final results (the forum is not because it makes teamwork difficult; I would prefer a new bitbucket repo or something similar)
- define format (should be similar to the regular manual)
- define a structure (easiest: the main blocks "global", radio, mixer, gui-qvga...)
- for every structure element: describe the use of this block, describe the possible parameters, their possible values, the page / place in the gui where it will be set in the real tx / emulator (separate for standard and advanced) and give some (one) example
- write a general description where everything what was announced to be a problem for some users is mentioned: filesystem, editor, line endings, 4k-size, comments in the file, the way the config is read, stored and written, ...
- search for volunteers who will write one section
Please Log in or Create an account to join the conversation.
- rbe2012
- Offline
- So much to do, so little time...
- Posts: 1433
I am anxious to see if uploading a fodt-file will work directly...
EDIT: no, did not... zipped now, should run.
Please Log in or Create an account to join the conversation.
- RandMental
- Topic Author
- Offline
- Posts: 521
(I can understand why FDR has blocked certain files types - This .fodt file zips down to <20% of normal size)
Please Log in or Create an account to join the conversation.
- rbe2012
- Offline
- So much to do, so little time...
- Posts: 1433
PB has chosen the fodt format because it is version control system compatible. It is human readable, because it is a large xml-file. So we can expect that zipping will find many equal strings to compress really good.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
RandMental wrote: (I can understand why FDR has blocked certain files types - This .fodt file zips down to <20% of normal size)
Actually I hasn't blocked the .fodt intentionally, it simply was not on the list of allowed extensions by default...
Please Log in or Create an account to join the conversation.
- RandMental
- Topic Author
- Offline
- Posts: 521
FDR wrote: Actually I hasn't blocked the .fodt intentionally, it simply was not on the list of allowed extensions by default...
Well is seems with good reason
The only problem I noticed is that the system does not warn a user when it is not loading a file, does Kunena not have an option to alert the user?
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- rbe2012
- Offline
- So much to do, so little time...
- Posts: 1433
I cloned PB's manual repository here: deviation-modelconfig-manual . I gave you write access, but I can not test if it will work.
The file uploaded some posts ago is committed.
Please Log in or Create an account to join the conversation.
- RandMental
- Topic Author
- Offline
- Posts: 521
Please Log in or Create an account to join the conversation.
- rbe2012
- Offline
- So much to do, so little time...
- Posts: 1433
Please Log in or Create an account to join the conversation.
- rbe2012
- Offline
- So much to do, so little time...
- Posts: 1433
We have two different ways to work on the documentation together: we can do it with means of mercurial (that means we work with the same doc and commit the changes and pull / push often) or we can do it without the help of mercurial (we work on different docs and put them together later).
I prefer the last one because we are more independent from each others work. We will only have to make sure that at the end we have a single document. What I mean: the resulting document should look like it is written from a single author, homogeneous and completely rounded.
If you agree we should inform each other which part we will work on next.
At first I will transfer the whole model.c method in the structure. Everything what the method knows will be described so this will give us the complete overview.
I go on working on the doc I created before.
Please Log in or Create an account to join the conversation.
- RandMental
- Topic Author
- Offline
- Posts: 521
Truth is at this point I don't have to much factual info on the ini file to add. For small additions or suggestions to your doc I shall do a pull request and you decide - we can't have two editors on one doc at the same time .
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- RandMental
- Topic Author
- Offline
- Posts: 521
Please Log in or Create an account to join the conversation.
- rbe2012
- Offline
- So much to do, so little time...
- Posts: 1433
I think I have to pull, mark the file as to be forgotten and push again... I will try later.
Please Log in or Create an account to join the conversation.
- RandMental
- Topic Author
- Offline
- Posts: 521
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- rbe2012
- Offline
- So much to do, so little time...
- Posts: 1433
It has nothing to do with write access - the mercurial server is not the place where we do changes to the repo. I can't do that either.RandMental wrote: That is what I tried, but perhaps my write access rights dont allow it. Did not get any errors from mercurial though.
This has to be done in our local copy. The command PB said will do the trick (I did not know this, but it is similar to git).
Please Log in or Create an account to join the conversation.
- rbe2012
- Offline
- So much to do, so little time...
- Posts: 1433
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Model Configs, Templates, Skins
- Model Templates
- Documenting the ini file