Project

General

Profile

Feature #6145

Factor out stuff into a shell library

Added by Tails about 6 years ago. Updated 5 months ago.

Status:
Confirmed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
11/14/2013
Due date:
% Done:

17%

Feature Branch:
Type of work:
Code
Blueprint:
Starter:
No
Affected tool:

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: #11198.


Subtasks

Feature #6142: Factor out $LANG parsingConfirmed

Feature #6143: Factor out parsing of the kernel command-lineConfirmed

Feature #6144: Factor out running GUI software from system scriptsConfirmed

Feature #6146: Factor out waiting for a conditionResolved

Feature #6147: Refactor thanks to bilibopConfirmed

Feature #6422: Factor out erroring out in the GUIConfirmed


Related issues

Related to Tails - Feature #6452: Factor out stuff into a Tails Python library Confirmed 11/29/2013
Related to Tails - Feature #11198: Port complex shell scripts into Python In Progress 08/27/2016

History

#1 Updated by intrigeri about 6 years ago

  • Starter set to Yes

#2 Updated by sajolida over 5 years ago

  • Subject changed from factor out stuff into a shell library to Factor out stuff into a shell library

#3 Updated by intrigeri about 5 years ago

  • Related to Feature #6452: Factor out stuff into a Tails Python library added

#4 Updated by intrigeri almost 4 years ago

  • Assignee set to kurono

#5 Updated by intrigeri over 3 years ago

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 over 3 years ago

  • Target version changed from Sustainability_M1 to 2016

#7 Updated by intrigeri almost 3 years ago

  • Target version deleted (2016)

kurono: feel free to set whatever target version you want :)

#8 Updated by intrigeri almost 3 years ago

  • Description updated (diff)
  • Starter changed from Yes to No

#9 Updated by kurono about 1 year ago

  • Target version set to 2019

#10 Updated by intrigeri about 1 year ago

  • 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 u about 1 year ago

  • Related to Feature #11198: Port complex shell scripts into Python added

#12 Updated by intrigeri 5 months ago

  • Target version deleted (Tails_4.0)

Also available in: Atom PDF