Commit Graph

110 Commits

Author SHA1 Message Date
xiongdian.me
4fe8321504 ci: add ddns 2023-03-15 19:12:29 +08:00
xiongdian.me
05867b2490 use $DFS_CURL_OPTIONS 2023-03-14 20:07:34 +08:00
4ee557a20d to-install.sh: improve docker-ce 2023-03-08 22:39:27 +08:00
xiongdian.me
c06c2389c9 logger.sh -> frigg-client.sh; curl add time limit 10s 2023-03-01 20:03:32 +08:00
xiongdian.me
334622aa9f login beacon 2>/dev/null 2023-03-01 18:34:37 +08:00
xiongdian.me
765f59ad49 dfs.ddns.failed -> dfs.ddns.fail 2023-03-01 16:42:51 +08:00
xiongdian.me
3b9fafecf5 bug fix (Wed Mar 1 16:37:42 CST 2023) 2023-03-01 16:37:42 +08:00
7d39e5352c logger.sh: support ddns 2023-03-01 01:28:53 +08:00
xiongdian.me
45f4d9538c riot: introduce sshl 2023-02-28 19:47:17 +08:00
d560368861 riot: ob->ebd, swap option $1 and $2 and $2 is default to ssh 2023-02-25 00:00:44 +08:00
xiongdian.me
db79720354 bug fix (Thu Feb 2 18:43:16 CST 2023) 2023-02-02 18:43:16 +08:00
xiongdian.me
d217177371 bug fix: install.sh re-start itself with no args incorrectly 2023-02-02 18:05:02 +08:00
xiongdian.me
7a7bc4ce85 DFS_DEBUG to set -x 2023-02-02 17:49:50 +08:00
xiongdian.me
f4be2e94d7 show install opts 2023-02-02 17:36:19 +08:00
8344d908a7 ci will send gh.ci.fail 2023-02-01 22:29:06 +08:00
22c866f371 bug fix (Wed Feb 1 21:20:21 CST 2023) 2023-02-01 21:20:21 +08:00
7a64584e44 bug fix (Wed Feb 1 21:16:29 CST 2023) 2023-02-01 21:16:29 +08:00
6f75c4c99c bug fix (Wed Feb 1 21:11:41 CST 2023) 2023-02-01 21:11:41 +08:00
xiongdian.me
d0f6ef240e remove ^M in hist 2023-02-01 21:03:49 +08:00
xiongdian.me
81e83ab956 fix zsh hist with no new line at the end 2023-02-01 20:01:01 +08:00
xiongdian.me
d493ad9e2d install.sh: -H support multiple keys 2023-02-01 17:08:56 +08:00
xiongdian.me
c475613744 install.sh: -H hint 2023-02-01 16:35:49 +08:00
a1c5d6deee install.sh: -H|--hist|--history 2023-01-31 20:49:15 +08:00
063b15f4d5 init pbin 2023-01-31 20:27:21 +08:00
xiongdian.me
2d628580de install.sh: prepare config earlier 2023-01-31 16:25:01 +08:00
xiongdian.me
2433f2c562 disable more beacons in CI 2023-01-31 13:24:28 +08:00
xiongdian.me
b216f6d02f $DFS_ORPHAN turns logger off 2023-01-31 13:13:03 +08:00
xiongdian.me
f7ec33fa3d login beacon add details 2023-01-30 21:31:49 +08:00
xiongdian.me
92914027fb bug fix (Mon Jan 30 19:46:27 CST 2023) 2023-01-30 19:46:27 +08:00
xiongdian.me
a0cfc6e4d4 bug fix (Mon Jan 30 19:41:00 CST 2023) 2023-01-30 19:42:48 +08:00
xiongdian.me
13353fcac5 rewrite piv-agent to sagent; fmt_note and fmt_into will write to stderr 2023-01-30 19:39:02 +08:00
xiongdian.me
a9850e7e3f set DFS_INITED and do not send login beacon if it was set 2023-01-30 17:57:14 +08:00
xiongdian.me
860ef51441 well, finally add ssh key for ltp1-bd 2023-01-29 15:18:23 +08:00
xiongdian.me
1ff5b987eb bug fix (Sat Jan 21 16:45:35 CST 2023) 2023-01-21 16:45:35 +08:00
xiongdian.me
f15a551e4a beacon: support meta with limited len 64 2023-01-21 16:43:08 +08:00
xiongdian.me
1908bceec9 update.sh: will send online beacon 2023-01-21 15:28:55 +08:00
xiongdian.me
750271b774 zshrc: in docker use theme robbyrussell 2023-01-21 15:21:20 +08:00
xiongdian.me
a4dca13893 zshrc: piv-agent now can re-use agents 2023-01-21 15:10:43 +08:00
xiongdian.me
0a602e5260 install.sh: will prompt version 2023-01-18 23:13:36 +08:00
xiongdian.me
86a3a1ca97 --wip-- [skip ci] 2023-01-12 18:08:55 +08:00
xiongdian.me
f75b02df17 ci: test ask_for_yn 2023-01-08 15:33:09 +08:00
8dfc524385 riot: bj1 -> proxy 2023-01-07 13:29:48 +08:00
9a4c9556f6
[dev] common.sh parses args; riot; getdfs; install.sh -x KEY=VAL (#35)
* common.sh: export vars in env; zshrc: gdebug

* fix error when locale not exists

* DFS_COLOR

* common.sh: parse args automatically

* ci: test common.sh getopts

* common.sh: argparser supports spaces

* ciot: init

* ciot -> diot; remove sibd, sob and snasp

* rename diot -> riot

* update home0 ssh pubkey; fix ci temperarily

* gdebug will record time

* gdebug supports empty; --dry-run wip

* get.dotfiles.cn

* bug fix (Thu Jan  5 20:53:58 CST 2023)

* fix ci

* fix ci

* install.sh: -d will set -x

* ci: -asl

* getdfs: install for another user using -u <uname>

* try fix when su doesnot exist

* bug fix (Thu Jan  5 22:58:40 CST 2023)

* bug fix (Thu Jan  5 22:59:33 CST 2023)

* introduce SUDOE and so debug

* ask_for_yn now use stdout to return

* getdfs: support multiple users

* install.sh: -x to set dfs config; ci

* fix ci

* bug fix (Fri Jan  6 15:11:24 CST 2023)

* auto-detect DFS_NO_WALL

* bug fix (Fri Jan  6 15:43:25 CST 2023)

* getdfs: ${repo}

* bug fix (Fri Jan  6 16:08:41 CST 2023)

* getdfs: prompt user

Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
2023-01-06 16:14:41 +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
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