Introducing Zeynep. Building rpms in a clean environment.

This forum is dedicated to packaging and translating :

On those activities rely the making of Mageia Linux Distribution.

Post all questions and information about packaging and translating : feedbacks, discussion about guidelines, packaging practices...

Introducing Zeynep. Building rpms in a clean environment.

Postby tarakbumba » Jan 14th, '15, 14:15

Hi. I have written yet another utility which builds rpms from a source rpm in a clean chroot: Zeynep.

I'm well aware of "Mageia-chroot scripts", iurt and aum (++). But they simply do not meet my needs. I needed a script which needs less typing, easily configurable but let me set every possible aspects of options (temp directory, packages to install chroot, defining urpmi options at runtime etc.), uses a rpm cache to save me time/bandwith (but do not require a full Mageia mirror), have a full translation support, can use some kind of a plugin system and most important an understandable/playable code for me (bash).

While others do their work well, i can not find enough usage options, documantation for iurt. Aum (Perl) and aum++ (C++) were not understandable/extendible by me. I found that Mageia-chroot scripts are not enough for me. Most important they currently do not provide localization support.

So, zeynep was born:
  • Written in bash, needs a few external tools (like urpmi, rpm, sudo, rpm-tidy, rpm-sign, gettext, sed and basename) outside of bash.
  • It have configuration support which enables that user define options and arguments in a zeynep-*.conf file so user less types in terminal to get the results.
  • It also provides a basic plugin system for now only for package building phase (before and after) as functions determined in the configuration file.
  • It can use cache which should include previously downloaded rpms but not the entire Mageia mirror.
  • It can allow the user to enable Non-free/Tainted/Backports media sources for either chroot tar archive creation or package building.
  • It can automatically uploads created packages to a user defined directory, sign them and create genhdlists.
  • It is fully translatable

I make it for myself but wanted to share with others. Let's give a try to it!

Source code: https://github.com/tarakbumba/zeynep
Latest release: https://github.com/tarakbumba/zeynep/releases/latest
License: GNU GPL v.2
tarakbumba
 
Posts: 138
Joined: Apr 6th, '11, 22:50

Re: Introducing Zeynep. Building rpms in a clean environment

Postby xxblx » Jan 15th, '15, 01:06

Look interesting. Thanks for sharing. I will watch Zeynep development.
Mageia x86_64, E17, PekWM
Oleg (xxblx) | Mageia Russian Community
User avatar
xxblx
 
Posts: 70
Joined: May 23rd, '12, 21:32
Location: Russia, Vologda

Re: Introducing Zeynep. Building rpms in a clean environment

Postby tarakbumba » Mar 5th, '15, 16:45

I have updated zeynep to 1.0.6 version which fixes various issues and it should work as expected now. If you interested you can grab latest source code and read release notes at zeynep's Github Page
tarakbumba
 
Posts: 138
Joined: Apr 6th, '11, 22:50


Return to Packaging and translating for Mageia

Who is online

Users browsing this forum: No registered users and 1 guest

cron