[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Announcing a new Debian packaging tool: cme with dpkg plugin



Hello

cme and its dpkg plugin provide a new tool to to help maintain Debian 
packages. This tool aims to help beginners as well as more experienced Debian 
contributors. "cme" stands "config model editor" and is a generic tool to edit 
configuration files. cme requires plugins like dpkg to work.

What can cme and its dpkg plugin do for you ? 

If you're a beginner or prefer working with a GUI, you can use the graphical 
package file editor: cme provides GUI to let you edit most of the package files, 
like control, copyright, patch headers. To launch the GUI, jump in a source 
package directory and run "cme edit dpkg". 

The GUI is great for beginners:
* all available dpkg parameters are shown with in line help
* values entered by user is immediately checked
* modified values, warnings and errors are highlighted with colored icons.
* long text (e.g. license content) can be cut'n'pasted in the GUI
* old dpkg syntax is migrated by cme to newer syntax

If you prefer to edit dpkg files with your favorite editor, you can also use 
cme as a tool to check the content of your files with "cme check dpkg". The 
purpose is similar to lintian's except that the check is done before building 
the package. Note that cme does not replace lintian, you should also run 
lintian whether you use cme or not.

cme can also be used as a command line to modify the content of packaging 
files. 

Here are some examples:

* to add your email address to Uploaders:
  cme modify dpkg-control ~~ "source Uploaders:.push($DEBEMAIL)"
* conversely, to remove your email address from Uploaders:
  cme modify dpkg-control ~~ source Uploaders:-~/$DEBEMAIL/

Using cme is safer than using sed because the modifications will go through cme 
syntax checks.

For more information, using the GUI, more CLI examples, please read:
https://github.com/dod38fr/config-model/wiki/Managing-Debian-packages-with-cme

To install cme for dpkg, run:

  sudo apt-get install cme libconfig-model-dpkg-perl libconfig-model-tkui-perl


All the best

-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org


Reply to: