Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Jul 7, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

zavakid and others added 30 commits February 19, 2021 10:45
- use `set -eEuo pipefail`
- use $* instead of $@ in string
- use if-else instead &&/||
- use $() instead of ``
readlink "${BASH_SOURCE[0]}" will success even run by
`bash -x foo`, foo script is found from $PATH
- prefer greadlink than readlink
- prefer gsed than sed
aka. one file,
no other script dependency(uq.awk)
- use `command -v` instead of `which`
- fix typo: executalbe -> executable
- move main logic to main function
  avoid shadows name warning
- rename: optionParser -> option_parser
- use print('') to print a new line
  avoid print '()' under python 2.7
- use single-quoted string instead of double-quoted
- ignore BadZipFile for jar file
- extract functions
  - biz function print_duplicate_classes_info
  - util function print_box_message
- adjust function layout, move util functions to the front
- from __future__ import print_function
- use start=1 for enumerate
- rename var name: java_class -> class/clazz
- improve format
- sort items
@oldratlee oldratlee force-pushed the dev-2.x branch 7 times, most recently from 02f6a2e to 80d5041 Compare February 29, 2024 07:46
@oldratlee oldratlee force-pushed the dev-2.x branch 3 times, most recently from e449dc9 to 47f1e94 Compare March 3, 2024 00:58
@oldratlee oldratlee force-pushed the dev-2.x branch 3 times, most recently from e8a354c to fd420c9 Compare March 12, 2024 05:52
@oldratlee oldratlee force-pushed the dev-2.x branch 8 times, most recently from 9cc5680 to 934e57e Compare March 18, 2024 05:43
- keep `usage` function simple
- use `-s`/`-h` option for optional argument of `die` function
- use bash builtin `type -P` instead of `which` command 🐚
- rename var, use `COLOR_INDEX` instead of `COUNT`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⤵️ pull merge-conflict Resolve conflicts manually

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants