Thu, 24 Mar 2011

git clone all of your Fedora packages

After doing a fresh Fedora 15 install on my laptop last night, I wanted to quickly clone all of the packages that I maintain. Here is a single command that does the job:

python -c "import pyfedpkg; from fedora.client.pkgdb import PackageDB; [pyfedpkg.clone(pkg['name'], '$USER') for pkg in PackageDB().user_packages('$USER')['pkgs']]"


posted at: 11:10 | link | Tags: , , | 2 comments

Posted by Jon Ciesla at Thu Mar 24 12:38:51 2011

Awesome, thank you!

Posted by Jock at Thu Apr 14 07:15:32 2011

That's a mold-breaker. Great tkhining!


Name:


E-mail:


URL:


Comment: