Skip to content

Commit c4ef175

Browse files
committed
Upstream changes
2 parents 5b75d5f + e58bd59 commit c4ef175

File tree

10 files changed

+176
-83
lines changed

10 files changed

+176
-83
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

-59
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

+134
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
name: Bug report
2+
description: Create a report to help us improve
3+
labels: ["bug"]
4+
body:
5+
- type: checkboxes
6+
attributes:
7+
label: There's no existing/similar bug report.
8+
description: Please search to see if an issue already exists for the bug you encountered.
9+
options:
10+
- label: I have searched the existing issues
11+
validations:
12+
required: true
13+
14+
- type: checkboxes
15+
attributes:
16+
label: This report is about a single actionable bug.
17+
description: Please create one issue per bug, split up your bug reports if needed.
18+
options:
19+
- label: I'm reporting a single actionable bug
20+
validations:
21+
required: true
22+
23+
- type: checkboxes
24+
attributes:
25+
label: This report is about the ProGit book, version 2, English language.
26+
description: Bug reports about translations or the first version of the book are not accepted.
27+
options:
28+
- label: This bug is not about a translation or old version
29+
validations:
30+
required: true
31+
32+
- type: checkboxes
33+
attributes:
34+
label: Bug covers book website/pdf
35+
description: This bug is about the book as found on the [website](https://www.git-scm.com/book/en/v2) or the PDF.
36+
options:
37+
- label: I confirm the bug is about the book as found on the website/pdf
38+
validations:
39+
required: false
40+
41+
- type: checkboxes
42+
attributes:
43+
label: Problem is present in the Pro Git book on the website?
44+
description: If you found an issue in the pdf/epub/mobi files, you've checked if the problem is also present in the Pro Git book on the [website](https://www.git-scm.com/book/en/v2).
45+
options:
46+
- label: This bug also affects the Pro Git book as published on the website.
47+
validations:
48+
required: false
49+
50+
- type: dropdown
51+
attributes:
52+
label: Which version of the book is affected?
53+
description: |
54+
It's important for us to know if the problem is in the source or in the tooling that creates the pdf/epub/mobi files.
55+
Therefore, please select which versions are affected.
56+
options:
57+
- "Source files"
58+
- "Tooling"
59+
- "Source files and tooling"
60+
- "I don't know"
61+
validations:
62+
required: true
63+
64+
- type: textarea
65+
attributes:
66+
label: "Describe the bug:"
67+
description: A clear and concise description of what the bug is.
68+
validations:
69+
required: true
70+
71+
- type: textarea
72+
attributes:
73+
label: "Steps to reproduce:"
74+
description: Please write the steps needed to reproduce the bug here.
75+
placeholder: Provide a ordered list of steps to reproduce.
76+
value: |
77+
1. Go to '...'
78+
2. Click on '...'
79+
3. 'Scroll down to '...'
80+
4. See error
81+
validations:
82+
required: true
83+
84+
- type: textarea
85+
attributes:
86+
label: "Expected behavior:"
87+
description: A clear and concise description of what you expected to happen.
88+
placeholder: I expected ... to happen.
89+
validations:
90+
required: true
91+
92+
- type: textarea
93+
attributes:
94+
label: "Screenshots:"
95+
description: If applicable, add screenshots to help explain your problem.
96+
placeholder: "Tip: you can drag your screenshot into this field, or you can copy/paste."
97+
validations:
98+
required: false
99+
100+
- type: textarea
101+
attributes:
102+
label: "Additional context:"
103+
description: |
104+
Add any other context about the problem here.
105+
You can also put references to similar bugs here.
106+
placeholder: "Example: this bug also affect issues #1 and #2."
107+
validations:
108+
required: false
109+
110+
- type: input
111+
attributes:
112+
label: Device
113+
description: Tell us what kind of device you're using to access the content.
114+
placeholder: mobile device / desktop / laptop / e-book reader
115+
validations:
116+
required: false
117+
118+
- type: input
119+
attributes:
120+
label: Operating system
121+
description: If the problem is with the book or the published files, we need to know what operating system you run on your device.
122+
placeholder: |
123+
Windows 10 Home Edition
124+
validations:
125+
required: false
126+
127+
- type: input
128+
attributes:
129+
label: Browser/application + version
130+
description: What browser/application are you using? We also need the version number of the browser/application.
131+
placeholder: |
132+
Google Chrome 91.0.4472.164
133+
validations:
134+
required: false

.github/ISSUE_TEMPLATE/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
blank_issues_enabled: false
1+
blank_issues_enabled: true
22
contact_links:
33
- name: Translation bug
44
url: https://github.com/progit/progit2/blob/main/TRANSLATING.md

.github/ISSUE_TEMPLATE/enhancement_idea.md

-15
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Enhancement idea
2+
description: Suggest an idea for the ProGit2 book or repository
3+
labels: ["enhancement"]
4+
body:
5+
- type: textarea
6+
attributes:
7+
label: General overview of your idea.
8+
description: Give a general overview of your idea.
9+
validations:
10+
required: true
11+
12+
- type: textarea
13+
attributes:
14+
label: What problem will this solve?
15+
description: Explain what problem you're trying to solve.
16+
validations:
17+
required: true
18+
19+
- type: textarea
20+
attributes:
21+
label: Have you thought about other solutions?
22+
description: Describe any alternative solutions to the problem.
23+
validations:
24+
required: false
25+
26+
- type: dropdown
27+
attributes:
28+
label: Do you want to help with this enhancement idea?
29+
options:
30+
- "Yes"
31+
- "Maybe"
32+
- "No"
33+
validations:
34+
required: true

Gemfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source 'https://rubygems.org'
22

33
gem 'rake', '13.0.6'
4-
gem 'asciidoctor', '2.0.15'
4+
gem 'asciidoctor', '2.0.16'
55

66
gem 'json', '2.5.1'
77
gem 'awesome_print', '1.9.2'
@@ -12,6 +12,6 @@ gem 'asciidoctor-pdf', '1.6.0'
1212
gem 'coderay', '1.1.3'
1313
gem 'pygments.rb', '2.2.0'
1414
gem 'thread_safe', '0.3.6'
15-
gem 'epubcheck-ruby', '4.2.5.0'
15+
gem 'epubcheck-ruby', '4.2.6.0'
1616
gem 'html-proofer', '3.19.2'
1717
gem 'kindlegen', '3.1.1'

book/01-introduction/sections/help.asc

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $ git help config
1818
----
1919

2020
Тези команди са полезни, защото имате достъп до тях винаги, дори когато сте офлайн.
21-
Ако помощните страници и тази книга не са достатъчни в специфични ситуации, можете да опитате `\#git` или `\#github` каналите на Freenode IRC сървъра на адрес https://freenode.net[].
21+
Ако помощните страници и тази книга не са достатъчни в специфични ситуации, можете да опитате `\#git`, `\#github` или `#gitlab` каналите на Libera Chat IRC сървъра на адрес https://libera.chat/[].
2222
Тези канали редовно са пълни със стотици потребители напреднали с Git и нямащи нищо против да помагат.(((IRC)))
2323

2424
В допълнение, ако не се нуждаете от пълната manpage документация, а само от кратко пояснение за опциите на конкретна команда, можете да използвате параметрите `-h` or `--help` така:

book/01-introduction/sections/history.asc

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22

33
Като много велики неща в живота, Git започва с малко креативна разрушителност и ожесточени спорове.
44

5-
65
Linux ядрото е open source софтуерен проект от сравнително голям мащаб.(((Linux)))
7-
За дълго време от поддръжката на проекта (1991-2002), промените в софтуера се изпращаха под формата на пачове и архивирани файлове.
6+
В ранните години от поддръжката на проекта (1991-2002), промените в софтуера се изпращаха под формата на пачове и архивирани файлове.
87
През 2002 г., Linux kernel проектът започна да използва патентована DVCS система наречена BitKeeper.(((BitKeeper)))
98

109
През 2005, връзката между общността разработваща Linux ядрото и комерсиалната компания стояща зад BitKeeper се разпадна, след което инструментариума на BitKeeper вече не можеше да се ползва свободно.

book/02-git-basics/sections/recording-changes.asc

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Сега трябва да започнете да правите промените, които желаете и да записвате snapshot-и на промените в хранилището всеки път, когато проектът ви достигне състояние, което бихте желали да запишете на сигурно място.
55

66
Помнете, че всеки файл от работната ви директория може да бъде в два статуса - _проследяван_ или _не_ (tracked/untracked).
7-
Tracked файловете са тези от последния snapshot, те може да са непроменени, променени и индексирани (staged).
7+
Tracked файловете са тези от последния snapshot, както и всички новоиндексирани файлове; те може да са непроменени, променени и индексирани (staged).
88
Накратко, _tracked_ файловете са тези, които Git познава.
99

1010
Untracked файловете са всичко останало - всички файлове в работната ви директория, които не са били в последния ви snapshot и не са в staging областта.
@@ -54,7 +54,7 @@ nothing added to commit but untracked files present (use "git add" to track)
5454
----
5555

5656
Можете да видите, че новият `README` файл е непроследен, защото е в секцията "`Untracked files`" на изхода от командата.
57-
Untracked в общи линии означава, че Git вижда файл, който не е присъствал в предишния snapshot (commit) и Git няма сам да започне да го прибавя към следващите commits докато вие не укажете това изрично.
57+
Untracked означава, че Git вижда файл, който не е присъствал в предишния snapshot (commit) и все още не е индексиран; Git няма сам да започне да го прибавя към следващите commits докато вие не укажете това изрично.
5858
Това е умишлено поведение и ви предпазва от ситуации, в които бихте могли автоматично да добавяте файлове, които не желаете, например генерирани binary файлове.
5959
Вие обаче искате да включите `README` файла, така че нека го направим.
6060

book/07-git-tools/sections/rewriting-history.asc

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ f7f3f6d Change my name a bit
124124
Най-старият се показва най-отгоре, защото той е първият, който ще бъде приложен.
125125

126126
Трябва да редактирате скрипта така, че да спре на къмита, който желаете да редактирате.
127-
За да направите това, променете думата `pick' на `edit' за всеки от къмитите, след които искате скрипта да спре.
127+
За да направите това, променете думата "`pick`" на "`edit`" за всеки от къмитите, след които искате скрипта да спре.
128128
Например, за да промените само третото къмит съобщение, променяте файла да изглежда така:
129129

130130
[source,console]

0 commit comments

Comments
 (0)