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
Sebastiaan Speck
2397113710
build-pdf: add the option to build a single language
2023-12-22 15:03:43 +05:30
Sebastiaan Speck
ebab29116d
deploy: only move files that exist
2023-12-22 15:03:43 +05:30
Sebastiaan Speck
670bc47fe2
deploy: remove PDF's from sha256sum
...
Removing PDF's from sha256sum since every commit will include zero or N PDF's, so the sha256sum will always be different.
2023-12-22 15:03:43 +05:30
Sebastiaan Speck
a67677eaaf
build-pdf: refactor the script
2023-12-22 15:03:43 +05:30
Sebastiaan Speck
77d0160191
build-pdf: only determine language if needed
2023-12-22 15:03:43 +05:30
Sebastiaan Speck
f907fcbb2f
build-pdf: only build changed folders since last commit
2023-12-22 15:03:43 +05:30
K.B.Dharun Krishna
10e2c5b145
Revert "build-pdf: only build changed folders since last commit" ( #11795 )
...
Revert "build-pdf: only build changed folders since last commit (#11773 )"
This reverts commit 1de7b5a80b
.
2023-12-19 17:40:57 +05:30
Sebastiaan Speck
1de7b5a80b
build-pdf: only build changed folders since last commit ( #11773 )
...
* build-pdf: only build changed folders since last commit
* build-pdf: only determine language if needed
* build-pdf: refactor the script
2023-12-19 17:38:20 +05:30
Juri Dispan
9d383ade68
*: fix typos in command names ( #11730 )
...
* *: fix typos in command names
* command name fixes in other languages
* fix incorrectly translated commands
* change incorrect file name
* qm move disk alias pages
---------
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-12-14 17:41:19 +05:30
Sebastiaan Speck
778555a1fb
send-to-bot: remove once, let the tldr-bot always comment ( #11547 )
2023-11-20 21:06:02 +01:00
Sebastiaan Speck
4547f49a08
test: skip symlinked English folder and optimise the script ( #11537 )
...
* test: skip symlinked English folder and optimise the script
* Update test.sh
* Update test.sh
* Update test.sh
* Update test.sh
* Update test.sh
* Update test.sh
* Update test.sh
2023-11-18 11:48:52 +01:00
Sebastiaan Speck
6edd7d1854
check-pr: use better regex ( #11525 )
...
* check-pr: more descriptive message
* check-pr: better regex
* Update check-pr.sh
2023-11-17 23:15:25 +05:30
Sebastiaan Speck
8f1ca06f30
check-pr: add outdated-check ( #11498 )
2023-11-14 16:36:02 +01:00
K.B.Dharun Krishna
ec531b230b
scripts/test.sh: remove TLDR005 from ignore list for languages ( #11486 )
...
* scripts/test.sh: remove TLDR005 from ignore list for languages
* scripts/test.sh: ignore TLDR005 in Chinese pages
* scripts/test.sh: fix indentation
* scripts/test.sh: reorder ignore list
2023-11-13 19:52:16 +05:30
Sebastiaan Speck
84fceb978b
scripts: make set-alias-page.py runnable ( #11477 )
2023-11-12 13:08:51 +01:00
Sebastiaan Speck
75d9f61819
check-pr: add check to see if English page exists ( #11470 )
2023-11-12 10:48:15 +01:00
Sebastiaan Speck
4ea80ce3b3
check-pr: fix GitHub Action to gather the diff ( #11425 )
2023-11-11 19:35:12 +01:00
K.B.Dharun Krishna
5c26174aa9
pages/*: update links and more info link script ( #11390 )
...
* pages/*: update links and more info link script
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* cleanup: reformat code
* ax-webapp: fix link
* curl: fix false positive
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
---------
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2023-11-06 23:14:12 +05:30
Sebastiaan Speck
c059eb1c19
scripts: fix typo ( #11396 )
2023-11-06 13:31:28 +01:00
K.B.Dharun Krishna
f1aa0a8fe5
Revert "pages/*: add standard translation and links ( #11331 )" ( #11374 )
...
This reverts commit 39642c3fed80aaed7212bca6b7cc4c345ed229ee.
2023-11-06 14:02:32 +05:30
K.B.Dharun Krishna
8538a31451
pages/*: add standard translation and links ( #11331 )
...
* pages/*: add standard translation and links
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* fix1: false positives; standardize Bengali, Hindi, Nepali periods
* fix: periods in recently added Bengali pages
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* fix: false positives in modified files
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* cleanup: update to native period in Bengali l10n
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
---------
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-11-06 14:02:31 +05:30
Lena
250b9d7c21
scripts: use `[[` instead of `[`, fix literal shell globs ( #11290 )
...
* build.sh: move `*` outside quotes (it doesn't get expanded)
* scripts: use `[[` instead of `[` in if statements
2023-10-26 22:11:24 +05:30
Lena
5e1ae7dbbe
fix/scripts: remove unnecessary `-r` from `cp` ( #11210 )
2023-10-24 16:44:27 +05:30
K.B.Dharun Krishna
a8d6441ad1
fix/scripts: replace build assets symlink with copy ( #11205 )
2023-10-24 11:17:53 +02:00
K.B.Dharun Krishna
4e53530691
feat/scripts: support generating PDFs for platforms ( #11195 )
...
* feat/scripts: support generating PDFs for platform
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* render.py: reformat code for black
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* PDF/README: update command
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* render.py: update code
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* render.py: drop platform none parameter from main
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
---------
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-10-24 00:59:43 +05:30
K.B.Dharun Krishna
e35b482300
scripts: build and deploy PDF pages for translations ( #10969 )
...
* scripts: build and deploy PDF pages for translations
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* render.py: fix typo in filename description
---------
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-10-22 02:34:22 +05:30
Lena
af2f6d9d3e
Symlink `pages.en` to `pages` ( #11139 )
...
* Symlink `pages.en` to `pages`
* Update `build.sh` to symlink `pages.en` to `pages`
2023-10-21 22:02:19 +02:00
K.B.Dharun Krishna
fd24c5b49a
scripts/set-more-info-link.py: add Czech translation ( #10894 )
2023-10-15 22:17:23 +02:00
K.B.Dharun Krishna
b333d3d3a5
Revert "scripts: build and deploy PDF pages for translations ( #10846 )" ( #10965 )
...
This reverts commit a2ab577848
.
2023-10-13 11:00:58 +05:30
K.B.Dharun Krishna
a2ab577848
scripts: build and deploy PDF pages for translations ( #10846 )
...
* scrips: build and deploy PDF pages for all languages
* cleanup/render.py: reformat code
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* Apply suggestions from code review
Co-authored-by: Matthew Peveler <matt.peveler@gmail.com>
* scrpts/pdf: update README, refactor code
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* test/ci: building PDF was wildcard
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* test/ci: building translations as wildcard 2
* test/ci: fix flag in PDF building
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* test/ci: update build pdf action
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* test/ci: extend PDF exclusion list
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* cleanup/ci: update PDF translation build
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* scripts/pdf: add website and repo link
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* test/ci: move PDF build to seperate script file
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* test/ci: minor fixes to build pdf script
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* cleanup/ci: update build PDF
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* scripts: update font family, minor fix
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* fix/deploy: sha256sum command
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
---------
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Matthew Peveler <matt.peveler@gmail.com>
2023-10-13 09:58:02 +05:30
Tristan Jahnke
e747bd8132
scripts/*.py: update coding style ( #10761 )
...
* convert to f string
* use a next function instead of a for-loop
* remove uneeded else statement
* use in operator instead of multi comparison
* conver to f string
* adds extra line between function defs
* revert/change to PR comment around looping
* remove uneeded loops
* revert to keep old style choice
2023-10-04 14:02:15 +05:30