Commit Graph

100 Commits

Author SHA1 Message Date
xiongdian.me
2f064b63c1 bug fix (Fri Jan 6 16:08:41 CST 2023) 2023-01-06 16:08:41 +08:00
xiongdian.me
fef1aa4160 getdfs: ${repo} 2023-01-06 15:47:38 +08:00
xiongdian.me
3694c40ad4 bug fix (Fri Jan 6 15:43:25 CST 2023) 2023-01-06 15:43:25 +08:00
xiongdian.me
a70a97e0d0 auto-detect DFS_NO_WALL 2023-01-06 15:33:54 +08:00
xiongdian.me
9ab5b608c8 bug fix (Fri Jan 6 15:11:24 CST 2023) 2023-01-06 15:11:24 +08:00
xiongdian.me
f879ca6bd0 fix ci 2023-01-06 15:05:02 +08:00
xiongdian.me
25a74c15b4 install.sh: -x to set dfs config; ci 2023-01-06 15:00:54 +08:00
xiongdian.me
e24b15edd1 getdfs: support multiple users 2023-01-06 14:38:35 +08:00
xiongdian.me
90895fe4a9 ask_for_yn now use stdout to return 2023-01-06 14:21:16 +08:00
xiongdian.me
27bfcacc07 introduce SUDOE and so debug 2023-01-06 02:07:21 +08:00
xiongdian.me
2e0fd9fa96 bug fix (Thu Jan 5 22:59:33 CST 2023) 2023-01-05 22:59:33 +08:00
xiongdian.me
d628b90fa9 bug fix (Thu Jan 5 22:58:40 CST 2023) 2023-01-05 22:58:40 +08:00
xiongdian.me
a9132b15ad try fix when su doesnot exist 2023-01-05 22:55:58 +08:00
xiongdian.me
320cf6c206 getdfs: install for another user using -u <uname> 2023-01-05 22:42:49 +08:00
xiongdian.me
c5de9c9e65 ci: -asl 2023-01-05 21:44:10 +08:00
xiongdian.me
f373ed94ea install.sh: -d will set -x 2023-01-05 21:38:19 +08:00
xiongdian.me
bb1e012664 fix ci 2023-01-05 21:35:20 +08:00
xiongdian.me
3d54aca8b7 fix ci 2023-01-05 21:26:50 +08:00
xiongdian.me
dd3c8b1665 bug fix (Thu Jan 5 20:53:58 CST 2023) 2023-01-05 20:53:58 +08:00
xiongdian.me
90e8efc0d9 get.dotfiles.cn 2023-01-05 20:52:54 +08:00
xiongdian.me
b2e26067ac gdebug supports empty; --dry-run wip 2022-12-23 12:04:41 +08:00
xiongdian.me
cfca3ad145 gdebug will record time 2022-12-14 19:21:40 +08:00
xiongdian.me
17435ef392 update home0 ssh pubkey; fix ci temperarily 2022-12-13 12:53:27 +08:00
xiongdian.me
1e8cd7c70e rename diot -> riot 2022-12-12 16:00:46 +08:00
957bcbc0e5 ciot -> diot; remove sibd, sob and snasp 2022-12-11 23:40:43 +08:00
bb8404c6b6 merge main 2022-12-10 19:14:10 +08:00
952bfabea4
zshrc: fix locale (#34)
* common.sh: export vars in env; zshrc: gdebug

* fix error when locale not exists

* fix ci

Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
2022-12-10 19:11:05 +08:00
f165f3ba5d ciot: init 2022-12-10 18:42:30 +08:00
xiongdian.me
6bdba0a1b3 common.sh: argparser supports spaces 2022-12-07 14:33:17 +08:00
xiongdian.me
b62207db4d ci: test common.sh getopts 2022-12-06 16:37:34 +08:00
xiongdian.me
be3f999a5d common.sh: parse args automatically 2022-12-06 16:16:55 +08:00
xiongdian.me
b1c2041f60 DFS_COLOR 2022-12-05 23:19:44 +08:00
xiongdian.me
f15e0836e3 fix error when locale not exists 2022-12-04 17:45:28 +08:00
xiongdian.me
63c3d8e6d1 common.sh: export vars in env; zshrc: gdebug 2022-12-04 14:45:14 +08:00
c3e0c28b64
[install.sh] hotfix (#33)
hotfix

Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
2022-12-03 21:27:22 +08:00
ff8ac21424
[dev] refactor log.py -> logger.sh (#32)
* update.sh: fetch will prune

* log: use hostname directly

* refactor log.py to logger.sh (#31)

* logger.sh: refactor log.py to bash script

* update.sh use beacon; ci test beacon

* install.sh: install dep first

* install.sh: DFS_UPDATED_RET=85

* more beacon; use stderr

* remove py3 dep

* install.sh: remove py3

* install.sh: -s|--secure

* async log; beacon add sys.login

* update use sync beacon

* fix ci minor bug; macos: uuidgen/e2fsprogs

* logger.sh: not need to use uuid5

* bug fix

* dfs err_return

* common.sh: post_log and post_beacon will check #args

* bug fix

* zshrc: fix locale when C.UTF-8 not exists

* WIP: combine install -a and tools/ scripts

* finish combination; get_os_name; macos.sh

* test.ci: now all use -a to install deps

* bug fix

* bug fix; ci: install.sh run with -x

* install.sh: bug fix that re-run install.sh after updated needs orgin args

* format

Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
2022-12-03 20:37:20 +08:00
56e2b217eb
[dev] dfs config; trash (#30)
* install.sh: fix install dep

* update.sh: alternative channel 'dev'

* zshrc: dfs config

* lint: remove endline \

* if trash, disable rm

* update.sh: fallback to main if dev not exists

* bug fix

* to-install.sh; v2ray -> v2fly

* gitconfig: quotepath=false

* git log using iso date; dfs vversion
2022-11-24 20:51:35 +08:00
f39193f28f
[core] parse func; gbes; .config/dotfiles/env (#29)
* common.sh: arg parse init

* bug fix

* bug fix

* bug fix. now common.sh won't parse arg autoly

* improve git-branches

* improve git-branches; util-linux

* accelerate ci

* improve gbes; PARSE_ARG_RET

* ci: fix gbes

* ssh: add key ltp1.bd

* Revert "ssh: add key ltp1.bd"

This reverts commit c2433a0549.

* install column; apt -> apt-get

Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
2022-11-17 20:02:35 +08:00
c354f980bb
WIP: piv fix (#28)
* piv logi fix

* dogo: $DFS

* snasp; doll: $2 for the name

* DFS_UPDATE_CHANNEL?

* git-branches

* ci: git-branches

Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
2022-11-15 22:18:16 +08:00
3ce5a7ade8
zshrc: key bindings and piv-agent (#27)
* piv-agent; macos key bindings; doll fix

* ci: piv-agent
2022-11-15 01:28:38 +08:00
6e33fc0875
scripts: docker scripts (#26)
* dogo/doll

dogo supports zsh/bash/sh; doll is introduced to launch a new docker
container; update $SUDO in command.sh

* update ci

* fix regex

* dogo: enhance, support -[0-9]*

* dogo&doll: enhanced

* zshrc: sibd and sob
2022-11-14 01:37:48 +08:00
995899f3a3
install.sh: rerun when updated (#25)
* install.sh: rerun when updated

* update ci
2022-11-12 20:05:29 +08:00
9a7f0b1b06
install.sh: support combined options (#24)
* install.sh: support combined short options

* ci: use combined opt

* debug

Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
2022-11-11 10:36:50 +08:00
300b3a29b7
install.sh: cmake, less, and -l=DFS_LITE (#23)
* install.sh: cmake and less

* install.sh: -l=DFS_LITE

* ci: support -l=DFS_LITE

Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
2022-11-09 23:19:55 +08:00
6dce3cfa18
install.sh: autodep, improve note (#22)
* install.sh: --auto

* ci: test --auto

* ci: remove dep when test --auto

* debug

* ok. improve the install notes
2022-11-08 22:58:17 +08:00
5b00add073
[core] update (#21)
* vim quiet install

* do not set LESS

* gitconfig and envs
2022-11-06 14:00:25 +08:00
b191403798
ssh: add ip14 (#20) 2022-11-06 02:29:52 +08:00
b6ff4116c8
[refactor] clean, readable (#19)
* rebase zshrc, introduce DFS_NO_WALL

* improve ci

* improve ci

* improve ci

* update antigen url for DFS_NO_WALL

* OK

* improve ci for macos

* improve test.zsh

* staged

* fix ci

* fix ci

* use local vars

* introduce DFS_QUIET

* mass mod install.sh

* minor change

* set DFS_DEV=1 to prevent update

* debug: done -> fi

* fix DFS_DEV

* ubuntu.sh: set-mirror (ref: tuna)

* preinstall_check

* install.sh: -q to be quiet

* install.sh: -d to DFS_DEV

Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
2022-11-05 19:45:21 +08:00
0739410aef
git: push.autoSetupRemote=true (#18) 2022-10-28 12:59:12 +08:00
9778c69d78
degrade log 403 to warning (#17) 2022-10-27 22:57:53 +08:00