From nobody Tue Nov 26 05:47:52 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1580388510892583.9602491995956; Thu, 30 Jan 2020 04:48:30 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-373-eTWoIvaQO1efX2cY-0u9oA-1; Thu, 30 Jan 2020 07:48:13 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0DF6A188C021; Thu, 30 Jan 2020 12:48:08 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7465977927; Thu, 30 Jan 2020 12:48:07 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id C64BC18089CE; Thu, 30 Jan 2020 12:48:05 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 00UCm4dZ021478 for ; Thu, 30 Jan 2020 07:48:04 -0500 Received: by smtp.corp.redhat.com (Postfix) id AEFFA7792F; Thu, 30 Jan 2020 12:48:04 +0000 (UTC) Received: from kinshicho.usersys.redhat.com (unknown [10.43.2.246]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3944177927 for ; Thu, 30 Jan 2020 12:48:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580388509; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=+TsSp9EMARwU5fflrviBBd4Xe5mHjuETaHnpxx/A8fc=; b=aaQgKRLyb6GByxbkalU9H0bNm0tcrEP7REWMAFhVVMWXm+DvG9Sc0K60GLqoMz1XdlTszx 1/heL6H8MRbKEb1PB5Cx4jouBc1XuiDSvU5v/rQO9Y2amG6i9aMEqcgFRDSZmcxlYZ7NJM SS2WXrxjcpvR1QT0EPYR2psBWgs3L4s= From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt-go-xml PATCH] Import from libvirt.org instead of github.com Date: Thu, 30 Jan 2020 13:48:00 +0100 Message-Id: <20200130124800.63859-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: eTWoIvaQO1efX2cY-0u9oA-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Since commit 201156ec6e65e08cdb04d6fdefe013652fb7fa87 Author: Daniel P. Berrang=C3=A9 Date: Mon Dec 16 10:06:50 2019 +0000 docs: add pages to support Go module package resolution it's possible to use import "libvirt.org/libvirt-go-xml" in Go programs, which will result in the Go bindings being fetched directly from libvirt.org thus removing our reliance on GitHub. Update the documentation accordingly. Signed-off-by: Andrea Bolognani Reviewed-by: Daniel P. Berrang=C3=A9 --- README.md | 4 ++-- doc.go | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 79f42f4..fcc1ffb 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# libvirt-go-xml [![Build Status](https://travis-ci.org/libvirt/libvirt-go= -xml.svg?branch=3Dmaster)](https://travis-ci.org/libvirt/libvirt-go-xml) [!= [GoDoc](https://godoc.org/github.com/libvirt/libvirt-go-xml?status.svg)](ht= tps://godoc.org/github.com/libvirt/libvirt-go-xml) +# libvirt-go-xml [![Build Status](https://travis-ci.org/libvirt/libvirt-go= -xml.svg?branch=3Dmaster)](https://travis-ci.org/libvirt/libvirt-go-xml) [!= [GoDoc](https://godoc.org/libvirt.org/libvirt-go-xml?status.svg)](https://g= odoc.org/libvirt.org/libvirt-go-xml) =20 Go API for manipulating libvirt XML documents =20 @@ -9,7 +9,7 @@ the way in which the application talks to libvirt. =20 ## Documentation =20 -* [API documentation for the bindings](https://godoc.org/github.com/libvir= t/libvirt-go-xml) +* [API documentation for the bindings](https://godoc.org/libvirt.org/libvi= rt-go-xml) * [Libvirt XML schema documentation](https://libvirt.org/format.html): * [capabilities](https://libvirt.org/formatcaps.html) * [domain](https://libvirt.org/formatdomain.html) diff --git a/doc.go b/doc.go index 25bc1d5..f93fac0 100644 --- a/doc.go +++ b/doc.go @@ -36,7 +36,7 @@ // package main // // import ( -// "github.com/libvirt/libvirt-go-xml" +// "libvirt.org/libvirt-go-xml" // ) // // func main() { @@ -51,8 +51,8 @@ // package main // // import ( -// "github.com/libvirt/libvirt-go" -// "github.com/libvirt/libvirt-go-xml" +// "libvirt.org/libvirt-go" +// "libvirt.org/libvirt-go-xml" // "fmt" // ) // --=20 2.24.1