Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
232 commits
Select commit Hold shift + click to select a range
6512cda
release-3.1 branch: build (#2270)
yikeke Feb 21, 2020
09b3945
update pdf generation for v3.1
Feb 21, 2020
ee5703d
uncomment check links
Feb 21, 2020
803684c
Update config.yml
YiniXu9506 Feb 22, 2020
324fd32
.github: update pr template (#2279) (#2283)
sre-bot Feb 24, 2020
41fb102
readme: make some minor edits to test cherry-pick (#2275) (#2278)
sre-bot Feb 24, 2020
f56d735
update verify links to fit current layout (#2288)
sre-bot Feb 24, 2020
2cf9ce9
reference/performance: correct replica selection policy of follower r…
sre-bot Feb 24, 2020
84f3b9d
reference: add user documentation for auto_random feature (#2209) (#2…
tangenta Feb 24, 2020
b9a9848
scripts/verify-links: update link check error messages (#2292) (#2295)
sre-bot Feb 25, 2020
6154fc6
remove latest in download doc (#2300)
sre-bot Feb 25, 2020
e6383b5
Update relay-log.md (#2310)
sre-bot Feb 26, 2020
85b973f
how-to/get-started: change tispark-sample-data download address (#231…
sre-bot Feb 27, 2020
7e2e1a8
reference/performance: update raft parameter name (#2321)
sre-bot Feb 27, 2020
b079edd
reference/transaction: fix typo (#2327)
sre-bot Feb 27, 2020
262cb72
tidb-in-kubernetes: add specific Helm version (#2298) (#2331)
sre-bot Feb 28, 2020
1764cb4
sql/attributes: refine the language of auto random doc (#2333) (#2334)
sre-bot Feb 28, 2020
9e5b7bd
reference/performance: update replica selection policy of follower re…
sre-bot Feb 28, 2020
bc52702
dev/v3.1: move optimizer hints to proper section (#2252) (#2337)
sre-bot Mar 2, 2020
7327050
how-to: optimize pd operation and upgrade monitor version (#2287) (#2…
sre-bot Mar 3, 2020
6fc068c
.github: update pull request template (#2349) (#2353)
sre-bot Mar 4, 2020
8f92d12
how-to/scale: add necessary actions on the target machines (#2324) (#…
sre-bot Mar 4, 2020
aabc29c
how-to/scale: refine the format of ansible doc (#2359) (#2362)
sre-bot Mar 4, 2020
de71ad3
reference/configuration: update note for stmt-count-limit (#2363) (#2…
sre-bot Mar 4, 2020
d1c35a1
releases: add 3.0.11 release notes (#2366) (#2369)
sre-bot Mar 4, 2020
5b2fdfc
tidb-in-kubernetes: update prerequisites.md (#2344) (#2355)
sre-bot Mar 5, 2020
e5e2f4e
best-practices: fix a typo (#2374) (#2376)
lilin90 Mar 5, 2020
63c4923
tidb-in-kubernetes: update backup & restore usage docs (#2236) (#2339)
TomShawn Mar 5, 2020
103ec30
faq: fix sysbench links (#2387) (#2390)
sre-bot Mar 6, 2020
cd1b15c
sql: add explain for use (#2367) (#2378)
sre-bot Mar 9, 2020
2023ad5
reference/configuration: fix note for stmt-count-limit (#2370)
jackysp Mar 9, 2020
bd14b1c
resources: update pingcap style guide (#2394) (#2397)
sre-bot Mar 9, 2020
1742096
reference/transactions: fix code block style (#2402) (#2408)
sre-bot Mar 9, 2020
fd1fec0
reference: add note about not supporting multiple ALTER TABLE operati…
sre-bot Mar 9, 2020
acd7b88
reference/sql: clarify one sentence (#2385) (#2416)
sre-bot Mar 9, 2020
9b99cb6
reference: change default value for two tidb-specific variables (#240…
sre-bot Mar 9, 2020
421a1fb
releases,toc: add v3.1.0-beta.2 Release Notes (#2303) (#2418)
sre-bot Mar 9, 2020
613f970
reference/tools: refine format of a default value in br document (#24…
sre-bot Mar 9, 2020
632528b
how-to/secure: fix TLS client typo (#2421) (#2424)
sre-bot Mar 10, 2020
3803cf7
releases: change the format of 3.1.0-beta.2 release notes (#2420) (#2…
sre-bot Mar 10, 2020
895dd9e
contributing: fix a typo (#2403) (#2431)
sre-bot Mar 10, 2020
b8d1552
tidb-in-kubernetes: fix an alias (#2433) (#2435)
sre-bot Mar 11, 2020
0dd0b54
.markdownlint: disable "no trailing spaces" rule (#2401) (#2438)
sre-bot Mar 12, 2020
ee60719
tidb-binlog: add bi-replication doc (#2358) (#2440)
sre-bot Mar 12, 2020
d742287
tools: add TOC for sync-diff-inspector (#2345) #2443
sre-bot Mar 12, 2020
8419137
tools: don't suggest user to use latest version in dm-ansible (#2451)…
sre-bot Mar 12, 2020
31aa482
CONTRIBUTING: update descriptions (#2444) (#2447)
sre-bot Mar 13, 2020
6ab2615
data migration: add release notes for v1.0.4 (#2461) (#2465)
sre-bot Mar 13, 2020
c3b1ab4
Overview: fixed some typos (#2466) (#2469)
sre-bot Mar 13, 2020
8e4787e
remove grafana collector port (#2313) (#2474)
sre-bot Mar 16, 2020
aebf804
tidb-in-kubernetes: update lightning directory (#2448) (#2458)
sre-bot Mar 16, 2020
c055929
releases: add 3.0.12 release notes (#2479) (#2484)
sre-bot Mar 16, 2020
970bcf2
*: modify aborted-queries to expensive-queries (#2392) (#2486)
sre-bot Mar 16, 2020
b951c52
CONTRIBUTING, resources, media: add Figma Guide (#2462) (#2489)
sre-bot Mar 17, 2020
d4154eb
reference/tidb-binlog: add document for pump and drainer configs v3.0…
sre-bot Mar 17, 2020
c49b6cb
reference: update tutorials about dm wildcard support (#2383) (#2514)
sre-bot Mar 18, 2020
fb4dad9
reference/sql: add some details to the document of auto_random (#2478…
sre-bot Mar 18, 2020
83ed795
reference/tidb-binlog: fix the format of Drainer table (#2517) (#2520)
sre-bot Mar 19, 2020
fe4c850
tidb-in-kubernetes: add tidb scheduler document (#2228) (#2499)
sre-bot Mar 19, 2020
ceb2699
data-migration: add an introduction doc of DM online-ddl-scheme (#242…
sre-bot Mar 19, 2020
d4770d5
reference/sql: list valid length value ranges in VARCHAR for differen…
sre-bot Mar 19, 2020
fa0bc4e
dm: update error handling for 3.0 (#2534) (#2536)
sre-bot Mar 20, 2020
08c5681
reference/tools: remove extra space to fix format
lilin90 Mar 21, 2020
e1dda59
best-practice: fix namespace-classifier value (#2215) (#2507)
sre-bot Mar 24, 2020
39fba95
how-to/deploy: update push gateway requirement (#2475) (#2544)
sre-bot Mar 24, 2020
ddc86cf
tools: remove edit config file in dm-portal (#2480) (#2546)
sre-bot Mar 24, 2020
d0a8c97
DM: fix error in dm portal (#2551) (#2554)
sre-bot Mar 25, 2020
90e154f
tidb-in-kubernetes: fix inconsistency with other versions (#2555)
Mar 25, 2020
6e6983c
tidb-scheduler: improve some expressions (#2542) (#2559)
sre-bot Mar 25, 2020
7648ed4
reference: updated zero month and zero day (#2557) (#2562)
sre-bot Mar 25, 2020
b4a474a
reference: unify the term "coprocessor" (#2563) (#2566)
sre-bot Mar 25, 2020
bda162c
how-to,releases: change all http://gitub.com to https://github.com an…
sre-bot Mar 25, 2020
6244cd5
*: unify ansible names (#2575) (#2579)
sre-bot Mar 27, 2020
2e80d4d
sql: make example in RBAC doc easier to understand (#2570) (#2582)
sre-bot Mar 30, 2020
f866a11
reference: add some explanation about _tidb_rowid (#2569) (#2590)
sre-bot Apr 1, 2020
67f818b
tidb-in-k8s: remove all tidb-operator related files from docs-cn repo…
sre-bot Apr 1, 2020
9d0ac57
DM: remove all DM files from docs-cn repo (#2585) (#2598)
sre-bot Apr 1, 2020
f245810
TOC: fix dead links (#2599) (#2602)
sre-bot Apr 1, 2020
44a5e21
reference/configuration, faq: add both config and faq of server-versi…
sre-bot Apr 1, 2020
154122b
how-to: add placement rule guide (#2587) (#2610)
sre-bot Apr 2, 2020
d49ea8f
sql: add explanation for `ADMIN REPAIR TABLE` (#2571) (#2614)
sre-bot Apr 2, 2020
ef05f2d
reference: add 11 new documents for TiFlash (#2603) (#2615)
sre-bot Apr 2, 2020
3935211
releases: add 3.1.0-rc release notes (#2611) (#2616)
sre-bot Apr 2, 2020
3dedd12
TiFlash: fix a TOC link (#2617) (#2618)
sre-bot Apr 3, 2020
b336bb3
fix pic size (#2619) (#2620)
sre-bot Apr 3, 2020
3991701
remove repair (#2625)
toutdesuite Apr 3, 2020
7076d7d
*: update some guiding resources (#2628) (#2631)
sre-bot Apr 4, 2020
4962aaf
readme: update release-3.0 description
lilin90 Apr 4, 2020
a9ac28c
sql: add more info about load data (#2568) (#2638)
sre-bot Apr 7, 2020
7823ca7
reference: update TiFlash tune doc (#2642) (#2647)
sre-bot Apr 7, 2020
79e5104
update tiflash 3.1 upgrade document (#2655)
marsishandsome Apr 8, 2020
e09e942
Explain how to set query tso to 1 second before (#2659) (#2660)
sre-bot Apr 8, 2020
cb01182
typo: tomestone -> tombstone (#2668) (#2670)
sre-bot Apr 9, 2020
df0072c
update the sql_mode description (#2679) (#2683)
sre-bot Apr 9, 2020
c29b449
tiflash: update tune-performance.md (#2686) (#2688)
sre-bot Apr 9, 2020
c0d76d3
tiflash: update faq.md (#2687) (#2690)
sre-bot Apr 9, 2020
67e50ce
Update use-tiflash.md (#2696) (#2697)
sre-bot Apr 10, 2020
e7fa449
tiflash: fix architecture image (#2708) (#2711)
sre-bot Apr 12, 2020
d82b32d
CONTRIBUTING: update a link about claiming tasks (#2556) (#2716)
sre-bot Apr 13, 2020
e97cef7
releases: unify release notes format (#2722) (#2725)
sre-bot Apr 14, 2020
d0fa08f
tiflash: update an image to text in use-tiflash.md (#2721) (#2730)
sre-bot Apr 14, 2020
ecfd6f2
reference/performance/follower-read: refine some terms (#2533) (#2734)
sre-bot Apr 14, 2020
ede6b63
docs-cn: update issue templates (#2740) (#2744)
sre-bot Apr 14, 2020
53bf5d8
reference: add a description of max-index-length (#2748) (#2765)
sre-bot Apr 15, 2020
2c6ca6e
reference: rename TiDB Controller to TiDB Control (#2747) (#2781)
sre-bot Apr 16, 2020
b3c1064
Modify tiflash proxy config explanation (#2783) (#2784)
sre-bot Apr 16, 2020
5e50041
tiflash: add warning to upgrade from pre-rc version (#2778) (#2786)
sre-bot Apr 16, 2020
eaf84be
tiflash: remove tiflash tar (#2789)
marsishandsome Apr 16, 2020
c4e268c
releases, toc: add 3.1.0 GA release notes (#2777) (#2791)
sre-bot Apr 16, 2020
7b12093
*: update guiding materials in docs-cn repo (#2788) (#2796)
sre-bot Apr 16, 2020
1960343
tools: update download url (#2720) (#2823)
sre-bot Apr 20, 2020
1dbb8b4
reference/sql: add description about when partition pruning works (#2…
sre-bot Apr 20, 2020
84afdc4
tiflash: add more explanation for multi disk deployment (#2752) (#2833)
sre-bot Apr 20, 2020
5693502
tiflash: add more explanation on how to clear syncing rules about tif…
sre-bot Apr 20, 2020
6c2fde1
tidb-binlog: remove useless config of reparo (#2828) (#2831)
sre-bot Apr 22, 2020
7b57b95
how-to: fix the Mem_max field name (#2859) (#2863)
sre-bot Apr 22, 2020
f46ba2c
releases: add 3.0.13 release notes (#2866) (#2868)
sre-bot Apr 22, 2020
cca72a9
tiflash: Update TiFlash recommended disk capacity (#2856) (#2873)
sre-bot Apr 24, 2020
3f2928a
tidb-binlog: change bidirectional replication file name and image (#2…
sre-bot Apr 24, 2020
191bcc2
tiflash: Update behavior under CBO mode (#2883) (#2890)
sre-bot Apr 26, 2020
45546b8
*: add warnings for experimental features (#2888) (#2893)
sre-bot Apr 27, 2020
3e5a8db
reference/sql: add anchor links (#2713) (#2896)
sre-bot Apr 27, 2020
623a704
how-to: update tidb-lightning.md (#2807) (#2902)
sre-bot Apr 27, 2020
03c6088
pd: update docs for pd-recover (#2410) (#2899)
sre-bot Apr 28, 2020
f7f9097
resources: update style guide (#2908) (#2913)
sre-bot Apr 28, 2020
732a821
sql: remove duplicate content (#2750)
toutdesuite Apr 30, 2020
9ad7b64
releases, toc: add 3.1.1 release notes (#2937) (#2944)
sre-bot Apr 30, 2020
4f99482
contributing: add a link to join #sig-docs Slack channel (#2950) (#2953)
sre-bot May 6, 2020
4922796
ci: add GitHub action to upload media files (#2958) (#2962)
sre-bot May 6, 2020
5f591f2
br: add backup and resotre from s3 with BR (#2802) (#2964)
sre-bot May 6, 2020
7ee203e
tools: fix typo of binlog's minitor (#2970) (#2973)
sre-bot May 7, 2020
eeb2fe0
contributing: add link of #sig-docs slack channel with referral (#295…
sre-bot May 7, 2020
cfd37ba
tiflash: update expression list supported by TiFlash in 3.1 (#2906)
windtalker May 8, 2020
1af1a4e
reference/performance: reorder tikv tuning log parameters (#2948) (#2…
sre-bot May 8, 2020
ce6ea34
*: update the recent improvements about tls/security (#2417) (#2999)
sre-bot May 8, 2020
b834cf9
add param value for 'tidb_replica_read' (#2977) (#3001)
sre-bot May 8, 2020
df31773
how-to/secure: remove some week cipher suits (#2998) (#3004)
sre-bot May 8, 2020
e83ab8c
*: fix typo for reload tls (#2933) (#3006)
sre-bot May 8, 2020
2cc127b
reference: add a description in the mysql-compatibility doc (#2986) (…
sre-bot May 9, 2020
6eb60f0
reference/tools: add warning for deprecated loader (#2904) (#3009)
sre-bot May 9, 2020
19da2cd
releases: add 3.0.14 release notes (#3016) (#3019)
sre-bot May 9, 2020
fca2d72
reference/tools: update lightning, syncer docs (#3015) (#3035)
sre-bot May 12, 2020
793ab0f
releases: add a note to tidb 3.0.14 release notes (#3040) (#3042)
sre-bot May 12, 2020
fc1e0b9
tools: update use limit for sync-diff-inspector (#2746) (#3050)
sre-bot May 12, 2020
595f546
how-to/troubleshoot: add TiDB diagnose map (#2955) (#3054)
sre-bot May 12, 2020
6efe60e
json 字段创建索引 (#3059) (#3063)
sre-bot May 13, 2020
fa9fbad
doc: add auto_id_cache table option explanation (#3046) (#3076)
sre-bot May 13, 2020
b1b2b23
toc: add `alter-instance` in toc (#3068) (#3078)
sre-bot May 13, 2020
ad0577d
br: remove confusing concurrency (#3065) (#3082)
sre-bot May 13, 2020
ecfcf2c
reference/sql: update data types (#2853) (#3073)
sre-bot May 13, 2020
3cc7952
releases: add deprecated note in title (#2939) (#3085)
sre-bot May 13, 2020
0bcb5b2
*: simplify all file directories for v3.1 (#3095)
yikeke May 14, 2020
e0ca92a
add alias (#3098)
zhouqiang-cl May 14, 2020
941f1e5
reference: add new option for tidb_replica_read (#2762) (#3105)
sre-bot May 14, 2020
a42d80e
tools/br: add explanation for copying SSTs file (#3104) (#3111)
sre-bot May 14, 2020
a271c88
reference: fix split region doc mistake (#2975) (#3090)
sre-bot May 15, 2020
311ce5a
br: add incremental recover/backup. (#2985) (#3120)
sre-bot May 15, 2020
0920098
Update hardware-and-software-requirements.md (#3119) (#3123)
sre-bot May 15, 2020
5c3312b
TiFlash: Add some notes about hint on table alias name (#3103) (#3126)
sre-bot May 15, 2020
22dffeb
reference/performance: elaborate more on optimizer hints (#2644) (#3080)
sre-bot May 15, 2020
424a04a
README.md: remove outdated file path description (#3114) (#3130)
sre-bot May 15, 2020
ea13e7c
resources: update the Figma link (#3230) (#3233)
sre-bot May 22, 2020
d83a913
fix build issues (#3373)
ran-huang May 27, 2020
798fdd6
Remove inline code format from metadata
lilin90 May 27, 2020
ea0255c
config: update PDF name
May 28, 2020
29a7465
update PDF name
May 28, 2020
edb069b
fix build issues (#3385)
ran-huang May 28, 2020
eec81dd
*: remove testing deployment using Docker (#3395) (#3399)
sre-bot May 28, 2020
8068da9
tools: adding example log for ignoring txn in drainer (#3287) (#3406)
sre-bot May 29, 2020
3bb1b02
Add FAQ documents to BR (#3344) (#3443)
sre-bot Jun 2, 2020
9cbda25
BR: fix a title with bracket (#3442) (#3444)
sre-bot Jun 2, 2020
ee7b300
Update go version (#3426)
TomShawn Jun 3, 2020
7de2b9c
cherry pick #3481 to release-3.1 (#3484)
sre-bot Jun 4, 2020
47927b1
toc: remove links at folder level (#3495)
TomShawn Jun 4, 2020
c69f348
add TiDB 3.1.2 release notes (#3487) (#3505)
sre-bot Jun 4, 2020
5705d50
cherry pick #3510 to release-3.1 (#3521)
sre-bot Jun 5, 2020
3ba4913
reference: refine the ecosystem tools user guide (#3497) (#3512)
sre-bot Jun 5, 2020
a90ce23
zh: improve description for public cloud (#3527) (#3530)
sre-bot Jun 5, 2020
ea20204
update dumpling backup document (#3541) (#3563)
sre-bot Jun 8, 2020
2349dc7
system-tables: add a description for columns (#3459) (#3566)
sre-bot Jun 8, 2020
b6ff184
glossary: add a term "Restore" (#3588) (#3593)
sre-bot Jun 10, 2020
4d65f59
migrate: migrate from mysql files (#3252) (#3582)
sre-bot Jun 11, 2020
3358254
add migrate-from-mysql-mydumper-files.md to TOC (#3609)
yikeke Jun 12, 2020
4c89995
update comment-syntax.md (#3193) (#3615)
sre-bot Jun 12, 2020
051de57
add auto label github action (#3624) (#3627)
sre-bot Jun 13, 2020
24c6dde
lightning: fix wrong configuration description (#3604) (#3644)
sre-bot Jun 15, 2020
fc1b7c8
system-tables: add some descriptions for columns (#3468) (#3619)
sre-bot Jun 15, 2020
7f847ba
Update tidb-lightning-tidb-backend.md (#3605) (#3658)
ti-srebot Jun 15, 2020
1e3ac24
add `SET ROLE` document (#3358) (#3660)
ti-srebot Jun 15, 2020
60e4fa2
add sql statement for show analyze status (#3329) (#3662)
ti-srebot Jun 15, 2020
0aa8c4b
cherry pick #3437 to release-3.1 (#3667)
ti-srebot Jun 15, 2020
1e0f697
cherry pick #3143 to release-3.1 (#3673)
ti-srebot Jun 16, 2020
7363f1d
cherry pick #3153 to release-3.1 (#3682)
ti-srebot Jun 16, 2020
7ab91cb
add doc about tiflash command line flags (#3205) (#3683)
ti-srebot Jun 16, 2020
d2f6fbc
add deprecated warnings for outdated deployment methods (#3626) (#3691)
ti-srebot Jun 17, 2020
4643696
Add syntax gram of `load stats` (#3362) (#3694)
ti-srebot Jun 18, 2020
045113c
cherry pick #3707 to release-3.1 (#3710)
ti-srebot Jun 19, 2020
7cd4ffb
Update command line flags for tikv configruation (#3155) (#3715)
ti-srebot Jun 19, 2020
30a42d2
best-practice: update massive regions to match 4.0 (#3152) (#3714)
ti-srebot Jun 19, 2020
9fc7d46
tuning: add tune-operating-system (#3157) (#3718)
ti-srebot Jun 19, 2020
18ecf5f
update literal-values.md (#3236) (#3727)
ti-srebot Jun 19, 2020
fa85fea
update schema-object-names.md (#3242) (#3730)
ti-srebot Jun 19, 2020
f9c232f
Update tispark doc (#3257) (#3733)
ti-srebot Jun 19, 2020
846dff7
update the doc of view (#3179) (#3735)
ti-srebot Jun 19, 2020
efd2ccb
update user-defined-variables.md (#3271) (#3736)
ti-srebot Jun 19, 2020
33fd831
Update grafana-monitor-best-practices.md (#3288) (#3739)
ti-srebot Jun 19, 2020
15d59ec
Update grafana pd dashboard (#3343) (#3742)
ti-srebot Jun 19, 2020
9721f9d
Update benchmark-tidb-using-tpcc.md (#3354) (#3743)
ti-srebot Jun 19, 2020
b637257
update document of tidb-ctl (#3189) (#3724)
ti-srebot Jun 22, 2020
c2c88b6
cherry pick #3254 to release-3.1 (#3763)
ti-srebot Jun 22, 2020
805be7d
*: add warnings for user variables (#3771) (#3774)
ti-srebot Jun 22, 2020
ebbe597
br: fix an expression that isn't accurate enough (#3656) (#3777)
ti-srebot Jun 23, 2020
d70c224
update document of privilege management (#3202) (#3764)
ti-srebot Jun 24, 2020
068225c
perf-tuning: add blacklist-control-plan.md (#3253) (#3761)
ti-srebot Jun 24, 2020
1d80e16
chore: update PDF name
Jun 24, 2020
7380a67
cherry pick #3795 to release-3.1 (#3796)
ti-srebot Jun 25, 2020
308d664
cherry pick #3797 to release-3.1 (#3798)
ti-srebot Jun 25, 2020
8267402
perf-tuning: Add document for topn-limit-push-down (#3307) (#3753)
ti-srebot Jun 28, 2020
100c1a5
br: remove backup and restore principle (#3706) (#3802)
ti-srebot Jun 28, 2020
91b36e1
perf-tuning: Add document for column prune (#3190) (#3756)
ti-srebot Jun 29, 2020
d81c635
cherry pick #3824 to release-3.1 (#3826)
ti-srebot Jun 30, 2020
3da368a
Fix typo in literal values (#3845) (#3852)
ti-srebot Jul 1, 2020
d8e3f97
Add scripts to verify anchors (#3835) (#3855)
yikeke Jul 3, 2020
dc18a09
Add tikv overview (#3249) (#3865)
ti-srebot Jul 3, 2020
ab49249
faq: update mysql8 client fail to connect tidb (#3577) (#3872)
ti-srebot Jul 3, 2020
ad5be4a
Add TiDB v3.0.16 release notes (#3847) (#3885)
ti-srebot Jul 3, 2020
9679c47
Fix a broken link (#3881)
CaitinChen Jul 3, 2020
eae5f09
Add store limit guide (#3833)
rleungx Jul 6, 2020
a6074c6
Readme: change 4.0 branch description (#3898) (#3902)
ti-srebot Jul 7, 2020
58f4004
tools: add shard table's check by table-rules for diff (#3814) (#3896)
ti-srebot Jul 7, 2020
b54588d
cherry pick #3477 to release-3.1 (#3910)
ti-srebot Jul 7, 2020
f4c9501
Update FAQs
Joyinqin Jul 29, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
45 changes: 22 additions & 23 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,23 @@ version: 2
jobs:
lint:
docker:
- image: circleci/ruby:2.4.1-node
- image: circleci/node:lts
working_directory: ~/pingcap/docs-cn
steps:
- checkout

- run:
name: "Install markdownlint"
name: Setup
command: |
sudo npm install -g markdownlint-cli@0.17.0
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
echo 'export PATH=~/.npm-global/bin:$PATH' >> $BASH_ENV
echo 'export NODE_PATH=~/.npm-global/lib/node_modules:$NODE_PATH' >> $BASH_ENV

- run:
name: "Lint dev"
command: markdownlint dev/
name: "Install markdownlint"
command: |
npm install -g markdownlint-cli@0.17.0

- run:
name: "Lint README"
Expand All @@ -28,10 +32,15 @@ jobs:
git fetch upstream
markdownlint $(git diff-tree --name-only --no-commit-id -r upstream/master..HEAD -- '*.md' ':(exclude).github/*' ':(exclude)v1.0/*' ':(exclude)v2.0/*' ':(exclude)v2.1-legacy/*')

#- run:
# name: "Check links"
# command: |
# scripts/verify-links.sh
- run:
name: "Check links"
command: |
scripts/verify-links.sh

- run:
name: "Check link anchors"
command: |
scripts/verify-link-anchors.sh

build:
docker:
Expand All @@ -58,22 +67,13 @@ jobs:
name: "Publish PDF"
command: |
sudo bash -c 'echo "222.222.95.49 uc.qbox.me" >> /etc/hosts';
if [ "${CIRCLE_BRANCH}" == "master" ]; then
python3 scripts/upload.py dev/output.pdf tidb-manual-cn-dev.pdf;
python3 scripts/upload.py v3.0/output.pdf tidb-manual-cn-v3.0.pdf;
python3 scripts/upload.py v2.1/output.pdf tidb-manual-cn-v2.1.pdf;
python3 scripts/upload.py v3.1/output.pdf tidb-manual-cn-v3.1.pdf;
fi
if [ "${CIRCLE_BRANCH}" == "website-preview" ]; then
python3 scripts/upload.py dev/output.pdf tidb-manual-cn-preview-dev.pdf;
python3 scripts/upload.py v3.0/output.pdf tidb-manual-cn-preview-v3.0.pdf;
python3 scripts/upload.py v2.1/output.pdf tidb-manual-cn-preview-v2.1.pdf;
python3 scripts/upload.py v3.1/output.pdf tidb-manual-cn-preview-v3.1.pdf;
if [ "${CIRCLE_BRANCH}" == "release-3.1" ]; then
python3 scripts/upload.py output.pdf tidb-v3.1-zh-manual.pdf;
fi

- run:
name: "Copy Generated PDF"
command: mkdir /tmp/artifacts && cp dev/output.pdf dev/doc.md /tmp/artifacts && cp v3.0/output.pdf v3.0/doc.md /tmp/artifacts && cp v2.1/output.pdf v2.1/doc.md /tmp/artifacts
command: mkdir /tmp/artifacts && cp output.pdf doc.md /tmp/artifacts

- store_artifacts:
path: /tmp/artifacts
Expand All @@ -89,5 +89,4 @@ workflows:
filters:
branches:
only:
- master
- website-preview
- release-3.1
23 changes: 0 additions & 23 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/change-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: "\U0001F680 Change Request"
about: Any suggestion? Want to add something new?
---

## Change Request

**This repository is ONLY used to solve problems related to DOCS-CN.
For other issues (TiDB, TiKV, etc), please move to [other repositories](https://github.com/pingcap/).**
<!-- 本仓库仅用于解决与中文文档相关的问题,
其他方面问题(如 TiDB、TiKV 等),请移步其他[相关仓库](https://github.com/pingcap/)。 -->

Please answer the following questions before submitting your issue. Thanks!
<!-- 非常感谢你提出相关问题,在提交你的 issue 之前,请回答下面几个问题:-->

1. Describe what you find is inappropriate or missing in the existing docs.
<!-- 1. 描述在现有文档中,你发现不恰当或缺失的内容。-->


2. Describe your suggestion or addition.
<!-- 2. 描述你想要扩充的方面或你的建议。-->


3. Provide some reference materials (documents, websites, etc) if you could.
<!-- 3. 如果方便的话,请提供一些参考资料(比如你发现的文档、网站等)。-->


23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/error-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: "\U0001F41B Error Report"
about: Typos, grammatical errors, terminology misuse, ambiguity, etc.
---

## Error 报告

**This repository is ONLY used to solve problems related to DOCS-CN.
For other issues (TiDB, TiKV, etc), please move to [other repositories](https://github.com/pingcap/).**
<!-- 本仓库仅用于解决与中文文档相关的问题,
其他方面的问题(如 TiDB、TiKV 等),请移步其他[相关仓库](https://github.com/pingcap/)。 -->

Please answer the following questions before submitting your issue. Thanks!
<!-- 非常感谢你提出相关问题,在提交你的 issue 之前,请回答下面几个问题:-->

1. What is the document directory for the problem?
<!-- 1. 该问题出现的文档路径是什么?-->


2. How would you like to improve it?
<!-- 2. 你希望如何改正它? -->


24 changes: 0 additions & 24 deletions .github/ISSUE_TEMPLATE/feature-request.md

This file was deleted.

2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ Before asking a question, make sure you have:
- [TiDB Docs](https://github.com/pingcap/docs)
- [TiDB Docs-cn](https://github.com/pingcap/docs-cn)
<!-- - 阅读了相关文档。 -->

Now, please describe your question here:
6 changes: 6 additions & 0 deletions .github/auto-label.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"rules": {
"translation/welcome": ["*.md", "*.yml", "*.yaml", "*.json", "media/", "scripts/"],
"status/PTAL": ["*.md", "*.yml", "*.yaml", "*.json", "media/", "scripts/"]
}
}
37 changes: 16 additions & 21 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
<!--Thanks for your contribution to TiDB documentation. See [CONTRIBUTING](https://github.com/pingcap/community/blob/master/CONTRIBUTING.md) before filing this pull request (PR).-->
<!--Thanks for your contribution to TiDB documentation. Please answer the following questions.-->

### What is changed, added or deleted? <!--Required-->
### What is changed, added or deleted? (Required)

<!--Tell us what you did and why. This is important to help reviewers and community members understand your PR.-->
<!--Tell us what you did and why.-->

### What is the related PR or file link(s)? <!--Required-->
### Which TiDB version(s) do your changes apply to? (Required)

<!--Give us some reference link(s) that might help quickly review and merge your PR, for example, a file link that supports why you changed the document.-->
<!-- You **must** choose the TiDB version(s) that your changes apply to. Fill in "x" in [] to tick the checkbox below.-->

- [ ] Reference link(s):<!--Give links here-->
- [ ] This PR is to align with:<!--Give links here-->
- [ ] N/A (not applicable)

### Which TiDB version(s) does your changes apply to? <!--Required-->

<!--Tick the checkbox(es) below to choose the TiDB version(s) that your changes apply to.-->

- [ ] All active versions: dev, v3.0, v2.1, v3.1
- [ ] dev (the latest development version)
- [ ] master (the latest development version)
- [ ] v4.0 (TiDB 4.0 versions)
- [ ] v3.1 (TiDB 3.1 versions)
- [ ] v3.0 (TiDB 3.0 versions)
- [ ] v2.1 (TiDB 2.1 versions)
- [ ] v3.1 (TiDB 3.1 versions)
- [ ] v4.0 (TiDB 4.0 versions)
- [ ] All active and inactive versions
- [ ] N/A (not applicable)

**Note:** If your changes apply to multiple TiDB versions, make sure you update the documents in the **corresponding** version folders such as "dev", "v3.0", "v2.1" and "v3.1" in this PR.
<!-- For contributors with **WRITE ACCESS** in this repo:
If you select **two or more** versions from above, to trigger the bot to cherry-pick this PR to your desired release branch(es), you **must** add labels such as "needs-cherry-pick-4.0", "needs-cherry-pick-3.1", "needs-cherry-pick-3.0", or "needs-cherry-pick-2.1" on the right side of this PR page.-->

### What is the related PR or file link(s)?

<!--Give us some reference link(s) that might help quickly review and merge your PR.-->

- [ ] Updated one version first. Will update other versions after I get two LGTMs.
- This PR is translated from:
- Other reference link(s):
16 changes: 16 additions & 0 deletions .github/workflows/auto-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Auto Label
on:
pull_request:
branches:
- master
types: [opened]

jobs:
auto-label:
name: Auto Label
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: banyan/auto-label@1.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39 changes: 39 additions & 0 deletions .github/workflows/media.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Upload media files to Qiniu and Aws when they change
on:
push:
branches:
- master
- release-2.1
- release-3.0
- release-3.1
- release-4.0
paths:
- media/**
jobs:
run:
name: Upload media files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
# Must use at least depth 2!
fetch-depth: 2

- name: Download cloud_assets_utils
run: |
curl -L https://github.com/pingcap/cloud-assets-utils/releases/download/v0.2.0/cloud_assets_utils-ubuntu-latest -o cloud_assets_utils
chmod +x cloud_assets_utils
sudo mv cloud_assets_utils /usr/local/bin/cloud-assets-utils
- name: Configure qshell
run: |
curl http://devtools.qiniu.com/qshell-linux-x64-v2.4.1.zip -o qshell.zip
unzip qshell.zip
sudo mv qshell-linux-x64-v2.4.1 /usr/local/bin/qshell
qshell account ${{ secrets.QINIU_ACCESS_KEY }} ${{ secrets.QINIU_SECRET_KEY }} test
- name: Configure awscli
run: |
pip3 install --upgrade setuptools
pip3 install awscli
printf "%s\n" ${{ secrets.AWS_ACCESS_KEY }} ${{ secrets.AWS_SECRET_KEY }} ${{ secrets.AWS_REGION }} "json" | aws configure
- name: Upload
run: cloud-assets-utils verify-and-sync -qiniu true -qiniu-bucket ${{ secrets.QINIU_BUCKET_NAME }} -aws true -aws-bucket ${{ secrets.AWS_BUCKET_NAME }} media -replace-first-path-to images/docs-cn
4 changes: 2 additions & 2 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
comment: 'Rules for PingCAP docs-cn'
comment: 'Markdownlint Rules for PingCAP docs-cn'

# disable all by default
default: false
Expand All @@ -11,7 +11,7 @@ heading-style:
style: atx

# MD009
no-trailing-spaces: true
# no-trailing-spaces: true

# MD010
no-hard-tabs: true
Expand Down
Loading