Pl/FGAddon: Difference between revisions

Jump to navigation Jump to search
Line 453: Line 453:
Gdzie <code><username></code> to nazwa użytkownika SourceForge. Spowoduje to dodanie wszystkich plików do FGAddon z komunikatem dziennika zatwierdzeń z wierszem podsumowania <code>Initial import of the DaSH human powered aircraft.</code>, po którym następuje pusta linia, a następnie szczegółowy opis wskazujący pierwotną lokalizację lub dyskusja na temat samolotu.  
Gdzie <code><username></code> to nazwa użytkownika SourceForge. Spowoduje to dodanie wszystkich plików do FGAddon z komunikatem dziennika zatwierdzeń z wierszem podsumowania <code>Initial import of the DaSH human powered aircraft.</code>, po którym następuje pusta linia, a następnie szczegółowy opis wskazujący pierwotną lokalizację lub dyskusja na temat samolotu.  


Aby sprawdzić, czy statek powietrzny został pomyślnie dodany do repozytorium:
Aby sprawdzić, czy statek powietrzny został pomyślnie dodany do repozytorium, użyj komendy:


{{#tag:syntaxhighlight|
{{#tag:syntaxhighlight|
Line 467: Line 467:
}}
}}


Lub odwiedź repozytorium {{fgaddon source|path=Aircraft|text=FGAddon}}.  Statek powietrzny można następnie pobrać w sposób opisany w sekcji [[#Scenariusze dewelopmentu|Scenariusze dewelopmentu]].
lub odwiedź repozytorium {{fgaddon source|path=Aircraft|text=FGAddon}}.   
 
Statek powietrzny można następnie pobrać w sposób opisany w sekcji [[#Scenariusze dewelopmentu|Scenariusze dewelopmentu]].


==== svn add ====
==== svn add ====


If a local copy of the FGAddon trunk is present, then the <code>svn add</code> command can be used instead. This is far safer than the <code>svn import</code> command, as the change can be double checked before committing. In the <code>Aircraft/</code> directory of the local repository, create the <code>DaSH/</code> directory. This can either be empty or contain all files of the initial aircraft. Then on the command line, add the aircraft to the local repository:
Jeśli dostępna jest lokalna kopia katalogu głównego FGAddon ('trunk'), można użyć polecenia <code>svn add</code>. Jest to o wiele bezpieczniejsze niż polecenie <code>svn import</code>, ponieważ zmianę można dwukrotnie sprawdzić przed zatwierdzeniem. W katalogu <code>Aircraft/</code> lokalnego repozytorium utwórz katalog <code>DaSH/</code>. Może być pusty lub zawierać wszystkie pliki początkowego statku powietrznego. Następnie w wierszu poleceń dodaj statek powietrzny do lokalnego repozytorium:
 
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
svn add DaSH/
svn add DaSH/
</syntaxhighlight>
</syntaxhighlight>


Then double check the changes prior to committing:
Następnie sprawdzić dwukrotnie zmiany przed ich zatwierdzeniem:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
svn st
svn st
</syntaxhighlight>
</syntaxhighlight>


And send the changes to FGAddon with:
I wyślij zmiany do FGAddon:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
svn ci
svn ci
</syntaxhighlight>
</syntaxhighlight>


An editor, often vi<ref>[http://www.vim.org/docs.php Vim documentation]</ref>, will open and the commit message can be composedAlternatively the commit log message can be specified on the command line with:
Otworzy się edytor tekstowy, często vi<ref>[http://www.vim.org/docs.php Dokumentacja Vima]</ref>, w którym można napisać komunikat zatwierdzeniaAlternatywnie, komunikat dziennika zatwierdzenia może być określony w wierszu poleceń za pomocą:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
svn ci -m "<subject_line>\n\n<detailed_description>"
svn ci -m "<subject_line>\n\n<detailed_description>"
1,361

edits

Navigation menu