Usage

kentfredric edited this page Jul 18, 2012 · 2 revisions
Clone this wiki locally

Usage With Layman 2.0

Layman doesn't by default index the experimental snapshots repository, and if you want to make it tracked easily with layman, here is what you should do

mkdir -p /etc/layman/overlays
cat > /etc/layman/overlays/perl-experimental-snapshots.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE repositories SYSTEM "/dtd/repositories.dtd">
<repositories xmlns="" version="1.0">
	<repo quality="experimental" status="unofficial">
		<name><![CDATA[perl-experimental-snapshots]]></name>
		<description lang="en"><![CDATA[Nightly snapshots of perl-experimental with metadata caches]]></description>
		<homepage>https://github.com/gentoo-perl/perl-experimental-snapshots</homepage>
		<owner type="project">
			<email>perl@gentoo.org</email>
			<name><![CDATA[Perl Team ( kentnl )]]></name>
		</owner>
		<source type="git">git://github.com/gentoo-perl/perl-experimental-snapshots.git</source>
		<source type="git">https://github.com/gentoo-perl/perl-experimental-snapshots.git</source>
		<source type="git">git@github.com:gentoo-perl/perl-experimental-snapshots.git</source>
		<feed>https://github.com/gentoo-perl/perl-experimental-snapshots/commits/master.atom</feed>
	</repo>
</repositories>
layman -f
layman -L | grep perl 
layman -a perl-experimental-snapshots

Usage with Layman 1.4.x

As above, but a manual amount of glue is required to make it work.

--- /etc/layman/layman.cfg	2012-07-19 04:05:20.379767887 +1200
+++ /etc/layman/layman.cfg	2012-07-19 04:06:01.893766319 +1200
@@ -32,6 +32,7 @@
 #            file:///var/lib/layman/my-list.xml
 
 overlays  : http://www.gentoo.org/proj/en/overlays/repositories.xml
+	    file:///etc/layman/overlays/perl-experimental-snapshots.xml
 
 #-----------------------------------------------------------
 # Proxy support