Angad Singh Grover
f708b92311
pacman-r: add alias page; pacman-remove: update page ( #14807 )
2024-11-16 13:11:41 +01:00
Sebastiaan Speck
c56d61f8d6
wrong-filename: add "pacman s"
to ignore list ( #14802 )
2024-11-14 03:17:54 +01:00
Sebastiaan Speck
316e672699
set-alias-page: fix regex
2024-11-05 20:39:01 +01:00
Sebastiaan Speck
80aa7e9c16
set-alias-page: use translated regex ( #14574 )
2024-11-04 09:22:16 +05:30
Sebastiaan Speck
4cb42adc19
check-pr: add the ability to run with verbose logging ( #14577 )
2024-11-02 22:39:21 +01:00
Jack Lin
aaf688c301
set-alias-page.py: improve regex pattern ( #14368 )
2024-10-30 18:04:17 +01:00
Sebastiaan Speck
eb44fe48f4
check-pr: clarify the messages for new contributors ( #14352 )
2024-10-28 20:48:53 +01:00
Sebastiaan Speck
bf8353aba8
more-info-link: add list of all more-info link templates ( #14155 )
2024-10-13 18:34:58 +02:00
Lena
b421868b4e
scripts/*.sh: establish some conventions ( #13999 )
...
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-10-07 11:32:11 +02:00
Sebastiaan Speck
70d2c92ac0
test: use shellcheck for Bash files ( #13974 )
2024-10-05 16:41:00 +02:00
Sebastiaan Speck
4ec954298e
wrong-filename: add $
and ~
to ignore list ( #13940 )
2024-10-02 19:47:16 +02:00
Sebastiaan Speck
80c7a83e8b
tldr-bot: fix comment formatting ( #13931 )
2024-10-02 12:15:52 +02:00
Sebastiaan Speck
2418089208
send-to-bot: enrich the comment to update the comment later ( #13775 )
2024-10-01 22:30:10 +02:00
Sebastiaan Speck
da8862ffb4
CI: check if the page title is up-to-date ( #13654 )
2024-09-10 19:21:59 +02:00
Sebastiaan Speck
1843cebe68
CI: check if the more info link is up-to-date ( #13653 )
2024-09-10 18:27:48 +02:00
Sebastiaan Speck
cca2ec4765
CI: mute output from Python script ( #13603 )
...
CI: mute output from Python-script
2024-09-07 19:25:27 +02:00
Sebastiaan Speck
dcf36b0d97
CI: check if the more info link is up-to-date ( #13566 )
2024-09-03 07:43:49 +02:00
Sebastiaan Speck
fa91c0c282
scripts/wrong-filename: resolve wrong filenames ( #12844 )
2024-05-27 19:38:56 +02:00
Sebastiaan Speck
dff913f486
scripts/_common.py
: add a shared Python file to move duplicated code (#12755 )
...
* `scripts/_common.py`: add a shared Python file to move duplicated code
---------
Co-authored-by: Vítor Henrique <87824454+vitorhcl@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-05-18 06:03:40 +05:30
Sebastiaan Speck
bc3423250b
scripts/set-alias-page.py, scripts/set-more-info-link.py: sync documentation and get_tldr_root ( #12744 )
...
Co-authored-by: Vítor Henrique <87824454+vitorhcl@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-05-13 16:21:30 +02:00
Sebastiaan Speck
150f02795a
scripts/set-page-title.py: add script ( #12732 )
2024-05-09 13:24:53 +02:00
Sebastiaan Speck
336507ac32
scripts/set-alias-page.py: add language option, fix script ( #12745 )
...
* scripts/set-alias-page.py: add language option, fix script
---------
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Vítor Henrique <87824454+vitorhcl@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-05-09 16:31:01 +05:30
Sebastiaan Speck
4e8f732c4d
scripts/wrong-filename.sh: remove too aggressive replacement
2024-05-05 22:09:10 +02:00
Sebastiaan Speck
c8d6b81588
scripts/wrong-filename.sh: add ignore list + extra replacements ( #12729 )
2024-05-05 21:02:10 +02:00
Sebastiaan Speck
fe67f26e3a
CI: Only ignore TLDR003, TLDR004 and TLDR015 for specific languages ( #12715 )
...
Co-authored-by: Reinhart Previano Koentjoro <reinhart_previano@yahoo.com>
2024-05-05 13:31:02 +02:00
Lena
b9941d2ecf
fix: allow CI to run when PDFs haven't been generated ( #12669 )
2024-04-25 07:03:17 +02:00
Vitor Henrique
f4d1a1d775
scripts: use pathlib and avoid page iteration ( #12183 )
...
* scripts: use pathlib and simplify page iteration
* scripts: remove unnecessary loop
* scripts: remove obsolete condition
* scripts: raise SystemError and readd coloring
* scripts: remove unused "sys" import
* scripts: use Path instead of str for git add
* scripts: revert condition removal
---------
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-13 19:14:50 +05:30
Lena
f1c35b53a3
scripts/deploy.sh: add deployment to GitHub releases
2024-01-28 18:57:30 +05:30
Vitor Henrique
561a364e0d
tooling: add update-command script ( #11974 )
...
* tooling: add update-command script
* update-command: add os import
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* update-command: remove sync argument and small refactor
* update-command: add shebang and license
* update-command: remove unused function
* update-command: add dry-run option
* update-command: add docs in header
* update-command: fix old_common_part var name
* update-command: require command without .md
* update-command: fix command name in description
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
* update-command: remove ".md" suffix in description
* update-command: enclosing positional parameters with angle brackets
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* update-command: enclose paremeters with double angle brackets
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* update-command: refine wording
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* update-command: remove unused functions
* update-command: detect tldr root from any subdir
* update-command: call place_placeholders directly
* update-command: add summary and compatibility to scripts/README.md
* scripts/update-command.py: remove unused method
* scripts/update-command.py: use logger.info instead of print
* scripts/update-command.py: rename command to cmd_example
* scripts/README.md: use command example instead of command
* scripts/update-command.py: remove nonexistent optional argument
* scripts/update-command.py: improve interactive example
* scripts/update-command.py: run black
---------
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-01-27 23:10:42 +08:00
Sebastiaan Speck
54f284164d
check-pr: fix typo ( #12038 )
2024-01-08 20:38:24 +01:00
Sebastiaan Speck
31dd28e9a7
check-pr: only check if new platform-specific page exists as common duplicate ( #11993 )
2024-01-06 19:13:20 +01:00
Sebastiaan Speck
b2f0fb4c04
scripts/check-pr: check only for English pages ( #11980 )
2024-01-03 19:04:10 +05:30
Sebastiaan Speck
9c5ebf5f0b
scripts: add option to dry-run ( #11883 )
2024-01-02 06:53:39 +01:00
Sebastiaan Speck
36a50f5495
check-pr: fix check_duplicates ( #11954 )
2024-01-01 15:57:04 +01:00
Sebastiaan Speck
006c2f6b22
deploy: use single-quoted argument ( #11951 )
2023-12-31 13:20:51 +01:00
Sebastiaan Speck
ca222b2b81
check-pr: add special case for '(' and ')' ( #11869 )
2023-12-27 22:17:30 +01:00
Sebastiaan Speck
4e280a9efe
check-pr: add < and > as special cases and refactor ( #11841 )
2023-12-27 12:06:40 +05:30
Lena
79cd77711e
scripts/deploy.sh: exit immediately if there aren't any changes ( #11836 )
...
* clean up the script
2023-12-26 18:32:55 +05:30
K.B.Dharun Krishna
68306bbf63
cleanup: revert back don't build scripts archive step ( #11838 )
...
Revert "Revert "scripts: don't build archives when pages haven't been changed" (#11837 )"
This reverts commit 6aa6cd8659
.
2023-12-26 00:09:17 +05:30
K.B.Dharun Krishna
6aa6cd8659
Revert "scripts: don't build archives when pages haven't been changed" ( #11837 )
...
Revert "scripts: don't build archives when pages haven't been changed (#11825 )"
This reverts commit d123d51d17
.
2023-12-25 23:35:30 +05:30
Lena
d123d51d17
scripts: don't build archives when pages haven't been changed ( #11825 )
...
* scripts/build.sh: don't build archives when pages haven't been changed
* scripts: don't build the index when pages haven't been changed, fix
deploy.sh
* feat: check for changes before committing in deploy.sh
* cleanup: update scripts/deploy.sh
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
---------
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-12-25 12:40:22 +05:30
Lena
9855e2e02c
scripts/deploy.sh: remove redundant paths from the sumfile ( #11822 )
2023-12-24 22:21:07 +05:30
K.B.Dharun Krishna
d8fb257277
wrong-filename.sh: update output filename
...
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2023-12-24 10:55:30 +05:30
K.B.Dharun Krishna
e9750a9922
cleanup: update PDF README
2023-12-24 10:55:30 +05:30
K.B.Dharun Krishna
5f0fa5d873
cleanup: update command in wrong-filename.sh
...
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2023-12-24 10:55:30 +05:30
K.B.Dharun Krishna
2550de7185
cleanup: update files
...
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2023-12-24 10:55:30 +05:30
K.B.Dharun Krishna
6eff6f3b48
fix: broken links in scripts summary
...
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-12-24 10:55:30 +05:30
K.B.Dharun Krishna
b2dc1a28d1
feat: add documentation for scripts
...
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-12-24 10:55:30 +05:30
K.B.Dharun Krishna
ab65385f5d
cleanup: remove id_ed25519_tldr_asset_upload.enc file ( #11808 )
2023-12-22 15:07:51 +05:30
Sebastiaan Speck
e215cdbc18
build-pdf: add special language cases
2023-12-22 15:03:43 +05:30