Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global: rename all urls from cyphar/incus to lxc/incus #29

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ linters-settings:
sections:
- standard
- default
- prefix(github.com/cyphar/incus)
- prefix(github.com/lxc/incus)
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ For production use, you are likely better off sticking with Canonical's LXD for

Type | Service | Status
--- | --- | ---
CI (client) | GitHub | [![Build Status](https://github.com/cyphar/incus/workflows/Client%20build%20and%20unit%20tests/badge.svg)](https://github.com/cyphar/incus/actions)
CI (server) | GitHub | [![Build Status](https://github.com/cyphar/incus/workflows/Tests/badge.svg)](https://github.com/cyphar/incus/actions)
Go documentation | Godoc | [![GoDoc](https://godoc.org/github.com/cyphar/incus/client?status.svg)](https://godoc.org/github.com/cyphar/incus/client)
Static analysis | GoReport | [![Go Report Card](https://goreportcard.com/badge/github.com/cyphar/incus)](https://goreportcard.com/report/github.com/cyphar/incus)
CI (client) | GitHub | [![Build Status](https://github.com/lxc/incus/workflows/Client%20build%20and%20unit%20tests/badge.svg)](https://github.com/lxc/incus/actions)
CI (server) | GitHub | [![Build Status](https://github.com/lxc/incus/workflows/Tests/badge.svg)](https://github.com/lxc/incus/actions)
Go documentation | Godoc | [![GoDoc](https://godoc.org/github.com/lxc/incus/client?status.svg)](https://godoc.org/github.com/lxc/incus/client)
Static analysis | GoReport | [![Go Report Card](https://goreportcard.com/badge/github.com/lxc/incus)](https://goreportcard.com/report/github.com/lxc/incus)

## Security

Expand All @@ -53,7 +53,7 @@ Consider the following aspects to ensure that your Incus installation is secure:
- Configure your network interfaces to be secure.
<!-- Include end security -->

See [Security](https://github.com/cyphar/incus/blob/main/doc/explanation/security.md) for detailed information.
See [Security](https://github.com/lxc/incus/blob/main/doc/explanation/security.md) for detailed information.

**IMPORTANT:**
<!-- Include start security note -->
Expand All @@ -70,11 +70,11 @@ The following channels are available for you to interact with the Incus communit

### Bug reports

You can file bug reports and feature requests at: [`https://github.com/cyphar/incus/issues/new`](https://github.com/cyphar/incus/issues/new)
You can file bug reports and feature requests at: [`https://github.com/lxc/incus/issues/new`](https://github.com/lxc/incus/issues/new)

## Documentation

The official documentation is available at: [`https://github.com/cyphar/incus/tree/main/doc`](https://github.com/cyphar/incus/tree/main/doc)
The official documentation is available at: [`https://github.com/lxc/incus/tree/main/doc`](https://github.com/lxc/incus/tree/main/doc)

<!-- Include end support -->

Expand Down
6 changes: 3 additions & 3 deletions client/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import (
"github.com/gorilla/websocket"
"github.com/zitadel/oidc/v2/pkg/oidc"

"github.com/cyphar/incus/shared"
"github.com/cyphar/incus/shared/logger"
"github.com/cyphar/incus/shared/simplestreams"
"github.com/lxc/incus/shared"
"github.com/lxc/incus/shared/logger"
"github.com/lxc/incus/shared/simplestreams"
)

// ConnectionArgs represents a set of common connection properties.
Expand Down
2 changes: 1 addition & 1 deletion client/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"sync"

"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared/api"
)

// The EventListener struct is used to interact with a LXD event stream.
Expand Down
8 changes: 4 additions & 4 deletions client/incus.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ import (
"github.com/go-macaroon-bakery/macaroon-bakery/v3/httpbakery"
"github.com/gorilla/websocket"

"github.com/cyphar/incus/shared"
"github.com/cyphar/incus/shared/api"
"github.com/cyphar/incus/shared/logger"
"github.com/cyphar/incus/shared/tcp"
"github.com/lxc/incus/shared"
"github.com/lxc/incus/shared/api"
"github.com/lxc/incus/shared/logger"
"github.com/lxc/incus/shared/tcp"
)

// ProtocolLXD represents a LXD API server.
Expand Down
2 changes: 1 addition & 1 deletion client/incus_certificates.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/url"

"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared/api"
)

// Certificate handling functions
Expand Down
2 changes: 1 addition & 1 deletion client/incus_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package incus
import (
"fmt"

"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared/api"
)

// GetCluster returns information about a cluster
Expand Down
4 changes: 2 additions & 2 deletions client/incus_events.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (

"github.com/gorilla/websocket"

"github.com/cyphar/incus/shared"
"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared"
"github.com/lxc/incus/shared/api"
)

// Event handling functions
Expand Down
10 changes: 5 additions & 5 deletions client/incus_images.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import (
"strings"
"time"

"github.com/cyphar/incus/shared"
"github.com/cyphar/incus/shared/api"
"github.com/cyphar/incus/shared/cancel"
"github.com/cyphar/incus/shared/ioprogress"
"github.com/cyphar/incus/shared/units"
"github.com/lxc/incus/shared"
"github.com/lxc/incus/shared/api"
"github.com/lxc/incus/shared/cancel"
"github.com/lxc/incus/shared/ioprogress"
"github.com/lxc/incus/shared/units"
)

// Image handling functions
Expand Down
14 changes: 7 additions & 7 deletions client/incus_instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ import (
"github.com/gorilla/websocket"
"github.com/pkg/sftp"

"github.com/cyphar/incus/shared"
"github.com/cyphar/incus/shared/api"
"github.com/cyphar/incus/shared/cancel"
"github.com/cyphar/incus/shared/ioprogress"
"github.com/cyphar/incus/shared/tcp"
"github.com/cyphar/incus/shared/units"
"github.com/cyphar/incus/shared/ws"
"github.com/lxc/incus/shared"
"github.com/lxc/incus/shared/api"
"github.com/lxc/incus/shared/cancel"
"github.com/lxc/incus/shared/ioprogress"
"github.com/lxc/incus/shared/tcp"
"github.com/lxc/incus/shared/units"
"github.com/lxc/incus/shared/ws"
)

// Instance handling functions.
Expand Down
2 changes: 1 addition & 1 deletion client/incus_network_acls.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"net/url"

"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared/api"
)

// GetNetworkACLNames returns a list of network ACL names.
Expand Down
2 changes: 1 addition & 1 deletion client/incus_network_allocations.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package incus

import (
"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared/api"
)

// GetNetworkAllocations returns a list of Network allocations tied to one or several projects (e.g, for IPAM information for example).
Expand Down
2 changes: 1 addition & 1 deletion client/incus_network_forwards.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/url"

"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared/api"
)

// GetNetworkForwardAddresses returns a list of network forward listen addresses.
Expand Down
2 changes: 1 addition & 1 deletion client/incus_network_load_balancers.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package incus

import (
"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared/api"
)

// GetNetworkLoadBalancerAddresses returns a list of network load balancer listen addresses.
Expand Down
2 changes: 1 addition & 1 deletion client/incus_network_peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/url"

"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared/api"
)

// GetNetworkPeerNames returns a list of network peer names.
Expand Down
2 changes: 1 addition & 1 deletion client/incus_network_zones.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/url"

"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared/api"
)

// GetNetworkZoneNames returns a list of network zone names.
Expand Down
2 changes: 1 addition & 1 deletion client/incus_networks.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/url"

"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared/api"
)

// GetNetworkNames returns a list of network names.
Expand Down
2 changes: 1 addition & 1 deletion client/incus_operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/gorilla/websocket"

"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared/api"
)

// GetOperationUUIDs returns a list of operation uuids.
Expand Down
2 changes: 1 addition & 1 deletion client/incus_profiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/url"

"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared/api"
)

// Profile handling functions
Expand Down
2 changes: 1 addition & 1 deletion client/incus_projects.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/url"

"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared/api"
)

// Project handling functions
Expand Down
4 changes: 2 additions & 2 deletions client/incus_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

"github.com/gorilla/websocket"

"github.com/cyphar/incus/shared"
"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared"
"github.com/lxc/incus/shared/api"
)

// Server handling functions
Expand Down
2 changes: 1 addition & 1 deletion client/incus_storage_buckets.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package incus

import (
"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared/api"
)

// GetStoragePoolBucketNames returns a list of storage bucket names.
Expand Down
2 changes: 1 addition & 1 deletion client/incus_storage_pools.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/url"

"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared/api"
)

// Storage pool handling functions
Expand Down
10 changes: 5 additions & 5 deletions client/incus_storage_volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (
"net/url"
"strings"

"github.com/cyphar/incus/shared"
"github.com/cyphar/incus/shared/api"
"github.com/cyphar/incus/shared/cancel"
"github.com/cyphar/incus/shared/ioprogress"
"github.com/cyphar/incus/shared/units"
"github.com/lxc/incus/shared"
"github.com/lxc/incus/shared/api"
"github.com/lxc/incus/shared/cancel"
"github.com/lxc/incus/shared/ioprogress"
"github.com/lxc/incus/shared/units"
)

// Storage volumes handling function
Expand Down
2 changes: 1 addition & 1 deletion client/incus_warnings.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/url"

"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared/api"
)

// Warning handling functions
Expand Down
6 changes: 3 additions & 3 deletions client/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"github.com/gorilla/websocket"
"github.com/pkg/sftp"

"github.com/cyphar/incus/shared/api"
"github.com/cyphar/incus/shared/cancel"
"github.com/cyphar/incus/shared/ioprogress"
"github.com/lxc/incus/shared/api"
"github.com/lxc/incus/shared/cancel"
"github.com/lxc/incus/shared/ioprogress"
)

// The Operation type represents a currently running operation.
Expand Down
2 changes: 1 addition & 1 deletion client/operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/gorilla/websocket"

"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared/api"
)

// The Operation type represents an ongoing LXD operation (asynchronous processing).
Expand Down
2 changes: 1 addition & 1 deletion client/simplestreams.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"net/http"

"github.com/cyphar/incus/shared/simplestreams"
"github.com/lxc/incus/shared/simplestreams"
)

// ProtocolSimpleStreams implements a SimpleStreams API client.
Expand Down
4 changes: 2 additions & 2 deletions client/simplestreams_images.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"strings"
"time"

"github.com/cyphar/incus/shared"
"github.com/cyphar/incus/shared/api"
"github.com/lxc/incus/shared"
"github.com/lxc/incus/shared/api"
)

// Image handling functions
Expand Down
2 changes: 1 addition & 1 deletion client/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strings"
"time"

"github.com/cyphar/incus/shared"
"github.com/lxc/incus/shared"
)

// tlsHTTPClient creates an HTTP client with a specified Transport Layer Security (TLS) configuration.
Expand Down
2 changes: 1 addition & 1 deletion cmd/fuidshift/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/spf13/cobra"

"github.com/cyphar/incus/shared/version"
"github.com/lxc/incus/shared/version"
)

type cmdGlobal struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/fuidshift/main_shift.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/spf13/cobra"

"github.com/cyphar/incus/shared/idmap"
"github.com/lxc/incus/shared/idmap"
)

type cmdShift struct {
Expand Down
10 changes: 5 additions & 5 deletions cmd/inc/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (

"github.com/spf13/cobra"

config "github.com/cyphar/incus/internal/cliconfig"
"github.com/cyphar/incus/shared"
"github.com/cyphar/incus/shared/api"
cli "github.com/cyphar/incus/shared/cmd"
"github.com/cyphar/incus/shared/i18n"
config "github.com/lxc/incus/internal/cliconfig"
"github.com/lxc/incus/shared"
"github.com/lxc/incus/shared/api"
cli "github.com/lxc/incus/shared/cmd"
"github.com/lxc/incus/shared/i18n"
)

// Start.
Expand Down
4 changes: 2 additions & 2 deletions cmd/inc/alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (

"github.com/spf13/cobra"

cli "github.com/cyphar/incus/shared/cmd"
"github.com/cyphar/incus/shared/i18n"
cli "github.com/lxc/incus/shared/cmd"
"github.com/lxc/incus/shared/i18n"
)

type cmdAlias struct {
Expand Down
Loading