Packaging workflow

I think mine could use some help. I’d be interested to know what tools people use (and are going to be using with dist-git/fedpkg) to patch, build, test etc.

At the moment I have a pretty slap dash approach which is all done by command line, except for spec files for which I use emacs which has a nice plugin.

Does anyone have anyone have any revolutionary ideas to help me work better, faster and make updating packages easier?

Advertisements

4 thoughts on “Packaging workflow

  1. I use some zsh functions and some autocmd’s on spec files.

    augroup Spec
    autocmd!
    ” Changelog entry
    autocmd FileType spec nmap o* :r!date +”\%a \%b \%d \%Y”kJA YOUR_NAME_HERE –
    ” Insert date
    autocmd FileType spec nmap :r!datekJ
    ” Build RPMs
    autocmd FileType spec nmap :!rpmbuild –define “_sourcedir .” -bs %
    autocmd FileType spec nmap :!rpmbuild -bs %
    ” Convenient diff
    autocmd FileType spec nmap :!diff -U5 -r
    augroup END

    I’m sure emacs can bind similarly. The zsh shortcuts are on lines 233–236 and lines 253–312 in:

    http://git.benboeckel.net/git?p=dotfiles.git;a=blob;f=generic/home/zshrc

    These have helped me enormously and they’ll just need some tweaking for fedpkg.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s