Ask Your Question

Revision history [back]

yum source lists

I've been searching for a way to grab the source lists for yum systems. My current script for debian style retrieval is this:

sudo cat /var/lib/apt/lists/* | grep Vcs-Git | awk '{print $2}' > apt-sources

I'd like to know if there's a process to find the scm uris (git/svn/hg, etc?) to all the packages available.

It's for science (randomly selecting the source code of linux packages from within management), and it's been stumping me for a long, long time.