Pl/FGAddon: Difference between revisions

Jump to navigation Jump to search
Line 424: Line 424:
=== Nowy statek powietrzny ===
=== Nowy statek powietrzny ===


Aby dodać nowy statek powietrzny do repozytorium FGAddon, wymagane są narzędzia SVN. Jeśli napotkasz problemy z właściwością <code>svn:mime-type</code> podczas dodawania nowego statku powietrznego, zobacz sekcję [[#Problemy z mime-type|problemy z mime-type]], aby dowiedzieć się, jak rozwiązać ten problem. Lub jeśli masz problem z właściwością <code>svn:executable</code>, zobacz sekcję [[#Executable flag|problem z flagą wykonywalną]].
Aby dodać nowy statek powietrzny do repozytorium FGAddon, wymagane są narzędzia SVN. Jeśli napotkasz problemy z właściwością <code>svn:mime-type</code> podczas dodawania nowego statku powietrznego, zobacz sekcję [[#Problemy z mime-type|problemy z mime-type]], aby dowiedzieć się, jak rozwiązać ten problem. Lub jeśli masz problem z właściwością <code>svn:executable</code>, zobacz sekcję [[#Flaga wykonywania|problem z flagą wykonywania]].


==== svn import ====
==== svn import ====


{{warning|The <code>svn import</code> command described herein will send all contents of the specified directory directly into FGAddon without warning and without a way to cancel the operation. Therefore special care must be taken when specifying the directory to upload into FGAddon, as well as the target FGAddon directory. See the [[#svn add|svn add]] section below for a safer way to add a new aircraft.}}
{{warning|Polecenie <code>svn import</code> opisane w niniejszym rozdziale, wyśle całą zawartość określonego katalogu bezpośrednio do FGAddon bez ostrzeżenia i bez możliwości anulowania operacji. Dlatego należy zachować szczególną ostrożność podczas określania katalogu do przesłania do FGAddon, a także docelowego katalogu FGAddon. Zobacz sekcję [[#svn add|svn add]] poniżej dla bezpieczniejszego sposobu dodawania nowego statku powietrznego.}}


The [http://svnbook.red-bean.com/en/1.7/svn.tour.importing.html#svn.tour.importing.import svn import] command is the easiest method to use and does not require a local copy of the repository to be checked outTo start:
Polecenie [http://svnbook.red-bean.com/en/1.7/svn.tour.importing.html#svn.tour.importing.import svn import] jest najłatwiejszą w użyciu metodą i nie wymaga pobrania lokalnej kopii repozytoriumAby rozpocząć:


# Create an empty local aircraft directory.
# Utwórz pusty lokalny katalog dla statku powietrznego.
# Copy the aircraft files into this directory.
# Skopiuj pliki statku powietrznego do tego katalogu.
# Carefully check all files to make sure there are no hidden or temporary files that should not be uploaded to FGAddon.
# Dokładnie sprawdź wszystkie pliki, aby upewnić się, że nie ma żadnych ukrytych lub tymczasowych plików, które nie powinny zostać przesłane do FGAddon.


Assuming the Dead Simple Human Powered Airplane (DaSH PA or "DaSH") aircraft as an example, located in the <code>DaSH/</code> directory, on the command line run:
Zakładając jako przykład statek powietrzny Dead Simple Human Powered Airplane (DaSH PA lub "DaSH"), znajdujący się w katalogu <code>DaSH/</code>, w wierszu poleceń uruchom:
{{#tag:syntaxhighlight|
{{#tag:syntaxhighlight|
{{fgaddon source
{{fgaddon source
Line 451: Line 451:
}}
}}


Where <code><username></code> is the SourceForge user name. This will add all the files into FGAddon with commit log message with the summary line <code>Initial import of the DaSH human powered aircraft.</code>, followed by a blank line, and then a detailed description pointing to the original location or discussion of the aircraft. To see if the aircraft has been successfully added to the repository:
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:
 
{{#tag:syntaxhighlight|
{{#tag:syntaxhighlight|
{{fgaddon source
{{fgaddon source
Line 464: Line 467:
}}
}}


Or visit the {{fgaddon source|path=Aircraft|text=FGAddon web interface}}.  The aircraft can then be checked out as described in the [[#Development scenarios|Development scenarios section]].
Lub odwiedź {{fgaddon source|path=Aircraft|text=FGAddon web interface}}.  Statek powietrzny można następnie pobrać w sposób opisany w sekcji [[#Scenariusze dewelopmentu|Scenariusze dewelopmentu]].


==== svn add ====
==== svn add ====
1,361

edits

Navigation menu