Skip to content

progit2 hu #2042

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions A-git-in-other-environments.asc
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[[A-git-in-other-environments]]
[appendix]
== Git in Other Environments
== Git más környezetekben

If you read through the whole book, you've learned a lot about how to use Git at the command line.
You can work with local files, connect your repository to others over a network, and work effectively with others.
But the story doesn't end there; Git is usually used as part of a larger ecosystem, and the terminal isn't always the best way to work with it.
Now we'll take a look at some of the other kinds of environments where Git can be useful, and how other applications (including yours) work alongside Git.
Ha végigolvasta az egész könyvet, sokat tanult a Git parancssoros használatáról.
Dolgozhat helyi fájlokkal, csatlakoztathatja a tárolóját másokhoz hálózaton keresztül, és hatékonyan együttműködhet másokkal.
De a történet itt nem ér véget; a Git-et általában egy nagyobb ökoszisztéma részeként használják, és a terminál nem mindig a legjobb módja a vele való munkának.
Most megnézünk néhány más környezetet, ahol a Git hasznos lehet, és azt, hogy hogyan működnek más alkalmazások (beleértve az Önét is) a Git mellett.

include::book/A-git-in-other-environments/sections/guis.asc[]

Expand All @@ -23,6 +23,6 @@ include::book/A-git-in-other-environments/sections/zsh.asc[]

include::book/A-git-in-other-environments/sections/powershell.asc[]

=== Summary
=== Összegzés

You've learned how to harness Git's power from inside the tools that you use during your everyday work, and also how to access Git repositories from your own programs.
Megtanulta, hogyan használhatja ki a Git erejét a mindennapi munka során használt eszközökből, és azt is, hogyan férhet hozzá a Git adattárakhoz a saját programjaiból.
10 changes: 5 additions & 5 deletions B-embedding-git-in-your-applications.asc
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[[B-embedding-git-in-your-applications]]
[appendix]
== Embedding Git in your Applications
== Git beágyazása az alkalmazásaiba

If your application is for developers, chances are good that it could benefit from integration with source control.
Even non-developer applications, such as document editors, could potentially benefit from version-control features, and Git's model works very well for many different scenarios.
Ha az Ön alkalmazása fejlesztők számára készült, jó esély van arra, hogy a forráskód-ellenőrzéssel való integráció előnyös lehet.
Még a nem fejlesztői alkalmazások, például a dokumentumszerkesztők is profitálhatnak a verzióvezérlési funkciókból, és a Git modellje nagyon jól működik számos különböző forgatókönyv esetén.

If you need to integrate Git with your application, you have essentially two options: spawn a shell and call the `git` command-line program, or embed a Git library into your application.
Here we'll cover command-line integration and several of the most popular embeddable Git libraries.
Ha a Git integrálása szükséges az Ön alkalmazásába, akkor alapvetően két lehetőség közül választhat: létrehozhat egy rendszerhéjt (shell) és meghívhatja a `git` parancssori programot, vagy beágyazhat egy Git könyvtárat az alkalmazásába.
Itt a parancssori integrációt és a legnépszerűbb beágyazható Git könyvtárak közül néhánnyal foglalkozunk.

include::book/B-embedding-git/sections/command-line.asc[]

Expand Down
4 changes: 2 additions & 2 deletions LICENSE.asc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-sa/3.0 or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
Ez a munka a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported licenc alatt található.
A licenc másolatának megtekintéséhez látogasson el a https://creativeCommons.org/licenses/by-nc-sa/3.0 webhelyre, vagy küldjön levelet a Creative Commons-nak, PO Box 1866, Mountain View, CA 94042, USA.
62 changes: 31 additions & 31 deletions README.asc
Original file line number Diff line number Diff line change
@@ -1,69 +1,69 @@
= Pro Git, Second Edition
= Pro Git, második kiadás

Welcome to the second edition of the Pro Git book.
Üdvözöljük a Pro Git könyv második kiadásában!

You can find this book online at: https://git-scm.com/book
Ez a könyv online elérhető: https://git-scm.com/book

Like the first edition, the second edition of Pro Git is open source under a Creative Commons license.
Ahogy a Pro Git első kiadása, a második kiadás is nyílt forráskódú, Creative Commons licenc alatt.

A couple of things have changed since open sourcing the first edition.
For one, we've moved from Markdown to the amazing AsciiDoc format for the text of the book; here's an https://docs.asciidoctor.org/asciidoc/latest/syntax-quick-reference/[AsciiDoc quick reference].
Néhány dolog megváltozott az első kiadás megnyitása óta.
Egyrészt a Markdown-ról a könyv szövegét a csodálatos AsciiDoc formátumára költöztettünk; itt van egy https://docs.asciidoctor.org/asciidoc/latest/syntax-quick-reference/[AsciiDoc gyorsreferencia].

We've also moved to keeping the translations in separate repositories rather than subdirectories of the English repository.
See link:TRANSLATING.md[the translating document] for more information.
Másrészt, a könyv fordításai is különböző nyelvű tárolókban találhatók, nem pedig az angol tároló almappáiban.
További információk a link:TRANSLATING.md[fordítási dokumentum] linken.

== How To Generate the Book
== Hogyan lehet előállítani a könyvet

You can generate the e-book files manually with Asciidoctor.
If you run the following you _may_ actually get HTML, Epub, Mobi and PDF output files:
Az e-könyv fájlokat manuálisan generálhatja az Asciidoctor segítségével.
Ha a következőket futtatja, akkor _valóban kap_ HTML, EPUB, MOBI és PDF kimeneti fájlokat:

----
$ bundle install
$ bundle exec rake book:build
Converting to HTML...
-- HTML output at progit.html
Converting to EPub...
-- Epub output at progit.epub
Converting to Mobi (kf8)...
-- Mobi output at progit.mobi
Converting to PDF...
-- PDF output at progit.pdf
Átalakítás HTML állományra...
-- HTML kimenet: progit.html
Átalakítás EPub állományra...
-- Epub kimenet: progit.epub
Átalakítás Mobi (kf8) állományra...
-- Mobi kimenet: progit.mobi
Átalakítás PDF állományra...
-- PDF kimenet: progit.pdf
----

You can generate just one of the supported formats (HTML, EPUB, mobi, or PDF).
Use one of the following commands:
Csak az egyik támogatott formátum (HTML, EPUB, MOBI vagy PDF) elkészítése.
Használja a következő parancsok egyikét:

To generate the HTML book:
HTML könyv előállításához:

----
$ bundle exec rake book:build_html
----

To generate the EPUB book:
EPUB könyv előállításához:

----
$ bundle exec rake book:build_epub
----

To generate the mobi book:
Mobi könyv előállításához:

----
$ bundle exec rake book:build_mobi
----

To generate the PDF book:
PDF könyv előállításához:

----
$ bundle exec rake book:build_pdf
----

== Signaling an Issue
== Hibajelentés

Before signaling an issue, please check that there isn't already a similar one in the bug tracking system.
Mielőtt jelezne egy problémát, kérjük, ellenőrizze, hogy a hiba követő rendszerében már nincs-e hasonló.

Also, if this issue has been spotted on the git-scm.com site, please cross-check that it is still present in this repo.
The issue may have already been corrected, but the changes have not been deployed yet.
Továbbá, ha ezt a kérdést észrevették a git-scm.com webhelyen, kérjük, ellenőrizze, hogy még mindig jelen van ebben a tárolóban.
Lehet, hogy a kérdést már kijavították, de a változásokat még nem hajtották végre.

== Contributing
== Közreműködés

If you'd like to help out by making a change, take a look at the link:CONTRIBUTING.md[contributor's guide].
Ha szeretne hozzájárulni a könyvhöz, kérjük, olvassa el a link:CONTRIBUTING.md[hozzájárulási útmutatót].
50 changes: 25 additions & 25 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace :book do
end
end

desc 'build basic book formats'
desc 'alapvető könyvformátumok előállítása'
task :build => [:build_html, :build_epub, :build_fb2, :build_mobi, :build_pdf] do
begin
# Run check
Expand All @@ -42,83 +42,83 @@ namespace :book do
# Rescue to ignore checking errors
rescue => e
puts e.message
puts 'Error when checking books (ignored)'
puts 'Hiba a könyvek ellenőrzése közben (mellőzve)'
end
end

desc 'build basic book formats (for ci)'
desc 'alapvető könyvformátumok előállítása (folyamatos integrációhoz)'
task :ci => [:build_html, :build_epub, :build_fb2, :build_mobi, :build_pdf] do
# Run check, but don't ignore any errors
Rake::Task['book:check'].invoke
end

desc 'generate contributors list'
desc 'közreműködési lista előállítása'
file 'book/contributors.txt' do
puts 'Generating contributors list'
puts 'Közreműködési lista előállítása'
sh "echo 'Contributors as of #{header_hash}:\n' > book/contributors.txt"
sh "git shortlog -s HEAD | grep -v -E '(Straub|Chacon|dependabot)' | cut -f 2- | sort | column -c 120 >> book/contributors.txt"
end

desc 'build HTML format'
desc 'HTML formátum készítése'
task :build_html => 'book/contributors.txt' do
check_contrib()

puts 'Converting to HTML...'
puts 'Átalakítás HTML formátumra...'
sh "bundle exec asciidoctor #{params} -a data-uri progit.asc"
puts ' -- HTML output at progit.html'
puts ' -- HTML kimenet: progit.html'

end

desc 'build Epub format'
desc 'Epub formátum készítése'
task :build_epub => 'book/contributors.txt' do
check_contrib()

puts 'Converting to EPub...'
puts 'Átalakítás EPub formátumra...'
sh "bundle exec asciidoctor-epub3 #{params} progit.asc"
puts ' -- Epub output at progit.epub'
puts ' -- Epub kimenet: progit.epub'

end

desc 'build FB2 format'
desc 'FB2 formátum készítése'
task :build_fb2 => 'book/contributors.txt' do
check_contrib()

puts 'Converting to FB2...'
puts 'Átalakítás FB2 formátumra...'
sh "bundle exec asciidoctor-fb2 #{params} progit.asc"
puts ' -- FB2 output at progit.fb2.zip'
puts ' -- FB2 kimenet: progit.fb2.zip'

end

desc 'build Mobi format'
desc 'Mobi formátum készítése'
task :build_mobi => 'book/contributors.txt' do
check_contrib()

puts "Converting to Mobi (kf8)..."
puts "Átalakítás Mobi (kf8) formátumra..."
sh "bundle exec asciidoctor-epub3 #{params} -a ebook-format=kf8 progit.asc"
puts " -- Mobi output at progit.mobi"
puts " -- Mobi kimenet: progit.mobi"
end

desc 'build PDF format'
desc 'PDF formátum készítése'
task :build_pdf => 'book/contributors.txt' do
check_contrib()

puts 'Converting to PDF... (this one takes a while)'
puts 'Átalakítás PDF formátumra... (eltarthat egy ideig)'
sh "bundle exec asciidoctor-pdf #{params} progit.asc 2>/dev/null"
puts ' -- PDF output at progit.pdf'
puts ' -- PDF kimenet: progit.pdf'
end

desc 'Check generated books'
desc 'Előállított könyvek ellenőrzése'
task :check => [:build_html, :build_epub] do
puts 'Checking generated books'
puts 'Előállított könyvek ellenőrzése'

sh "htmlproofer progit.html"
sh "epubcheck progit.epub"
end

desc 'Clean all generated files'
desc 'Minden előállított fájl eltávolítása'
task :clean do
begin
puts 'Removing generated files'
puts 'Elkészített fájlok eltávolítása'

FileList['book/contributors.txt', 'progit.html', 'progit-kf8.epub', 'progit.epub', 'progit.fb2.zip', 'progit.mobi', 'progit.pdf'].each do |file|
rm file
Expand All @@ -127,7 +127,7 @@ namespace :book do
rescue Errno::ENOENT => e
begin
puts e.message
puts 'Error removing files (ignored)'
puts 'Hiba a fájlok eltávolításakor (mellőzve)'
end
end
end
Expand Down
6 changes: 3 additions & 3 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Reporting a security issue
## Biztonsági probléma jelentése

If you find any security issue or vulnerability, please email [[email protected]](mailto:[email protected]) with your report.
Amennyiben bármilyen biztonsági problémát vagy sebezhetőséget talál, kérjük, küldje el a jelentését e-mailben a következő címre: [[email protected]](mailto:[email protected]).

Do not open a issue on the `progit/progit2` repository or discuss the vulnerability in public.
Ne nyisson problémát a `progit/progit2` tárolóban, és ne vitassa meg nyilvánosan a sebezhetőséget.
Loading