Feature #6145
Factor out stuff into a shell library
17%
Description
Some of our custom shell scripts duplicate code that should be refactored out to our shell script library (config/chroot_local-includes/usr/local/lib/tails-shell-library/
) that these can included instead, both for improved code clarity and the usual reasons for avoiding code duplication.
In some cases porting to Python would be better than refactoring shell code, though: Feature #11198.
Subtasks
Feature #6142: Factor out $LANG parsing | Confirmed | 0 |
|||
Feature #6143: Factor out parsing of the kernel command-line | Confirmed | 0 |
|||
Feature #6144: Factor out running GUI software from system scripts | Confirmed | 0 |
|||
Feature #6146: Factor out waiting for a condition | Resolved | 0 |
|||
Feature #6147: Refactor thanks to bilibop | Confirmed | 0 |
|||
Feature #6422: Factor out erroring out in the GUI | Confirmed | 0 |
Related issues
Related to Tails - Feature #6452: Factor out stuff into a Tails Python library | Confirmed | 2013-11-29 | |
Related to Tails - Feature #11198: Port complex shell scripts into Python | Confirmed | 2016-08-27 |
History
#1 Updated by intrigeri 2013-07-19 09:57:11
- Starter set to Yes
#2 Updated by sajolida 2013-12-29 03:41:55
- Subject changed from factor out stuff into a shell library to Factor out stuff into a shell library
#3 Updated by intrigeri 2014-07-10 15:35:04
- related to Feature #6452: Factor out stuff into a Tails Python library added
#4 Updated by intrigeri 2015-10-14 12:06:16
- Assignee set to kurono
#5 Updated by intrigeri 2016-02-18 16:22:56
This is one of the last two remaining tickets on the obsolete “Sustainability_M1” (that doesn’t mean much anymore, since we have our new roadmap). kurono, please consider moving this ticket to e.g. the 2016 or 2017 milestone, or just emptying the Target version field entirely.
#6 Updated by kurono 2016-02-18 17:09:18
- Target version changed from Sustainability_M1 to 2016
#7 Updated by intrigeri 2016-08-27 09:59:53
- Target version deleted (
2016)
kurono: feel free to set whatever target version you want :)
#8 Updated by intrigeri 2016-08-27 10:01:11
- Description updated
- Starter changed from Yes to No
#9 Updated by kurono 2018-07-18 17:01:27
- Target version set to 2019
#10 Updated by intrigeri 2018-07-22 02:33:37
- Target version changed from 2019 to Tails_4.0
(This is not on our roadmap, so I’m setting “Target version” to the latest 2019 release we’re already tracking.)
#11 Updated by Anonymous 2018-08-19 08:59:34
- related to Feature #11198: Port complex shell scripts into Python added
#12 Updated by intrigeri 2019-04-02 08:38:15
- Target version deleted (
Tails_4.0)
#13 Updated by kurono 2020-04-28 12:37:10
- Assignee deleted (
kurono)