Uh oh!
There was an error while loading. Please reload this page.
New tool local language repositories - #186
Conversation
alfsb
commented
Nov 25, 2024
@jimwins , if you are interested, I can add an php doc-base/languages.php --clone --prune --undo --pull --mark --revThe |
alfsb
commented
Dec 5, 2024
If are no objections, I plan to merge this PR by next week, as I'm really calling into this code every time there something that need to be tested on all languages. |
alfsb
commented
Dec 9, 2024
Merged. Let me know if there are any bugs or surprising behaviors. This might be a step into moving the list of active languages (build-able list, revcheck list) to |
This is a small tool I made for creating and maintaining manual language clones. I got tired of searching outside of
doc-basefor listings of languages that builds and publishes, that builds only revcheck, their cloning end points, and so on, to later include/use in other scripts. After a while, it grew into a complete tool for creating and maintaining local language repositories for editors and tool makers.Current usage:
Need a complete new checkout of all publishing languages for testing purposes? Git clone doc-base and do
php doc-base/languages.php --clone. Boom, done.Also need the revchecking ones?
languages.php --clone --rev. Need all repositories?languages.php --clone --all.Has one set of clones that need pulling for a test?
languages.php --pull --all. After a test, need to revert them to pristine state?languages.php --undo --all. Two or three in particular?languages.php --undo --pull dir1 dir2 dir3.Need to know what are the building languages?
languages.php --list-csv. Space separated for shell scripts?languages.php --list-ssv. And also use--all/--revfor listings beyond building publishing ones.Prefer to have this information as files, instead doing string path manipulations?
languages.php --markcreatesBUILDMAN/BUILDREVfiles that contain the respective language label as contents, so any new command can simple traverse all directories forlang/BUILDMANfile existence.