"De-deb" some texts, such as Package descriptions

Open
#21 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
debian, python
Domain
tooling

Research direction

Start by searching the repository for code and tests that parse Debian deb822 package descriptions or continuation lines. Use the issue's Bash description example as the fixture: done means there is a function that strips space-prefixed continuation text and space-dot empty lines, and optionally converts plain text back to that Debian form.

Written by the indexing model from the issue text.

Description

Debian uses space-prefixed continuation lines and "space-dot" continuation empty lines. We should have a function to strip these and optionally "re-deb" these
See for instance:

 GNU Bourne Again SHell
 Bash is an sh-compatible command language interpreter that executes
 commands read from the standard input or from a file.  Bash also
 incorporates useful features from the Korn and C shells (ksh and csh).
 .
 Bash is ultimately intended to be a conformant implementation of the
 IEEE POSIX Shell and Tools specification (IEEE Working Group 1003.2).
 .
 The Programmable Completion Code, by Ian Macdonald, is now found in
 the bash-completion package.
Dominant language
Python
Stars
17
Forks
7
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aboutcode-org/debian-inspector

All issues in aboutcode-org/debian-inspector

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.