3
5
Fork
You've already forked xut
3

xut: many changes, see bellow... #52

Merged
mobinmob merged 21 commits from getting_ready into master 2025年12月04日 21:58:19 +01:00
  • change variable names to avoid confusion with functions
    (proposed by @zenobit in #48)
  • stop functions running every time (adapted from @zenobit
    PR #50 ).
- change variable names to avoid confusion with functions (proposed by @zenobit in https://codeberg.org/mobinmob/xut/issues/48) - stop functions running every time (adapted from @zenobit PR https://codeberg.org/mobinmob/xut/pulls/50 ).
- change variable names to avoid confusion with functions
(proposed by @zenobit in #48)
- stop functions running every time (adapted from @zenobit
 PR #50 ).
- create set_default_vars() and set_default_configuration()
- create set_colours() to avoid calling tput and checking for the ability
to print colours on every msg() invocation
- call root_check() before the getopts loop and add usage to it
- remove root_check from the -h and * args
- remove "$@" positional argument from main.
Author
Owner
Copy link

Much faster, needs more work 🙂

Much faster, needs more work 🙂
- initiallise list vars to empty strings
- use more parameter substiturion
- add debug (-d) argument
- use git -C instead of cd to repo directory
- change test to -eq for op* vars
- use sort -u on a single pass
- check for op* vars in main().
- create template lists in /tmp, which is hopefully in memory
- make discover_update() faster by using an in-memory cache
- many small fixes...
mobinmob deleted branch getting_ready 2025年12月04日 21:58:32 +01:00
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mobinmob/xut!52
Reference in a new issue
mobinmob/xut
No description provided.
Delete branch "getting_ready"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?