Skip to content

Commit 0ad4775

Browse files
Adapt to new repository / import names
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
1 parent 180586c commit 0ad4775

File tree

105 files changed

+133
-133
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+133
-133
lines changed

.github/lockdown.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ issues:
1717
1818
We kindly request that new issues are reported to
1919
20-
https://gitlab.com/libvirt/libvirt-go/-/issues/new
20+
https://gitlab.com/libvirt/libvirt-go-module/-/issues/new
2121
2222
Thank you for your time and understanding.
2323
@@ -29,10 +29,10 @@ pulls:
2929
3030
We kindly request that contributors fork the project at
3131
32-
https://gitlab.com/libvirt/libvirt-go/
32+
https://gitlab.com/libvirt/libvirt-go-module/
3333
3434
push changes to the fork, and then open a new merge request at
3535
36-
https://gitlab.com/libvirt/libvirt-go/-/merge_requests/new
36+
https://gitlab.com/libvirt/libvirt-go-module/-/merge_requests/new
3737
3838
Thank you for your time and understanding.

CONTRIBUTING.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
==========================
2-
Contributing to libvirt-go
3-
==========================
1+
=================================
2+
Contributing to libvirt-go-module
3+
=================================
44

55
The libvirt Go API binding accepts code contributions via merge requests
66
on the GitLab project:
77

8-
https://gitlab.com/libvirt/libvirt-go/-/merge_requests
8+
https://gitlab.com/libvirt/libvirt-go-module/-/merge_requests
99

1010
It is required that automated CI pipelines succeed before a merge request
1111
will be accepted. The global pipeline status for the ``master`` branch is
1212
visible at:
1313

14-
https://gitlab.com/libvirt/libvirt-go/pipelines
14+
https://gitlab.com/libvirt/libvirt-go-module/pipelines
1515

1616
CI pipeline results for merge requests will be visible via the contributors'
1717
own private repository fork:
1818

19-
https://gitlab.com/yourusername/libvirt-go/pipelines
19+
https://gitlab.com/yourusername/libvirt-go-module/pipelines
2020

2121
Contributions submitted to the project must be in compliance with the
2222
Developer Certificate of Origin Version 1.1. This is documented at:

README.rst

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
==========
2-
libvirt-go
3-
==========
1+
=================
2+
libvirt-go-module
3+
=================
44

5-
.. image:: https://gitlab.com/libvirt/libvirt-go/badges/master/pipeline.svg
6-
:target: https://gitlab.com/libvirt/libvirt-go/pipelines
5+
.. image:: https://gitlab.com/libvirt/libvirt-go-module/badges/master/pipeline.svg
6+
:target: https://gitlab.com/libvirt/libvirt-go-module/pipelines
77
:alt: Build Status
88
.. image:: https://img.shields.io/static/v1?label=godev&message=reference&color=00add8
9-
:target: https://pkg.go.dev/libvirt.org/libvirt-go
9+
:target: https://pkg.go.dev/libvirt.org/go/libvirt
1010
:alt: API Documentation
1111

1212
Go bindings for libvirt.
@@ -48,18 +48,18 @@ changes may apply to future versions:
4848
Documentation
4949
=============
5050

51-
* `API documentation for the bindings <https://pkg.go.dev/libvirt.org/libvirt-go>`_
51+
* `API documentation for the bindings <https://pkg.go.dev/libvirt.org/go/libvirt>`_
5252
* `API documentation for libvirt <https://libvirt.org/html/index.html>`_
5353

5454

5555
Contributing
5656
============
5757

58-
The libvirt project aims to add support for new APIs to libvirt-go
58+
The libvirt project aims to add support for new APIs to libvirt-go-module
5959
as soon as they are added to the main libvirt C library. If you
6060
are submitting changes to the libvirt C library API, please submit
61-
a libvirt-go change at the same time. Bug fixes and other
62-
improvements to the libvirt-go library are welcome at any time.
61+
a libvirt-go-module change at the same time. Bug fixes and other
62+
improvements to the libvirt-go-module library are welcome at any time.
6363

6464
For more information, see the `CONTRIBUTING <CONTRIBUTING.rst>`_
6565
file.

api_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// +build api
22

33
/*
4-
* This file is part of the libvirt-go project
4+
* This file is part of the libvirt-go-module project
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal

callbacks.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

callbacks_wrapper.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

callbacks_wrapper.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

common_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

connect.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

connect_compat.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

connect_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

connect_wrapper.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

connect_wrapper.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

doc.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal
@@ -70,8 +70,8 @@
7070
// method parameter will be declared as a "flags uint32". Callers should always
7171
// pass the literal integer value 0 for such parameters, without forcing any
7272
// specific type. This will allow compatibility with future updates to the
73-
// libvirt-go binding which may replace the 'uint32' type with a enum type
74-
// at a later date.
73+
// libvirt-go-module binding which may replace the 'uint32' type with a enum
74+
// type at a later date.
7575
//
7676
// For enums, the VIR_ prefix is removed from the name. The enums get a dedicated
7777
// type defined in Go. e.g. the VIR_NODE_SUSPEND_TARGET_MEM enum constant in C,
@@ -116,7 +116,7 @@
116116
// To connect to libvirt
117117
//
118118
// import (
119-
// libvirt "libvirt.org/libvirt-go"
119+
// libvirt "libvirt.org/go/libvirt"
120120
// )
121121
// conn, err := libvirt.NewConnect("qemu:///system")
122122
// if err != nil {

domain.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

domain_checkpoint.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

domain_checkpoint_compat.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

domain_checkpoint_wrapper.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

domain_checkpoint_wrapper.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

domain_compat.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

domain_events.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

domain_events_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

domain_events_wrapper.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

domain_events_wrapper.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

domain_snapshot.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

domain_snapshot_compat.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

domain_snapshot_wrapper.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

domain_snapshot_wrapper.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

domain_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal
@@ -259,7 +259,7 @@ func TestSaveDomain(t *testing.T) {
259259
t.Error(err)
260260
return
261261
}
262-
const tmpFile = "/tmp/libvirt-go-test.tmp"
262+
const tmpFile = "/tmp/libvirt-go-module-test.tmp"
263263
if err := dom.Save(tmpFile); err != nil {
264264
t.Error(err)
265265
return
@@ -288,7 +288,7 @@ func TestSaveDomainFlags(t *testing.T) {
288288
t.Error(err)
289289
return
290290
}
291-
const srcFile = "/tmp/libvirt-go-test.tmp"
291+
const srcFile = "/tmp/libvirt-go-module-test.tmp"
292292
if err := dom.SaveFlags(srcFile, "", 0); err == nil {
293293
t.Fatal("expected xml modification unsupported")
294294
return
@@ -823,7 +823,7 @@ func TestParserCPUString(t *testing.T) {
823823
}
824824

825825
func TestSetMetadata(t *testing.T) {
826-
xmlns := "http://libvirt.org/xmlns/libvirt-go/test"
826+
xmlns := "http://libvirt.org/xmlns/libvirt-go-module/test"
827827
xmlprefix := "test"
828828
meta := "<blob/>"
829829

domain_wrapper.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

domain_wrapper.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

error.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

error_compat.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

events.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

events_wrapper.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

events_wrapper.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of the libvirt-go project
2+
* This file is part of the libvirt-go-module project
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)